Skip to content

Commit f8da3b9

Browse files
hcurOceania2018
authored andcommitted
fix dumb upload error
1 parent 7208b03 commit f8da3b9

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/TensorFlowNET.Core/Operations/math_ops.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -379,19 +379,6 @@ public static Tensor reduce_variance(Tensor input_tensor, int[] axis = null, boo
379379
return reduce_mean(squared_deviations, axis: axis, keepdims: keepdims);
380380
});
381381
}
382-
383-
public static Tensor reduce_std(Tensor input_tensor, int[] axis = null, bool keepdims = false, string name = null)
384-
{
385-
if (name == null)
386-
name = "reduce_std";
387-
// else {name = name;}
388-
389-
return tf_with(ops.name_scope(name, "reduce_std", new [] {input_tensor}), scope =>
390-
{
391-
var variance = reduce_variance(input_tensor, axis: axis, keepdims: keepdims);
392-
return gen_math_ops.sqrt(variance);
393-
});
394-
}
395382

396383
public static Tensor sigmoid<T>(T x, string name = null)
397384
=> tf_with(ops.name_scope(name, "Sigmoid", x), scope =>

0 commit comments

Comments
 (0)