tensorflow::ops::MaxPoolGradV2

#include <nn_ops.h>

Tính toán đạo hàm của hàm maxpooling.

Bản tóm tắt

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • orig_input: Tensor đầu vào gốc.
  • orig_output: Tensor đầu ra gốc.
  • grad: 4-D. Độ dốc đối với đầu ra của max_pool .
  • ksize: Kích thước cửa sổ cho mỗi chiều của tensor đầu vào.
  • strides: Bước nhảy của cửa sổ trượt cho mỗi chiều của tensor đầu vào.
  • padding: Loại thuật toán đệm cần sử dụng.

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

  • data_format: Chỉ định định dạng dữ liệu đầu vào và đầu ra. Với định dạng mặc định "NHWC", dữ liệu được lưu trữ theo thứ tự: [batch, in_height, in_width, in_channels]. Hoặc, định dạng có thể là "NCHW", thứ tự lưu trữ dữ liệu là: [batch, in_channels, in_height, in_width].

Trả về:

  • Output : Độ dốc (gradient) đối với đầu vào của max_pool .

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

MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding)
MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolGradV2::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

DataFormat (StringPiece x)

Cấu trúc

tensorflow::ops::MaxPoolGradV2::Attrs

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

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

MaxPoolGradV2

 MaxPoolGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

MaxPoolGradV2

 MaxPoolGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolGradV2::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

Định dạng dữ liệu

Attrs DataFormat(
  StringPiece x
)