tensorflow:: ops:: TruncateDiv
#include <math_ops.h>정수형의 경우 x/y 값을 요소별로 반환합니다.
요약
절삭(truncation)은 음수의 경우 소수 부분을 0에 가깝게 반올림한다는 것을 의미합니다. 예를 들어 -7 / 5 = -1입니다. 이는 C 언어의 의미 체계와 일치하지만 파이썬의 의미 체계와는 다릅니다. 파이썬의 의미 체계에 맞는 나눗셈 함수는 FloorDiv 참조하세요.
참고 : TruncateDiv 브로드캐스팅을 지원합니다. 브로드캐스팅에 대한 자세한 내용은 여기를 참조하세요.
논거:
- 범위: Scope 객체
보고:
-
Output: z 텐서.
생성자와 소멸자 | |
|---|---|
TruncateDiv (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y) |
공개 속성 | |
|---|---|
operation | |
z | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 속성
작업
Operation operation
지
::tensorflow::Output z
공공 기능
TruncateDiv
TruncateDiv( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const