Clean up for UT coverage
Created by: lidanqing-intel
MKL-DNN related ops UT states.
After the PR19011 is merged, the states will be
In which,
-
the
group conv transpose
inconv_tranpose_mkldnn_op.cc
should be removed because it is not used in any models -
in_place
should be removed insum_mkldnn_op.cc
because this op is not registered and never used too. (Above 2 clean-ups I need to confirm with @wojtuss He is on vocation now.) -
mul_mkldnn_op.cc is hard to cover more because of virtual functions. Improvements should be done first in
mul_mkldnn_op.cc
and then UT will follow. -
In
elementwise_mul_mkldnn_op.cc
, the conditionif (is_x_format_correct && is_y_format_correct && are_dims_divisable && is_avx512_enabled)
will meet when MKLDNN choose the format by itself, which means one more op like conv should appear before elementwise_mul_mkldnn_op.cc then this condition will be met. I am working on this now.