警告:この API は非推奨であり、置き換えが安定した後の TensorFlow の将来のバージョンでは削除される予定です。

Operand

パブリック インターフェイスオペランド
既知の間接サブクラス

Interface implemented by operands of a TensorFlow operation.

Example usage:

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

公開メソッド

abstract Output <T>
asOutput ()
テンソルのシンボリック ハンドルを返します。

公開メソッド

public abstract Output <T> asOutput ()

テンソルのシンボリック ハンドルを返します。

TensorFlow 操作への入力は、別の TensorFlow 操作の出力です。このメソッドは、入力の計算を表すシンボリック ハンドルを取得するために使用されます。

,
public interface Operand
Known Indirect Subclasses

Interface implemented by operands of a TensorFlow operation.

Example usage:

// The "decodeJpeg" operation can be used as an operand to the "cast" operation
 Operand&lt;UInt8&gt; 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&lt;Integer&gt; 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&lt;? extends Operand&lt;Float&gt;&gt; split = ops.array().split(...);
 ops.array().concat(0, split);
 

公開メソッド

abstract Output <T>
asOutput ()
テンソルのシンボリック ハンドルを返します。

公開メソッド

public abstract Output <T> asOutput ()

テンソルのシンボリック ハンドルを返します。

TensorFlow 操作への入力は、別の TensorFlow 操作の出力です。このメソッドは、入力の計算を表すシンボリック ハンドルを取得するために使用されます。