Browse Source

Typo Add -> Abs #200

tags/v0.9
haiping008 6 years ago
parent
commit
84df82786b
1 changed files with 0 additions and 11 deletions
  1. +0
    -11
      src/TensorFlowNET.Core/Operations/math_ops.cs

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

@@ -26,17 +26,6 @@ namespace Tensorflow
public static Tensor add(Tensor x, Tensor y, string name = null) public static Tensor add(Tensor x, Tensor y, string name = null)
=> gen_math_ops.add(x, y, name); => gen_math_ops.add(x, y, name);


public static Tensor add(Tensor x, string name = null)
{
return with(ops.name_scope(name, "Add", new { x }), scope =>
{
name = scope;
x = ops.convert_to_tensor(x, name: "x");

return gen_math_ops._abs(x, name: name);
});
}

/// <summary> /// <summary>
/// Adds all input tensors element-wise. /// Adds all input tensors element-wise.
/// </summary> /// </summary>


Loading…
Cancel
Save