Browse Source

fix to log

tags/v0.60-tf.numpy
Lee Reid Haiping 4 years ago
parent
commit
eb8b92ed57
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/TensorFlowNET.Core/Operations/gen_array_ops.cs

+ 1
- 4
src/TensorFlowNET.Core/Operations/gen_array_ops.cs View File

@@ -193,11 +193,8 @@ namespace Tensorflow
}

public static Tensor log(Tensor x, string name = null)
{
var _op = tf.OpDefLib._apply_op_helper("Log", name: name, args: new { x });
=> tf.Context.ExecuteOp("Log", name, new ExecuteOpArgs(x));

return _op.outputs[0];
}

public static Tensor rank(Tensor input, string name = null)
=> tf.Context.ExecuteOp("Rank", name, new ExecuteOpArgs(input));


Loading…
Cancel
Save