tensorflow::ops::DepthwiseConv2dNativeBackpropInput

#include <nn_ops.h>

Tính toán độ dốc của phép tích chập theo chiều sâu đối với dữ liệu đầu vào.

Bản tóm tắt

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • input_sizes: Một vectơ số nguyên biểu thị kích thước của input , dựa trên data_format . Ví dụ, nếu data_format là 'NHWC' thì input là một tensor 4 chiều [batch, height, width, channels] .
  • bộ lọc: 4 chiều với hình dạng [filter_height, filter_width, in_channels, depthwise_multiplier] .
  • out_backprop: 4 chiều với hình dạng dựa trên data_format . Ví dụ, nếu data_format là 'NHWC' thì hình dạng của out_backprop là [batch, out_height, out_width, out_channels] . Gradient đối với đầu ra của phép tích chập.
  • strides: Bước nhảy của cửa sổ trượt cho mỗi chiều của đầu vào phép tích chập.
  • 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ự: [lô, chiều cao, chiều rộng, kênh]. Hoặc, định dạng có thể là "NCHW", thứ tự lưu trữ dữ liệu là: [lô, kênh, chiều cao, chiều rộng].
  • Độ giãn: Tensor 1 chiều có độ dài 4. Hệ số giãn cho mỗi chiều của input . Nếu đặt thành k > 1, sẽ có k-1 ô bị bỏ qua giữa mỗi phần tử lọc trên chiều đó. Thứ tự chiều được xác định bởi giá trị của data_format , xem chi tiết ở trên. Độ giãn ở chiều batch và chiều depth phải bằng 1.

Trả về:

  • Output : Hình dạng 4 chiều theo data_format ). Ví dụ, nếu data_format là 'NHWC', hình dạng đầu ra là [batch, in_height, in_width, in_channels] . Gradient đối với đầu vào của phép tích chập.

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

DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropInput::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)
Dilations (const gtl::ArraySlice< int > & x)

Cấu trúc

tensorflow::ops::DepthwiseConv2dNativeBackpropInput::Attrs

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

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

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const DepthwiseConv2dNativeBackpropInput::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
)

Sự giãn nở

Attrs Dilations(
  const gtl::ArraySlice< int > & x
)