ResourceScatterNdMax

public final class ResourceScatterNdMax

Nested Classes

class ResourceScatterNdMax.Options Optional attributes for ResourceScatterNdMax  

Public Methods

static <T extends Number, U> ResourceScatterNdMax
create(Scope scope, Operand<?> ref, Operand<T> indices, Operand<U> updates, Options... options)
Factory method to create a class wrapping a new ResourceScatterNdMax operation.
static ResourceScatterNdMax.Options
useLocking(Boolean useLocking)

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 ResourceScatterNdMax create (Scope scope, Operand<?> ref, Operand<T> indices, Operand<U> updates, Options... options)

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

Parameters
scope current scope
ref A resource handle. Must be from a VarHandleOp.
indices A Tensor. Must be one of the following types: int32, int64. A tensor of indices into ref.
updates A Tensor. Must have the same type as ref. A tensor of values whose element wise max is taken with ref
options carries optional attributes values
Returns
  • a new instance of ResourceScatterNdMax

public static ResourceScatterNdMax.Options useLocking (Boolean useLocking)

Parameters
useLocking An optional bool. Defaults to True. If True, the assignment will be protected by a lock; otherwise the behavior is undefined, but may exhibit less contention.