Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: 잘림 정상

#include <random_ops.h>

잘린 정규 분포에서 임의 값을 출력합니다.

요약

생성 된 값은 크기가 평균에서 2 표준 편차보다 큰 값을 삭제하고 다시 선택하는 것을 제외하고는 평균 0 및 표준 편차 1의 정규 분포를 따릅니다.

인수 :

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

선택적 속성 ( Attrs 참조) :

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

보고:

  • Output : 임의의 잘린 정규 값으로 채워진 지정된 모양의 텐서.

생성자와 소멸자

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

공용 속성

operation
output

공공 기능

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

공개 정적 함수

Seed (int64 x)
Seed2 (int64 x)

구조체

tensorflow :: ops :: TruncatedNormal :: Attrs

TruncatedNormal에 대한 선택적 속성 setter입니다.

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

잘림 정상

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

잘림 정상

 TruncatedNormal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const TruncatedNormal::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
)