텐서플로우:: ops:: Rint
#include <math_ops.h>x에 가장 가까운 정수 값을 요소별로 반환합니다.
요약
결과가 표현 가능한 두 값의 중간에 있는 경우, 짝수 번째 표현 가능한 값이 선택됩니다. 예를 들면 다음과 같습니다.
rint(-1.5) ==> -2.0 rint(0.5000001) ==> 1.0 rint([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) ==> [-2., -2., -0., 0., 2., 2., 2.]
논거:
- 범위: Scope 객체
보고:
-
Output: y 텐서.
생성자와 소멸자 | |
|---|---|
Rint (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
공개 속성 | |
|---|---|
operation | |
y | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 속성
작업
Operation operation
와이
::tensorflow::Output y
공공 기능
프린트
Rint( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const