Constructor and Description |
---|
Output(Operation op,
int idx)
Handle to the idx-th output of the Operation
op . |
Modifier and Type | Method and Description |
---|---|
Output |
asOutput()
Returns the symbolic handle of a tensor.
|
DataType |
dataType()
Returns the DataType of the tensor referred to by this Output.
|
boolean |
equals(Object o) |
int |
hashCode() |
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.
|
String |
toString() |
public Output(Operation op, int idx)
op
.public Operation op()
public int index()
public Shape shape()
public DataType dataType()
public Output asOutput()
Operand
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput
in interface Operand
OperationBuilder.addInput(Output)
Copyright © 2015–2017. All rights reserved.