From 84df82786bb5c2148b9a59609ac7b5b6a511a409 Mon Sep 17 00:00:00 2001 From: haiping008 Date: Fri, 29 Mar 2019 15:40:05 -0500 Subject: [PATCH] Typo Add -> Abs #200 --- src/TensorFlowNET.Core/Operations/math_ops.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/TensorFlowNET.Core/Operations/math_ops.cs b/src/TensorFlowNET.Core/Operations/math_ops.cs index 6c09d19d..198c461f 100644 --- a/src/TensorFlowNET.Core/Operations/math_ops.cs +++ b/src/TensorFlowNET.Core/Operations/math_ops.cs @@ -26,17 +26,6 @@ namespace Tensorflow public static Tensor add(Tensor x, Tensor y, string name = null) => 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); - }); - } - /// /// Adds all input tensors element-wise. ///