@@ -1396,17 +1396,6 @@ class OpSet_Onnx_ver24 {
13961396 }
13971397};
13981398
1399- // Forward declarations for ai.onnx version 25
1400-
1401- // Iterate over schema from ai.onnx version 25
1402- class OpSet_Onnx_ver25 {
1403- public:
1404- static void ForEachSchema (const std::function<void (OpSchema&&)>& fn) {
1405- // TODO: Remove after introducing the first schema to opset 25
1406- (void )fn;
1407- }
1408- };
1409-
14101399inline void RegisterOnnxOperatorSetSchema () {
14111400 RegisterOpSetSchema<OpSet_Onnx_ver1>();
14121401 RegisterOpSetSchema<OpSet_Onnx_ver2>();
@@ -1432,7 +1421,6 @@ inline void RegisterOnnxOperatorSetSchema() {
14321421 RegisterOpSetSchema<OpSet_Onnx_ver22>();
14331422 RegisterOpSetSchema<OpSet_Onnx_ver23>();
14341423 RegisterOpSetSchema<OpSet_Onnx_ver24>();
1435- RegisterOpSetSchema<OpSet_Onnx_ver25>();
14361424 // 0 means all versions of ONNX schema have been loaded
14371425 OpSchemaRegistry::Instance ()->SetLoadedSchemaVersion (0 );
14381426}
@@ -1442,7 +1430,6 @@ inline void RegisterOnnxOperatorSetSchema(int target_version, bool fail_duplicat
14421430 // These calls for schema registration here are required to be in descending order for this to work correctly
14431431 //
14441432 // Version-specific registration sees duplicate schema version request as error if fail_duplicate_schema
1445- RegisterOpSetSchema<OpSet_Onnx_ver25>(target_version, fail_duplicate_schema);
14461433 RegisterOpSetSchema<OpSet_Onnx_ver24>(target_version, fail_duplicate_schema);
14471434 RegisterOpSetSchema<OpSet_Onnx_ver23>(target_version, fail_duplicate_schema);
14481435 RegisterOpSetSchema<OpSet_Onnx_ver22>(target_version, fail_duplicate_schema);
0 commit comments