public interface Input<T>
Example usage:
// The "decodeJpeg" operation can be used as input to the "cast" operation
Input decodeJpeg = ops.image().decodeJpeg(...);
ops.math().cast(decodeJpeg, DataType.FLOAT);
// The output "y" of the "unique" operation can be used as input to the "cast" operation
Output y = ops.array().unique(...).y();
ops.math().cast(y, DataType.FLOAT);
// The "split" operation can be used as input list to the "concat" operation
Iterable<? extends Input> split = ops.array().split(...);
ops.array().concat(0, split);
Modifier and Type | Method and Description |
---|---|
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
Output<T> asOutput()
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.
OperationBuilder.addInput(Output)
Copyright © 2015–2018. All rights reserved.