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

TensorListElementShape

public final class TensorListElementShape

The shape of the elements of the given list, as a tensor.

input_handle: the list element_shape: the shape of elements of the list

Public Methods

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

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 TensorListElementShape<T> create (Scope scope, Operand<?> inputHandle, Class<T> shapeType)

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

Parameters
scope current scope
Returns
  • a new instance of TensorListElementShape

public Output<T> elementShape ()