テンソルフロー::作戦::ユークリッドノルム

#include <math_ops.h>

テンソルの次元にわたる要素のユークリッド ノルムを計算します。

まとめ

axisで指定された次元に沿ってinput削減します。 keep_dims true でない限り、テンソルのランクはaxisのエントリごとに 1 ずつ減ります。 keep_dimsが true の場合、縮小された次元は長さ 1 で保持されます。

引数:

  • スコープ:スコープオブジェクト
  • input: 削減するテンソル。
  • axis: 縮小する寸法。 [-rank(input), rank(input))の範囲内である必要があります。

オプションの属性 ( Attrsを参照):

  • keep_dims: true の場合、長さ 1 の縮小された次元を保持します。

戻り値:

  • Output : 縮小されたテンソル。

コンストラクターとデストラクター

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)

パブリック属性

operation
output

公共機能

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

パブリック静的関数

KeepDims (bool x)

構造体

tensorflow:: ops:: EuclideanNorm:: Attrs

EuclideanNormのオプションの属性セッター。

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

ユークリッドノルム

 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
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

KeepDims

Attrs KeepDims(
  bool x
)