GetElementAtIndex

public final class GetElementAtIndex

Gets the element at the specified index in a dataset.

Public Methods

List<Output<?>>
static GetElementAtIndex
create(Scope scope, Operand<?> dataset, Operand<Long> index, List<Class<?>> outputTypes, List<Shape> outputShapes)
Factory method to create a class wrapping a new GetElementAtIndex operation.
Iterator<Operand<Object>>

Inherited Methods

Public Methods

public List<Output<?>> components ()

public static GetElementAtIndex create (Scope scope, Operand<?> dataset, Operand<Long> index, List<Class<?>> outputTypes, List<Shape> outputShapes)

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

Parameters
scope current scope
Returns
  • a new instance of GetElementAtIndex

public Iterator<Operand<Object>> iterator ()