텐서플로우:: ops:: L2Loss

#include <nn_ops.h>

L2 손실.

요약

sqrt 제외하고 텐서의 L2 노름의 절반을 계산합니다.

output = sum(t ** 2) / 2

논거:

  • 범위: Scope 객체
  • 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