Browse Source

added tf.sub<tx,ty>

tags/v0.20
Eli Belash 5 years ago
parent
commit
0eff6a2a01
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/TensorFlowNET.Core/APIs/tf.math.cs

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

@@ -252,9 +252,10 @@ namespace Tensorflow
/// </remarks>
public Tensor clip_by_value (Tensor t, Tensor clip_value_min, Tensor clip_value_max, string name = "ClipByValue")
=> clip_ops.clip_by_value(t, clip_value_min, clip_value_max, name);
public Tensor sub<Tx, Ty>(Tx a, Ty b, string name = null)
=> gen_math_ops.sub(a, b, name: name);

public Tensor sub(Tensor a, Tensor b)
=> gen_math_ops.sub(a, b);

public Tensor divide(Tensor a, Tensor b)
=> gen_math_ops.real_div(a, b);


Loading…
Cancel
Save