#7337·onnx

DeformConv

Author: liuy061530Created Sep 30, 2025Updated Oct 1, 2026
Labelsquestionstale

onnx's introduction to deformconv

Question

https://onnx.ai/onnx/operators/onnx__DeformConv.html

  • mask (optional, heterogeneous) - T: The mask tensor to be applied to each position in the convolution kernel. It has shape (N, offset_group * kH * kW, oH, oW) for 2D data or (N, offset_group * k1 * k2 * … * kn * n, o1, o2, … , on) for nD data. Default is a tensor of ones.

Here, regarding the explanation of mask, for n-dimensional data, there's no need to multiply by n again, right?