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

tensorflow :: ops :: 바이어스 추가

#include <nn_ops.h>

value bias 을 추가합니다.

요약

이것은 bias 이 1-D로 제한되는 tf.add 의 특별한 경우입니다. 브로드 캐스팅이 지원되므로 value 은 여러 차원을 가질 수 있습니다.

인수 :

  • 범위 : 범위 개체
  • 값 : 임의 의 차원 수.
  • 편향 : value 의 마지막 차원 인 1 차원.

선택적 속성 ( Attrs 참조) :

  • data_format : 입력 및 출력 데이터의 데이터 형식을 지정합니다. 기본 형식 "NHWC"를 사용하면 바이어스 텐서가 값 텐서의 마지막 차원에 추가됩니다. 또는 형식은 [batch, in_channels, in_height, in_width]의 데이터 저장 순서 인 "NCHW"일 수 있습니다. 텐서는 마지막 세 번째 차원 인 "in_channels"에 추가됩니다.

보고:

  • Output : valuebias 의 방송 된 합.

생성자와 소멸자

BiasAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input value, :: tensorflow::Input bias)
BiasAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input value, :: tensorflow::Input bias, const BiasAdd::Attrs & attrs)

공용 속성

operation
output

공공 기능

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

공개 정적 함수

DataFormat (StringPiece x)

구조체

tensorflow :: ops :: BiasAdd :: Attrs

BiasAdd에 대한 선택적 속성 설정자.

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

바이어스 추가

 BiasAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input value,
  ::tensorflow::Input bias
)

바이어스 추가

 BiasAdd(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input value,
  ::tensorflow::Input bias,
  const BiasAdd::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

DataFormat

Attrs DataFormat(
  StringPiece x
)