tensorflow :: ops :: EuclideanNorm

#include <math_ops.h>

Menghitung norma euclidean elemen di seluruh dimensi tensor.

Ringkasan

Mengurangi input sepanjang dimensi yang diberikan dalam axis . Kecuali keep_dims benar, peringkat tensor dikurangi 1 untuk setiap entri dalam axis . Jika keep_dims benar, dimensi yang dikurangi dipertahankan dengan panjang 1.

Argumen:

  • scope: Objek Scope
  • input: Tensor yang akan dikurangi.
  • sumbu: Dimensi yang akan dikurangi. Harus dalam rentang [-rank(input), rank(input)) .

Atribut opsional (lihat Attrs ):

  • keep_dims: Jika true, pertahankan dimensi yang diperkecil dengan panjang 1.

Pengembalian:

  • Output : Tensor yang dikurangi.

Pembuat dan Penghancur

EuclideanNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis)
EuclideanNorm (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input axis, const EuclideanNorm::Attrs & attrs)

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

KeepDims (bool x)

Structs

tensorflow :: ops :: EuclideanNorm :: Attrs

Penyetel atribut opsional untuk EuclideanNorm .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

EuclideanNorm

 EuclideanNorm(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis
)

EuclideanNorm

 EuclideanNorm(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input axis,
  const EuclideanNorm::Attrs & attrs
)

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

KeepDims

Attrs KeepDims(
  bool x
)