Operand

ממשק ציבורי Operand
תת-מחלקות עקיפות ידועות

ממשק מיושם על ידי אופרנדים של פעולת זרימת טנסור.

שימוש בדוגמה:

// 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 ()
מחזיר את הידית הסמלית של טנזור.

שיטות ציבוריות

תפוקה מופשטת ציבורית <T> ASOUTPUT ()

מחזיר את הידית הסמלית של טנזור.

כניסות לפעולות TensorFlow הן יציאות של פעולת זרימת Tensorflow אחרת. שיטה זו משמשת להשגת ידית סמלית המייצגת את חישוב הקלט.