TNumber

공개 인터페이스 T번호
알려진 간접 하위 클래스

모든 숫자 텐서에 대한 공통 인터페이스입니다.

일부 피연산자로 숫자 값만 허용하는 연산은 이러한 피연산자의 텐서 유형이 이 인터페이스에 바인딩되도록 강제합니다. 예:

Ops tf = Ops.create();

 Constant<TFloat32> c1 = tf.array(1.0f, 2.0f, 3.0f);
 Constant<TFloat32> c2 = tf.array(true, false, true);

 tf.nn.softmax(c1);  // OK
 tf.nn.softmax(c2);  // Compilation failure
 

상속된 메서드