Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

MapSize

public final class MapSize

Op returns the number of elements in the underlying container.

Nested Classes

class MapSize.Options Optional attributes for MapSize  

Public Methods

Output<Integer>
asOutput()
Returns the symbolic handle of a tensor.
static MapSize.Options
capacity(Long capacity)
static MapSize.Options
container(String container)
static MapSize
create(Scope scope, List<Class<?>> dtypes, Options... options)
Factory method to create a class wrapping a new MapSize operation.
static MapSize.Options
memoryLimit(Long memoryLimit)
static MapSize.Options
sharedName(String sharedName)
Output<Integer>
size()

Inherited Methods

Public Methods

public Output<Integer> asOutput ()

Returns the symbolic handle of a 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<?>> 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 static MapSize.Options sharedName (String sharedName)

public Output<Integer> size ()