Searched refs:tf_mean_op (Results 1 – 1 of 1) sorted by relevance
1136 auto tf_mean_op = cast<TF::MeanOp>(op); in matchAndRewrite() local1139 tf_mean_op.getResult().getType().dyn_cast<RankedTensorType>(); in matchAndRewrite()1143 if (!matchPattern(tf_mean_op.reduction_indices(), m_Constant(&axes_elems))) in matchAndRewrite()1147 auto keep_dims_attr = tf_mean_op.keep_dimsAttr(); in matchAndRewrite()1151 rewriter, op, output_type, tf_mean_op.input(), axes_elems, keep_dims); in matchAndRewrite()