@Operator public final class MapSize extends PrimitiveOp implements Operand<java.lang.Integer>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MapSize.Options |
Optional attributes for
MapSize |
operation| Modifier and Type | Method | Description |
|---|---|---|
Output<java.lang.Integer> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static MapSize.Options |
capacity(java.lang.Long capacity) |
|
static MapSize.Options |
container(java.lang.String container) |
|
static MapSize |
create(Scope scope,
java.util.List<java.lang.Class<?>> dtypes,
MapSize.Options... options) |
Factory method to create a class to wrap a new MapSize operation to the graph.
|
static MapSize.Options |
memoryLimit(java.lang.Long memoryLimit) |
|
static MapSize.Options |
sharedName(java.lang.String sharedName) |
|
Output<java.lang.Integer> |
size() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static MapSize create(Scope scope, java.util.List<java.lang.Class<?>> dtypes, MapSize.Options... options)
scope - current graph scopedtypes - options - carries optional attributes valuespublic static MapSize.Options capacity(java.lang.Long capacity)
capacity - public static MapSize.Options memoryLimit(java.lang.Long memoryLimit)
memoryLimit - public static MapSize.Options container(java.lang.String container)
container - public static MapSize.Options sharedName(java.lang.String sharedName)
sharedName - public Output<java.lang.Integer> size()
public Output<java.lang.Integer> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<java.lang.Integer>OperationBuilder.addInput(Output)