Browse Source

tf.math.sqrt

tags/v0.110.0-LSTM-Model
Haiping Chen 2 years ago
parent
commit
bfa9f77f42
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/TensorFlowNET.Core/APIs/tf.math.cs
  2. +1
    -1
      src/TensorFlowNET.Core/Operations/math_ops.cs

+ 1
- 1
src/TensorFlowNET.Core/APIs/tf.math.cs View File

@@ -354,7 +354,7 @@ namespace Tensorflow
=> a / b;

public Tensor sqrt(Tensor a, string name = null)
=> gen_math_ops.sqrt(a, name);
=> math_ops.sqrt(a, name);

public Tensor sign(Tensor a, string name = null)
=> gen_math_ops.sign(a, name);


+ 1
- 1
src/TensorFlowNET.Core/Operations/math_ops.cs View File

@@ -269,7 +269,7 @@ namespace Tensorflow
=> tf.Context.ExecuteOp("Erf", name, new ExecuteOpArgs(x));

public static Tensor sqrt(Tensor x, string name = null)
=> gen_math_ops.sqrt(x, name: name);
=> tf.Context.ExecuteOp("Sqrt", name, new ExecuteOpArgs(x));

public static Tensor multiply(Tensor x, Tensor y, string name = null)
=> tf.Context.ExecuteOp("Mul", name, new ExecuteOpArgs(x, y));


Loading…
Cancel
Save