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

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.