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" 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);
 

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.

Zobacz też