Lines Matching refs:XNN_LAYOUT_FLAG_COMPATIBLE_NCHW

125 #define XNN_LAYOUT_FLAG_COMPATIBLE_NCHW      1  macro
151 return XNN_LAYOUT_FLAG_COMPATIBLE_NCHW; in xnn_check_nchw_compatibility()
200 …ode->params.depthwise_convolution_2d.input_padding_left == 1 ? XNN_LAYOUT_FLAG_COMPATIBLE_NCHW : 0; in xnn_check_nchw_compatibility()
205 …ode->params.depthwise_convolution_2d.input_padding_left == 2 ? XNN_LAYOUT_FLAG_COMPATIBLE_NCHW : 0; in xnn_check_nchw_compatibility()
212 return XNN_LAYOUT_FLAG_COMPATIBLE_NCHW | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW2NHWC; in xnn_check_nchw_compatibility()
249 return XNN_LAYOUT_FLAG_COMPATIBLE_NCHW; in xnn_check_nchw_compatibility()
252 … subgraph->values[node->inputs[0]].shape.dim[2] > 1 ? XNN_LAYOUT_FLAG_COMPATIBLE_NCHW : 0; in xnn_check_nchw_compatibility()
266 …return subgraph->values[node->inputs[0]].shape.num_dims == 4 ? XNN_LAYOUT_FLAG_COMPATIBLE_NCHW : 0; in xnn_check_nchw_compatibility()
284 node->layout_flags & XNN_LAYOUT_FLAG_COMPATIBLE_NCHW ? "yes" : "no", in xnn_subgraph_rewrite_for_nchw()
313 …node->layout_flags & (XNN_LAYOUT_FLAG_COMPATIBLE_NHWC2NCHW | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW)) != … in xnn_subgraph_rewrite_for_nchw()
342 …if ((node->layout_flags & (XNN_LAYOUT_FLAG_COMPATIBLE_NCHW | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW2NHWC)… in xnn_subgraph_rewrite_for_nchw()
362 …node->layout_flags & (XNN_LAYOUT_FLAG_COMPATIBLE_NHWC2NCHW | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW)) != … in xnn_subgraph_rewrite_for_nchw()
388 …node->layout_flags & (XNN_LAYOUT_FLAG_COMPATIBLE_NCHW2NHWC | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW)) == … in xnn_subgraph_rewrite_for_nchw()
408 …node->layout_flags & (XNN_LAYOUT_FLAG_COMPATIBLE_NCHW2NHWC | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW)) == … in xnn_subgraph_rewrite_for_nchw()
462 …node->layout_flags & (XNN_LAYOUT_FLAG_COMPATIBLE_NCHW2NHWC | XNN_LAYOUT_FLAG_COMPATIBLE_NCHW)) == … in xnn_subgraph_rewrite_for_nchw()