رابط عمومی Operand
زیر کلاس های غیر مستقیم شناخته شده همه ، AllToAll <T>، AnonymousHashTable ، AnonymousIteratorV3 ، AnonymousMultiDeviceIteratorV3 ، AnonymousMutableDenseHashTable ، AnonymousMutableHashTable ، AnonymousMutableHashTableOfTensors ، Any ، ApplyAdagradV2 <T>، AssertCardata AssertCardatin AssertCardin <T>، AssignAdd <T> و 484 مورد دیگر را علامت بزنید .
|
رابط پیاده سازی شده توسط عملوندهای یک عملیات TensorFlow.
استفاده مثال:
// 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);
روش های عمومی
خروجی انتزاعی عمومی <T> asOutput ()
دسته نمادین یک تانسور را برمی گرداند.
ورودی به عملیات TensorFlow خروجی های دیگر Tensorflow است. این روش برای به دست آوردن یک دسته نمادین که نشان دهنده محاسبه ورودی است استفاده می شود.