Operand

genel arayüz Operand
Bilinen Dolaylı Alt Sınıflar

Bir TensorFlow işleminin işlenenleri tarafından uygulanan arayüz.

Örnek kullanım:

Ops tf = Ops.create();

 // The "decodeJpeg" operation can be used as an operand to the "cast" operation
 Operand<TUint8> decodeJpeg = tf.image.decodeJpeg(...);
 tf.dtypes.cast(decodeJpeg, TFloat32.class);

 // The output "y" of the "unique" operation can be used as an operand to the "cast" operation
 Output<TInt32> y = tf.unique(...).y();
 tf.dtypes.cast(y, TFloat32.class);

 // The "split" operation can be used as operand list to the "concat" operation
 Iterable<? extends Operand<TFloat32>> split = tf.split(...);
 tf.concat(split, tf.constant(0));
 

Genel Yöntemler

özet Çıkış <T>
Çıkış olarak ()
Tensörün sembolik tutamacını döndürür.
soyut T
Tensör () olarak
Bu işlenendeki tensörü döndürür.
soyut Şekil
şekil ()
Bu işlenenin Output tarafından başvurulan tensörün (muhtemelen kısmen bilinen) şeklini döndürür.
soyut Sınıf<T>
tip ()
Bu işlenenin tensör türünü döndürür

Kalıtsal Yöntemler

Genel Yöntemler

genel özet Çıkış <T> asOutput ()

Tensörün sembolik tutamacını döndürür.

TensorFlow işlemlerinin girdileri, başka bir TensorFlow işleminin çıktılarıdır. Bu yöntem, girişin hesaplanmasını temsil eden sembolik bir tanıtıcı elde etmek için kullanılır.

Ayrıca bakınız

genel özet T asTensor ()

Bu işlenendeki tensörü döndürür. Yalnızca istekli bir yürütmede çalışırken çalışır

İadeler
  • tensör
Atar
Yasadışı Durum İstisnası eğer bu bir grafiğin işleneni ise

genel özet Şekil şekli ()

Bu işlenenin Output tarafından başvurulan tensörün (muhtemelen kısmen bilinen) şeklini döndürür.

genel özet Class<T> type ()

Bu işlenenin tensör türünü döndürür