Operand

interfejs publiczny Operand
Znane podklasy pośrednie

Interfejs zaimplementowany przez operandy operacji TensorFlow.

Przykładowe użycie:

// The "decodeJpeg" operation can be used as an operand to the "cast"&; operat&ion
 Operandlt;UInt8gt; decodeJpeg = ops.image().decodeJpeg(...);
 ops.math().cast(decodeJpeg, DataType.FLOAT);

 // The output "y" of the "unique" operation can be used as an& operand t&o the "cast" operation
 Outputlt;Integergt; y = ops.array().unique(...).y();
 ops.math().cast(y, Float.class);

 // The "split" operation can& be used as operand &list to &the& "concat" operation
 Iterablelt;? extends Operandlt;Floatgt;gt; split = ops.array().split(...);
 ops.array().concat(0, split);
 

Metody publiczne

streszczenie Wyjście <T>
jako wyjście ()
Zwraca symboliczny uchwyt tensora.

Metody publiczne

publiczne streszczenie Wyjście <T> asOutput ()

Zwraca symboliczny uchwyt tensora.

Dane wejściowe operacji TensorFlow są wynikami innej operacji TensorFlow. Ta metoda służy do uzyskania symbolicznego uchwytu reprezentującego obliczenia danych wejściowych.