diff --git a/x2paddle/op_mapper/onnx_directly_map.py b/x2paddle/op_mapper/onnx_directly_map.py index 57067dd6715856bb6794f568b9f57301b9abe5f9..1f9f665c0143ae29c2360d2b9220ea9b101362a3 100644 --- a/x2paddle/op_mapper/onnx_directly_map.py +++ b/x2paddle/op_mapper/onnx_directly_map.py @@ -77,6 +77,7 @@ default_op_mapping = { 'Softmax': ['softmax', ['X'], ['Out'], dict(), dict(axis=1)], 'Sqrt': ['sqrt', ['X'], ['Out']], + 'Floor': ['floor', ['X'], ['Out']], } default_ioa_constraint = {