leap-model-parser 0.1.231.dev1__py3-none-any.whl → 0.1.231.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,7 @@ class ModelParser:
131
131
  input_all = [_input.name for _input in onnx_model.graph.input]
132
132
  input_initializer = [
133
133
  node.name for node in onnx_model.graph.initializer]
134
- input_names = list(set(input_all) - set(input_initializer))
134
+ input_names = [name for name in input_all if name not in input_initializer]
135
135
  converted_response: ConvertedResponse = onnx_to_keras(onnx_model, input_names=input_names,
136
136
  name_policy='attach_weights_name',
137
137
  allow_partial_compilation=False)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: leap-model-parser
3
- Version: 0.1.231.dev1
3
+ Version: 0.1.231.dev2
4
4
  Summary:
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -6,7 +6,7 @@ leap_model_parser/contract/nodedata.py,sha256=1_ML0nzp3QUZ0_9mGSLhfO4_hqjYMwi0DW
6
6
  leap_model_parser/contract/ui_components.json,sha256=0lsxwOLElW1E-imCcdh3zKPWgzFuQ_bApG6aHvYfTvo,410591
7
7
  leap_model_parser/keras_json_model_import.py,sha256=h9-eb41W67goutRV5c3VkStxvntgb6EmPFdPeshhtsY,17058
8
8
  leap_model_parser/leap_graph_editor.py,sha256=s6iVO06xM6LJ8ZjSxkr1srYxsHhGl2KnQjQoc9g4_iE,14329
9
- leap_model_parser/model_parser.py,sha256=W8FGKCBOBClIl0sdBlTdoSRT8sIdVrlbO8veNMouJ7o,8169
9
+ leap_model_parser/model_parser.py,sha256=Cfg4Vf05YzUYMuYjfhh0aJJq1h8lZxq-PnOP9WLsWeE,8185
10
10
  leap_model_parser/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  leap_model_parser/utils/layerpedia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  leap_model_parser/utils/layerpedia/layerpedia.py,sha256=1syubfXBTB630TVkgcQ-Ge7Qe9Zbr6EtZRreuqCJnQ8,9292
@@ -17,8 +17,8 @@ leap_model_parser/utils/uicomponents/generatenodedata.py,sha256=LRaPlO5jJ9pUtkvL
17
17
  leap_model_parser/utils/uicomponents/tensorflowinscpection.py,sha256=ym613z9iQKPDBpr0RYD35bTABdm1L-Ez86G47BYT7qw,6775
18
18
  leap_model_parser/utils/uicomponents/ui_components.json,sha256=0lsxwOLElW1E-imCcdh3zKPWgzFuQ_bApG6aHvYfTvo,410591
19
19
  leap_model_parser/utils/uicomponents/ui_components_config.yaml,sha256=cRH8T-c3TAL0nfefRvt9pFsjbTWNEg38NRyHR7RpJsk,19534
20
- leap_model_parser-0.1.231.dev1.dist-info/METADATA,sha256=p2AAgI-9MCuu2_6OrXPLIwGgm9s8VEnxH4SHKTnsMcE,1153
21
- leap_model_parser-0.1.231.dev1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
22
- leap_model_parser-0.1.231.dev1.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
23
- leap_model_parser-0.1.231.dev1.dist-info/licenses/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
24
- leap_model_parser-0.1.231.dev1.dist-info/RECORD,,
20
+ leap_model_parser-0.1.231.dev2.dist-info/METADATA,sha256=VHhs818ThhX1les2O9Zy6aOvN8we4m5mYMnDYS6gws8,1153
21
+ leap_model_parser-0.1.231.dev2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
22
+ leap_model_parser-0.1.231.dev2.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
23
+ leap_model_parser-0.1.231.dev2.dist-info/licenses/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
24
+ leap_model_parser-0.1.231.dev2.dist-info/RECORD,,