Skip to content

Commit a053524

Browse files
committed
Fix
1 parent 6d6a6dd commit a053524

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/cinn_op_infer_sym.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,12 @@ bool GatherOpInferSymbolicShape(pir::Operation *op,
301301
}();
302302

303303
const std::vector<symbol::DimExpr> &input_sym_shape =
304-
details::GetOrCreateExprVecFromData(input_shape_or_data, infer_context);
304+
paddle::dialect::details::GetOrCreateExprVecFromData(input_shape_or_data,
305+
infer_context);
305306

306307
const std::vector<symbol::DimExpr> &index_sym_shape =
307-
details::GetOrCreateExprVecFromData(index_shape_or_data, infer_context);
308+
paddle::dialect::details::GetOrCreateExprVecFromData(index_shape_or_data,
309+
infer_context);
308310

309311
int axis = op->attributes().at("axis").dyn_cast<pir::Int32Attribute>().data();
310312
if (axis < 0) axis += input_sym_shape.size();

0 commit comments

Comments
 (0)