ShapeN

public final class ShapeN

Returns shape of tensors.

This operation returns N 1-D integer tensors representing shape of `input[i]s`.

Constants

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

Public Methods

static <T extends TType> ShapeN<TInt32>
create(Scope scope, Iterable<Operand<T>> input)
Factory method to create a class wrapping a new ShapeN operation using default output types.
static <U extends TNumber, T extends TType> ShapeN<U>
create(Scope scope, Iterable<Operand<T>> input, Class<U> outType)
Factory method to create a class wrapping a new ShapeN operation.
Iterator<Operand<U>>
List<Output<U>>
output()

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "ShapeN"

Public Methods

public static ShapeN<TInt32> create (Scope scope, Iterable<Operand<T>> input)

Factory method to create a class wrapping a new ShapeN operation using default output types.

Parameters
scope current scope
Returns
  • a new instance of ShapeN

public static ShapeN<U> create (Scope scope, Iterable<Operand<T>> input, Class<U> outType)

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

Parameters
scope current scope
Returns
  • a new instance of ShapeN

public Iterator<Operand<U>> iterator ()

public List<Output<U>> output ()