przepływ tensorowy:: ops:: Strata L2

#include <nn_ops.h>

Strata L2.

Streszczenie

Oblicza połowę normy L2 tensora bez sqrt :

output = sum(t ** 2) / 2

Argumenty:

  • zakres: Obiekt Scope
  • t: Zwykle 2-D, ale może mieć dowolne wymiary.

Zwroty:

Konstruktory i destruktory

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

Atrybuty publiczne

operation
output

Funkcje publiczne

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

Atrybuty publiczne

operacja

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Strata L2

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const