Have a question? Connect with the community at the TensorFlow Forum Visit Forum

MapSize

public final class MapSize

Op returns the number of elements in the underlying container.

Nested Classes

class MapSize.Options Optional attributes for MapSize

Constants

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

Public Methods

Output < TInt32 >
asOutput ()
Returns the symbolic handle of the tensor.
static MapSize.Options
capacity (Long capacity)
static MapSize.Options
container (String container)
static MapSize
create ( Scope scope, List<Class<? extends TType >> dtypes, Options... options)
Factory method to create a class wrapping a new MapSize operation.
static MapSize.Options
memoryLimit (Long memoryLimit)
Output < TInt32 >
static MapSize.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: "MapSize"

Public Methods

public Output < TInt32 > asOutput ()

Returns the symbolic handle of the tensor.

Inputs 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.

public static MapSize.Options capacity (Long capacity)

public static MapSize.Options container (String container)

public static MapSize create ( Scope scope, List<Class<? extends TType >> dtypes, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of MapSize

public static MapSize.Options memoryLimit (Long memoryLimit)

public Output < TInt32 > output ()

public static MapSize.Options sharedName (String sharedName)