Browse Source

fix dumb upload error

pull/603/head
carb0n GitHub 5 years ago
parent
commit
ed4f2cc3e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions
  1. +0
    -13
      src/TensorFlowNET.Core/Operations/math_ops.cs

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

@@ -379,19 +379,6 @@ namespace Tensorflow
return reduce_mean(squared_deviations, axis: axis, keepdims: keepdims);
});
}
public static Tensor reduce_std(Tensor input_tensor, int[] axis = null, bool keepdims = false, string name = null)
{
if (name == null)
name = "reduce_std";
// else {name = name;}

return tf_with(ops.name_scope(name, "reduce_std", new [] {input_tensor}), scope =>
{
var variance = reduce_variance(input_tensor, axis: axis, keepdims: keepdims);
return gen_math_ops.sqrt(variance);
});
}

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


Loading…
Cancel
Save