Operand

عامل الواجهة العامة
الفئات الفرعية غير المباشرة المعروفة

الواجهة التي يتم تنفيذها بواسطة معاملات عملية 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>
كإخراج ()
إرجاع المقبض الرمزي للموتر.

الأساليب العامة

إخراج الملخص العام <T> asOutput ()

إرجاع المقبض الرمزي للموتر.

المدخلات إلى عمليات TensorFlow هي مخرجات عملية TensorFlow أخرى. يتم استخدام هذه الطريقة للحصول على مقبض رمزي يمثل حساب الإدخال.

أنظر أيضا