ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

ResourceScatterNdMin

public final class ResourceScatterNdMin

Nested Classes

class ResourceScatterNdMin.Options Optional attributes for ResourceScatterNdMin  

Public Methods

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

Inherited Methods

Public Methods

public static ResourceScatterNdMin create (Scope scope, Operand<?> ref, Operand<T> indices, Operand<U> updates, Options... options)

Factory method to create a class wrapping a new ResourceScatterNdMin 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 min is taken with ref.
options carries optional attributes values
Returns
  • a new instance of ResourceScatterNdMin

public static ResourceScatterNdMin.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.