tensorflow::ops::EuclideanNorm

#include <math_ops.h>

Tính chuẩn Euclidean của các phần tử trên các chiều của một tenxơ.

Bản tóm tắt

Giảm input dọc theo các chiều được chỉ định trong axis . Trừ khi keep_dims là true, hạng của tensor sẽ giảm đi 1 cho mỗi mục trong axis . Nếu keep_dims là true, các chiều đã giảm sẽ được giữ nguyên với độ dài là 1.

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • Đầu vào: Tensor cần được giảm.
  • trục: Kích thước cần giảm. Phải nằm trong khoảng [-rank(input), rank(input)) .

Các thuộc tính tùy chọn (xem Attrs ):

  • keep_dims: Nếu là true, giữ nguyên kích thước giảm với độ dài 1.

Trả về:

  • Output : Tensor đã được rút gọn.

Hàm khởi tạo và hàm hủy

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)

Thuộc tính công khai

operation
output

Chức năng công cộng

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

Các hàm tĩnh công khai

KeepDims (bool x)

Cấu trúc

tensorflow::ops::EuclideanNorm::Attrs

Các thiết lập thuộc tính tùy chọn cho EuclideanNorm .

Thuộc tính công khai

hoạt động

Operation operation

đầu ra

::tensorflow::Output output

Chức năng công cộng

Chuẩn Euclidean

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

Chuẩn Euclidean

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

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Các hàm tĩnh công khai

KeepDims

Attrs KeepDims(
  bool x
)