@Operator public final class OrderedMapStage extends PrimitiveOp
associative container. Elements are ordered by key.
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderedMapStage.Options
Optional attributes for
OrderedMapStage |
operation| Modifier and Type | Method and Description |
|---|---|
static OrderedMapStage.Options |
capacity(Long capacity) |
static OrderedMapStage.Options |
container(String container) |
static OrderedMapStage |
create(Scope scope,
Operand<Long> key,
Operand<Integer> indices,
Iterable<Operand<?>> values,
List<Class<?>> dtypes,
OrderedMapStage.Options... options)
Factory method to create a class to wrap a new OrderedMapStage operation to the graph.
|
static OrderedMapStage.Options |
memoryLimit(Long memoryLimit) |
static OrderedMapStage.Options |
sharedName(String sharedName) |
equals, hashCode, toStringpublic static OrderedMapStage create(Scope scope, Operand<Long> key, Operand<Integer> indices, Iterable<Operand<?>> values, List<Class<?>> dtypes, OrderedMapStage.Options... options)
scope - current graph scopekey - int64indices - values - a list of tensors
dtypes A list of data types that inserted values should adhere to.dtypes - options - carries optional attributes valuespublic static OrderedMapStage.Options capacity(Long capacity)
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 memoryLimit(Long memoryLimit)
memoryLimit - public static OrderedMapStage.Options container(String container)
container - If non-empty, this queue is placed in the given container. Otherwise,
a default container is used.public static OrderedMapStage.Options sharedName(String sharedName)
sharedName - It is necessary to match this name to the matching Unstage Op.Copyright © 2015–2019. All rights reserved.