Browse Source

tf.no_op #359

tags/v0.12
Oceania2018 6 years ago
parent
commit
faa93bf179
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/TensorFlowNET.Core/APIs/tf.ops.cs

+ 8
- 0
src/TensorFlowNET.Core/APIs/tf.ops.cs View File

@@ -33,5 +33,13 @@ namespace Tensorflow
/// <returns>The scope name.</returns>
public ops.NameScope name_scope(string name, string default_name = "", object values = null)
=> new ops.NameScope(name, default_name, values);

/// <summary>
/// Does nothing. Only useful as a placeholder for control edges.
/// </summary>
/// <param name="name"></param>
/// <returns></returns>
public Tensor no_op(string name = null)
=> gen_control_flow_ops.no_op(name: name);
}
}

Loading…
Cancel
Save