VarHandleOp.Options

public static class VarHandleOp.Options

Optional attributes for VarHandleOp

Public Methods

VarHandleOp.Options
allowedDevices(List<String> allowedDevices)
VarHandleOp.Options
container(String container)
VarHandleOp.Options
debugName(String debugName)
VarHandleOp.Options
sharedName(String sharedName)

Inherited Methods

Public Methods

public VarHandleOp.Options allowedDevices (List<String> allowedDevices)

Parameters
allowedDevices DEPRECATED. The allowed devices containing the resource variable. Set when the output ResourceHandle represents a per-replica/partitioned resource variable.

public VarHandleOp.Options container (String container)

Parameters
container the container this variable is placed in.

public VarHandleOp.Options debugName (String debugName)

Parameters
debugName the user-given name, which still applies in anonymous mode.

public VarHandleOp.Options sharedName (String sharedName)

Parameters
sharedName the name by which this variable is referred to.