TFloating

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

모든 부동 소수점 텐서에 대한 공통 인터페이스입니다.

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

Ops tf = Ops.create();

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

 Exponential<TFloat32> exp = new Exponential<>(tf);
 exp.call(c1);  // OK
 exp.call(c2);  // Compilation failure
 

상속된 메서드