رابط عمومی Operand
زیر کلاس های غیر مستقیم شناخته شده همه ، AllToAll <T>، AnonymousHashTable ، AnonymousIteratorV3 ، AnonymousMultiDeviceIteratorV3 ، AnonymousMutableDenseHashTable ، AnonymousMutableHashTable ، AnonymousMutableHashTableOfTensors ، Any ، ApplyAdagradV2 <T>، AssertNameTextsretdin ، AssertignAdagradV2 <T>، AssertNameTssetsd ، AssertSet , AssertCardsdin
|
Interface implemented by operands of a TensorFlow operation.
Example usage:
// The "decodeJpeg" operation can be used as an operand to the "cast" operation
Operand<UInt8> decodeJpeg = ops.image().decodeJpeg(...);
ops.math().cast(decodeJpeg, DataType.FLOAT);
// The output "y" of the "unique" operation can be used as an operand to the "cast" operation
Output<Integer> y = ops.array().unique(...).y();
ops.math().cast(y, Float.class);
// The "split" operation can be used as operand list to the "concat" operation
Iterable<? extends Operand<Float>> split = ops.array().split(...);
ops.array().concat(0, split);
Public Methods
public abstract Output <T> asOutput ()
Returns the symbolic handle of a tensor.
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.
See Also
public interface Operand
Known Indirect Subclasses All , AllToAll <T>, AnonymousHashTable , AnonymousIteratorV3 , AnonymousMultiDeviceIteratorV3 , AnonymousMutableDenseHashTable , AnonymousMutableHashTable , AnonymousMutableHashTableOfTensors , Any , ApplyAdagradV2 <T>, AssertCardinalityDataset , AssertNextDataset , AssertPrevDataset , Assign <T>, AssignAdd <T>, and 475 others.
|