dòng chảy căng:: ôi:: MaxPoolGradGrad

#include <nn_ops.h>

Tính toán độ dốc bậc hai của hàm maxpooling.

Bản tóm tắt

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • orig_input: Tenxor đầu vào ban đầu.
  • orig_output: Tensor đầu ra ban đầu.
  • cấp độ: 4-D. Độ dốc của độ dốc ghi đầu vào của max_pool .
  • ksize: Kích thước của cửa sổ cho từng chiều của tensor đầu vào.
  • bước tiến: Bước tiến của cửa sổ trượt cho từng chiều của tensor đầu vào.
  • phần đệm: Loại thuật toán đệm sẽ sử dụng.

Thuộc tính tùy chọn (xem Attrs ):

  • data_format: Chỉ định định dạng dữ liệu của 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]. Ngoài ra, đị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 của độ dốc ghi đầu vào vào max_pool .

Hàm tạo và hàm hủy

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

tenorflow:: ops:: MaxPoolGradGrad:: Attrs

Bộ cài đặt thuộc tính tùy chọn cho MaxPoolGradGrad .

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

MaxPoolGradGrad

 MaxPoolGradGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

MaxPoolGradGrad

 MaxPoolGradGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPoolGradGrad::Attrs & attrs
)

nút

::tensorflow::Node * node() const 

toán tử::tenorflow::Đầu vào

 operator::tensorflow::Input() const 

toán tử::tenorflow::Đầu ra

 operator::tensorflow::Output() const 

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

Định dạng dữ liệu

Attrs DataFormat(
  StringPiece x
)