File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
onnx_diagnostic/torch_models Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -318,11 +318,11 @@ def get_untrained_model_with_inputs(
318318
319319 data = get_untrained_model_with_inputs("arnir0/Tiny-LLM", verbose=1)
320320
321- print("-- model size:", data[" size" ])
322- print("-- number of parameters:", data[" n_weights" ])
323- print("-- inputs:", string_type(data[" inputs" ], with_shape=True))
324- print("-- dynamic shapes:", pprint.pformat(data[" dynamic_shapes" ]))
325- print("-- configuration:", pprint.pformat(data[" configuration" ]))
321+ print("-- model size:", data[' size' ])
322+ print("-- number of parameters:", data[' n_weights' ])
323+ print("-- inputs:", string_type(data[' inputs' ], with_shape=True))
324+ print("-- dynamic shapes:", pprint.pformat(data[' dynamic_shapes' ]))
325+ print("-- configuration:", pprint.pformat(data[' configuration' ]))
326326 """
327327 if verbose :
328328 print (f"[get_untrained_model_with_inputs] model_id={ model_id !r} " )
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ def validate_model(
181181 if drop_inputs :
182182 if verbose :
183183 print (f"[validate_model] drop inputs { drop_inputs !r} " )
184- print (f"[validate_model] current inputs: { string_type (data [" inputs" ])} " )
184+ print (f"[validate_model] current inputs: { string_type (data [' inputs' ])} " )
185185 print (
186186 f"[validate_model] current dynnamic_shapes: "
187187 f"{ _ds_clean (data ["dynamic_shapes" ])} "
You can’t perform that action at this time.
0 commit comments