# Copyright (c) Microsoft Corporation.# Licensed under the MIT License.from__future__importannotationsimportonnximportonnxscript.optimizer._legacy._optimizeraslegacy_optimizerfromonnxscriptimportirfromonnxscript.optimizer._constant_foldingimportbasic_constant_propagationfromonnxscript.optimizer._legacy.constant_foldingimportfold_constantsfromonnxscript.optimizer._optimizerimportoptimize_irfromonnxscript.optimizer._remove_unusedimportremove_unused_nodes