ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TensorMapStackKeys

public final class TensorMapStackKeys

Returns a Tensor stack of all keys in a tensor map.

input_handle: the input map keys: the returned Tensor of all keys in the map

Public Methods

Output<T>
asOutput()
Returns the symbolic handle of a tensor.
static <T> TensorMapStackKeys<T>
create(Scope scope, Operand<?> inputHandle, Class<T> keyDtype)
Factory method to create a class wrapping a new TensorMapStackKeys operation.
Output<T>
keys()

Inherited Methods

Public Methods

public Output<T> 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 TensorMapStackKeys<T> create (Scope scope, Operand<?> inputHandle, Class<T> keyDtype)

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

Parameters
scope current scope
Returns
  • a new instance of TensorMapStackKeys

public Output<T> keys ()