tf.no_op

TensorFlow 1 version

Does nothing. Only useful as a placeholder for control edges.

Aliases: tf.compat.v1.no_op, tf.compat.v2.no_op

tf.no_op(name=None)

Args:

  • name: A name for the operation (optional).

Returns:

The created Operation.