leap-model-parser 0.1.94__py3-none-any.whl → 0.1.96__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.
@@ -58,8 +58,9 @@ class TensorFlowInspection(LeapInspect):
58
58
 
59
59
  def get_filled_group_values(self, node_type: str, class_pointer: Callable[..., Any]) -> dict:
60
60
  if node_type == 'customonnxlayer':
61
- var_names = class_pointer.__dict__['call'].__code__.co_varnames
62
- arg_names = var_names[1:class_pointer.__dict__['call'].__code__.co_argcount] # remove self
61
+ class_code = class_pointer.__dict__['call'].__code__
62
+ var_names = class_code.co_varnames
63
+ arg_names = var_names[1:class_code.co_argcount] # remove self
63
64
  if len(arg_names) == 1:
64
65
  return self.group_type[node_type]
65
66
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: leap-model-parser
3
- Version: 0.1.94
3
+ Version: 0.1.96
4
4
  Summary:
5
5
  Home-page: https://github.com/tensorleap/leap-model-parser
6
6
  License: MIT
@@ -16,7 +16,7 @@ Requires-Dist: keras-data-format-converter (==0.1.14)
16
16
  Requires-Dist: leap-model-rebuilder (==0.1.5)
17
17
  Requires-Dist: numpy (>=1.22.3,<2.0.0)
18
18
  Requires-Dist: onnx (==1.10.1)
19
- Requires-Dist: onnx2kerastl (==0.0.86)
19
+ Requires-Dist: onnx2kerastl (==0.0.88)
20
20
  Requires-Dist: tensorflow (==2.11.0) ; platform_machine == "x86_64"
21
21
  Requires-Dist: tensorflow-macos (==2.11.0) ; platform_machine == "arm64"
22
22
  Project-URL: Repository, https://github.com/tensorleap/leap-model-parser
@@ -13,10 +13,10 @@ leap_model_parser/utils/tlinspection/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7u
13
13
  leap_model_parser/utils/tlinspection/leapinspection.py,sha256=BUZfEoURYFzg4KIZibpSGm_4awj1GwQC5ywuXuQPwME,2804
14
14
  leap_model_parser/utils/uicomponents/__init__.py,sha256=ShNUN5NLzaxOQ5ByNUUWJG6vqKpiqvA4NJvZbjsjtAU,111
15
15
  leap_model_parser/utils/uicomponents/generatenodedata.py,sha256=LRaPlO5jJ9pUtkvLG9QaGBRnu860wNH_OkBM6UKLGGQ,3035
16
- leap_model_parser/utils/uicomponents/tensorflowinscpection.py,sha256=TOjWl6DzxZtaMsYdVxRqsi2XmVZWIJBkVaTqtopgTgw,6768
16
+ leap_model_parser/utils/uicomponents/tensorflowinscpection.py,sha256=ym613z9iQKPDBpr0RYD35bTABdm1L-Ez86G47BYT7qw,6775
17
17
  leap_model_parser/utils/uicomponents/ui_components_config.yaml,sha256=nzhcSR-00erM-D09CczOmfF4a6w9kZUgDjDksHtLsUo,19604
18
- leap_model_parser-0.1.94.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
19
- leap_model_parser-0.1.94.dist-info/METADATA,sha256=Ajis469DYGyh7hdUGGZuNHLCTWWjjeybrdet06HLQX0,1008
20
- leap_model_parser-0.1.94.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
21
- leap_model_parser-0.1.94.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
22
- leap_model_parser-0.1.94.dist-info/RECORD,,
18
+ leap_model_parser-0.1.96.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
19
+ leap_model_parser-0.1.96.dist-info/METADATA,sha256=qHpLTTqzW9c_scz6_ysdJ6rCXDRIyzndj6Fyt9G7z_0,1008
20
+ leap_model_parser-0.1.96.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
21
+ leap_model_parser-0.1.96.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
22
+ leap_model_parser-0.1.96.dist-info/RECORD,,