Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

TensorMapSize

Stay organized with collections Save and categorize content based on your preferences.
public final class TensorMapSize

Returns the number of tensors in the input tensor map.

input_handle: the input map size: the number of tensors in the map

Public Methods

Output<Integer>
asOutput()
Returns the symbolic handle of a tensor.
static TensorMapSize
create(Scope scope, Operand<?> inputHandle)
Factory method to create a class wrapping a new TensorMapSize operation.
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 TensorMapSize create (Scope scope, Operand<?> inputHandle)

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

Parameters
scope current scope
Returns
  • a new instance of TensorMapSize

public Output<Integer> size ()