텐서플로우:: 작전:: L2손실

#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

공공 기능

L2손실

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

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const