텐서플로우:: 작전:: 무작위균일

#include <random_ops.h>

균일 분포에서 임의의 값을 출력합니다.

요약

생성된 값은 [0, 1) 범위에서 균일한 분포를 따릅니다. 하한 0은 범위에 포함되고 상한 1은 제외됩니다.

인수:

  • 범위: 범위 개체
  • 모양: 출력 텐서의 모양입니다.
  • dtype: 출력 유형입니다.

선택적 속성( Attrs 참조):

  • Seed: seed 또는 seed2 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다. 그렇지 않으면 무작위 시드에 의해 시드됩니다.
  • Seed2: 시드 충돌을 피하기 위한 두 번째 시드입니다.

보고:

  • Output : 균일한 무작위 값으로 채워진 지정된 모양의 텐서.

생성자와 소멸자

RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomUniform::Attrs & attrs)

공개 속성

operation
output

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 정적 함수

Seed (int64 x)
Seed2 (int64 x)

구조체

텐서플로우:: ops:: RandomUniform:: 속성

RandomUniform 에 대한 선택적 속성 설정자입니다.

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

무작위균일

 RandomUniform(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

무작위균일

 RandomUniform(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const RandomUniform::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const 

공개 정적 함수

씨앗

Attrs Seed(
  int64 x
)

시드2

Attrs Seed2(
  int64 x
)