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

tensorflow :: ops :: L2Loss

#include <nn_ops.h>

L2 손실.

요약

sqrt 없이 텐서의 L2 노름의 절반을 계산합니다.

output = sum(t ** 2) / 2

인수 :

  • 범위 : 범위 개체
  • t : 일반적으로 2 차원이지만 모든 차원을 가질 수 있습니다.

보고:

생성자와 소멸자

L2Loss (const :: tensorflow::Scope & scope, :: tensorflow::Input t)

공용 속성

operation
output

공공 기능

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

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

L2Loss

 L2Loss(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input t
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const