tf.test.with_eager_op_as_function

Returns the same class. This will be removed once all usages are removed.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.test.with_eager_op_as_function

cls class to decorate.
only_as_function unused argument.

cls