public final class Output extends Object
Constructor and Description |
---|
Output(Operation op,
int idx)
Handle to the idx-th output of the Operation
op . |
Modifier and Type | Method and Description |
---|---|
DataType |
dataType()
Returns the DataType of the tensor referred to by this Output.
|
int |
index()
Returns the index into the outputs of the Operation.
|
Operation |
op()
Returns the Operation that will produce the tensor referred to by this Output.
|
Shape |
shape()
Returns the (possibly partially known) shape of the tensor referred to by this Output.
|
public Output(Operation op, int idx)
op
.public Operation op()
public int index()
public Shape shape()
public DataType dataType()
Copyright © 2015–2017. All rights reserved.