From c2672e63d9044b6f30d444f0976d69c9fc042f63 Mon Sep 17 00:00:00 2001 From: Samuel Caldas Date: Thu, 21 May 2020 23:07:01 -0300 Subject: [PATCH] Exposing squared_difference --- src/TensorFlowNET.Core/APIs/tf.math.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TensorFlowNET.Core/APIs/tf.math.cs b/src/TensorFlowNET.Core/APIs/tf.math.cs index 66e1ba00..4ad70420 100644 --- a/src/TensorFlowNET.Core/APIs/tf.math.cs +++ b/src/TensorFlowNET.Core/APIs/tf.math.cs @@ -528,5 +528,7 @@ namespace Tensorflow public Tensor square(Tensor x, string name = null) => gen_math_ops.square(x, name: name); + public Tensor squared_difference(Tensor x, Tensor y, string name = null) + => gen_math_ops.squared_difference(x: x, y: y, name: name); } }