Defined in generated file: python/ops/gen_control_flow_ops.py 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.