operation
Modifier and Type | Method and Description |
---|---|
List<Output<?>> |
components()
The components of the single element of `input`.
|
static DatasetToSingleElement |
create(Scope scope,
Operand<?> dataset,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Factory method to create a class wrapping a new DatasetToSingleElement operation.
|
Iterator<Operand<Object>> |
iterator() |
equals, hashCode, op, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static DatasetToSingleElement create(Scope scope, Operand<?> dataset, List<Class<?>> outputTypes, List<Shape> outputShapes)
scope
- current scopedataset
- A handle to a dataset that contains a single element.outputTypes
- outputShapes
- Copyright © 2022. All rights reserved.