MapStage

public final class MapStage

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

Nested Classes

class MapStage.Options Optional attributes for MapStage

Constants

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

Public Methods

static MapStage.Options
capacity (Long capacity)
static MapStage.Options
container (String container)
static MapStage
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 MapStage operation.
static MapStage.Options
memoryLimit (Long memoryLimit)
static MapStage.Options
sharedName (String sharedName)

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "MapStage"

Public Methods

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

public static MapStage.Options memoryLimit (Long memoryLimit)

public static MapStage.Options sharedName (String sharedName)

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