tensorflow :: ops :: RandomUniformInt
#include <random_ops.h>
균일 분포에서 임의의 정수를 출력합니다.
요약
생성 된 값은 [minval, maxval)
범위의 균일 한 정수입니다. 하한 minval
은 범위에 포함되고 상한 maxval
은 제외됩니다.
임의의 정수는 maxval - minval
이 2의 정확한 거듭 제곱이 아닌 경우 약간 편향됩니다. 출력 범위 ( 2^32
또는 2^64
)보다 훨씬 작은 maxval - minval
값의 경우 편향이 작습니다.
인수 :
- 범위 : 범위 개체
- shape : 출력 텐서의 모양.
- 최소 : 0-D. 생성 된 정수의 하한을 포함합니다.
- maxval : 0-D. 생성 된 정수에 대한 배타적 상한.
선택적 속성 ( Attrs
참조) :
- seed :
seed
또는seed2
가 0이 아닌 값으로 설정된 경우, 난수 생성기는 주어진 seed에 의해 시드됩니다. 그렇지 않으면 임의의 시드로 시드됩니다. - seed2 : 시드 충돌을 피하기위한 두 번째 시드.
보고:
-
Output
: 균일 한 임의의 정수로 채워진 지정된 모양의 텐서.
생성자와 소멸자 | |
---|---|
RandomUniformInt (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input minval, :: tensorflow::Input maxval) | |
RandomUniformInt (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input minval, :: tensorflow::Input maxval, const RandomUniformInt::Attrs & attrs) |
공용 속성 | |
---|---|
operation | |
output |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
Seed (int64 x) | |
Seed2 (int64 x) |
구조체 | |
---|---|
tensorflow :: ops :: RandomUniformInt :: Attrs | RandomUniformInt에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
산출
::tensorflow::Output output
공공 기능
RandomUniformInt
RandomUniformInt( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input minval, ::tensorflow::Input maxval )
RandomUniformInt
RandomUniformInt( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input minval, ::tensorflow::Input maxval, const RandomUniformInt::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
씨
Attrs Seed( int64 x )
Seed2
Attrs Seed2( int64 x )