OrderedMapStage

public final class OrderedMapStage

Stage (key, values) in the underlying container which behaves like a ordered

associative container. Elements are ordered by key.

Nested Classes

class OrderedMapStage.Options Optional attributes for OrderedMapStage  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static OrderedMapStage.Options
capacity(Long capacity)
static OrderedMapStage.Options
container(String container)
static OrderedMapStage
create(Scope scope, Operand<TInt64> key, Operand<TInt32> indices, Iterable<Operand<?>> values, List<Class<? extends TType>> dtypes, Options... options)
Factory method to create a class wrapping a new OrderedMapStage operation.
static OrderedMapStage.Options
memoryLimit(Long memoryLimit)
static OrderedMapStage.Options
sharedName(String sharedName)

Inherited Methods

org.tensorflow.op.RawOp
final boolean
equals(Object obj)
final int
Operation
op()
Return this unit of computation as a single 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()
org.tensorflow.op.Op
abstract ExecutionEnvironment
env()
Return the execution environment this op was created in.
abstract Operation
op()
Return this unit of computation as a single Operation.

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "OrderedMapStage"

Public Methods

public static OrderedMapStage.Options capacity (Long capacity)

Parameters
capacity Maximum number of elements in the Staging Area. If > 0, inserts on the container will block when the capacity is reached.

public static OrderedMapStage.Options container (String container)

Parameters
container If non-empty, this queue is placed in the given container. Otherwise, a default container is used.

public static OrderedMapStage create (Scope scope, Operand<TInt64> key, Operand<TInt32> indices, Iterable<Operand<?>> values, List<Class<? extends TType>> dtypes, Options... options)

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

Parameters
scope current scope
key int64
values a list of tensors dtypes A list of data types that inserted values should adhere to.
options carries optional attributes values
Returns
  • a new instance of OrderedMapStage

public static OrderedMapStage.Options memoryLimit (Long memoryLimit)

public static OrderedMapStage.Options sharedName (String sharedName)

Parameters
sharedName It is necessary to match this name to the matching Unstage Op.