File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2801,7 +2801,7 @@ def __init__(
2801
2801
model_version : int | None = None ,
2802
2802
doc_string : str | None = None ,
2803
2803
functions : Sequence [Function ] = (),
2804
- meta_data_props : dict [str , str ] | None = None ,
2804
+ metadata_props : dict [str , str ] | None = None ,
2805
2805
) -> None :
2806
2806
self .graph : Graph = graph
2807
2807
self .ir_version = ir_version
@@ -2812,7 +2812,7 @@ def __init__(
2812
2812
self .doc_string = doc_string
2813
2813
self ._functions = {func .identifier (): func for func in functions }
2814
2814
self ._metadata : _metadata .MetadataStore | None = None
2815
- self ._metadata_props : dict [str , str ] | None = meta_data_props
2815
+ self ._metadata_props : dict [str , str ] | None = metadata_props
2816
2816
2817
2817
@property
2818
2818
def functions (self ) -> dict [_protocols .OperatorIdentifier , Function ]:
Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ def deserialize_model(proto: onnx.ModelProto) -> _core.Model:
511
511
model_version = _get_field (proto , "model_version" ),
512
512
doc_string = _get_field (proto , "doc_string" ),
513
513
functions = functions ,
514
- meta_data_props = deserialize_metadata_props (proto .metadata_props ),
514
+ metadata_props = deserialize_metadata_props (proto .metadata_props ),
515
515
)
516
516
517
517
# Handle experimental value info for functions created by the dynamo exporter in IR version 9
You can’t perform that action at this time.
0 commit comments