DisableCopyOnRead

public final class DisableCopyOnRead

Turns off the copy-on-read mode.

Turns off the copy-on-read mode of a resource variable. If the variable is not in copy-on-read mode, this op has no effect.

Public Methods

static DisableCopyOnRead
create(Scope scope, Operand<?> resource)
Factory method to create a class wrapping a new DisableCopyOnRead operation.

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying Operation
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static DisableCopyOnRead create (Scope scope, Operand<?> resource)

Factory method to create a class wrapping a new DisableCopyOnRead operation.

Parameters
scope current scope
resource The resource handle of the resource variable.
Returns
  • a new instance of DisableCopyOnRead