shape_data->tensor_shape(ofm_tensor_shape);
node->annot(std::move(shape_data));
+ FixPadContext ctx = {input_height, input_width, output_height, output_width,
+ stride_height, stride_width, effective_ker_height, effective_ker_width};
+
+ calc_annot_paddata(node, ctx);
+
INFO(l) << "Fix TFDepthwiseConv2dNative shape = ifm" << ifm_tensor_shape << " ker"
<< ker_tensor_shape << " --> ofm" << ofm_tensor_shape;
+ INFO(l) << " pad = " << *node->annot<PadData>();
return true;
}
as_tensor_shape(*shape_data.get(), ofm_feature_shape, node->data_layout());
node->annot(std::move(shape_data));
+ FixPadContext ctx = {
+ input_height, input_width, output_height, output_width,
+ stride_height, stride_width, effective_window_height, effective_window_width};
+
+ calc_annot_paddata(node, ctx);
+
INFO(l) << "Fix TFMaxPool shape = ifm" << value_feature_shape << " --> ofm" << ofm_feature_shape;
+ INFO(l) << " pad = " << *node->annot<PadData>();
return true;
}