U - data type for output() output@Operator public final class ShapeN<U extends Number> extends PrimitiveOp implements Iterable<Operand<U>>
This operation returns N 1-D integer tensors representing shape of `input[i]s`.
operation| Modifier and Type | Method and Description |
|---|---|
static <T> ShapeN<Integer> |
create(Scope scope,
Operand<T> input)
Factory method to create a class to wrap a new ShapeN operation to the graph, using default output types.
|
static <U extends Number,T> |
create(Scope scope,
Operand<T> input,
Class<U> outType)
Factory method to create a class to wrap a new ShapeN operation to the graph.
|
Iterator<Operand<U>> |
iterator() |
List<Output<U>> |
output() |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static <U extends Number,T> ShapeN<U> create(Scope scope, Operand<T> input, Class<U> outType)
scope - current graph scopeinput - outType - public static <T> ShapeN<Integer> create(Scope scope, Operand<T> input)
scope - current graph scopeinput - Copyright © 2015–2019. All rights reserved.