leap-model-parser 0.1.123.dev4__tar.gz → 0.1.124__tar.gz
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.
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/PKG-INFO +2 -2
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/nodedata.py +6 -27
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/ui_components.json +0 -168
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/pyproject.toml +2 -2
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/LICENSE +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/README.md +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/__init__.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/__init__.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/graph.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/importmodelresponse.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/keras_json_model_import.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/model_parser.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/__init__.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/layerpedia/__init__.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/layerpedia/layerpedia.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/tlinspection/__init__.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/tlinspection/leapinspection.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/uicomponents/__init__.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/uicomponents/generatenodedata.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/uicomponents/tensorflowinscpection.py +0 -0
- {leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/uicomponents/ui_components_config.yaml +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: leap-model-parser
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.124
|
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.16)
|
|
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.
|
19
|
+
Requires-Dist: onnx2kerastl (==0.0.115)
|
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
|
{leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/nodedata.py
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
from typing import Union
|
2
|
-
from typing import List
|
3
1
|
from dataclasses import dataclass
|
2
|
+
from typing import List
|
3
|
+
from typing import Union
|
4
4
|
from enum import Enum
|
5
5
|
|
6
6
|
|
@@ -203,10 +203,8 @@ class NodeType(Enum):
|
|
203
203
|
SGD = "SGD"
|
204
204
|
OnnxAbs = "OnnxAbs"
|
205
205
|
OnnxErf = "OnnxErf"
|
206
|
-
OnnxGRU = "OnnxGRU"
|
207
206
|
OnnxHardSigmoid = "OnnxHardSigmoid"
|
208
207
|
OnnxLSTM = "OnnxLSTM"
|
209
|
-
OnnxRNN = "OnnxRNN"
|
210
208
|
OnnxReduceMean = "OnnxReduceMean"
|
211
209
|
OnnxSqrt = "OnnxSqrt"
|
212
210
|
Dataset = "Dataset"
|
@@ -1803,15 +1801,6 @@ class OnnxErf:
|
|
1803
1801
|
type: NodeType
|
1804
1802
|
|
1805
1803
|
|
1806
|
-
@dataclass
|
1807
|
-
class OnnxGRU:
|
1808
|
-
units: int
|
1809
|
-
return_sequences: bool
|
1810
|
-
return_states: bool
|
1811
|
-
bidirectional: bool
|
1812
|
-
type: NodeType
|
1813
|
-
|
1814
|
-
|
1815
1804
|
@dataclass
|
1816
1805
|
class OnnxHardSigmoid:
|
1817
1806
|
alpha: float
|
@@ -1827,16 +1816,6 @@ class OnnxLSTM:
|
|
1827
1816
|
type: NodeType
|
1828
1817
|
|
1829
1818
|
|
1830
|
-
@dataclass
|
1831
|
-
class OnnxRNN:
|
1832
|
-
units: int
|
1833
|
-
return_sequences: bool
|
1834
|
-
return_states: bool
|
1835
|
-
bidirectional: bool
|
1836
|
-
activation: ActivationsEnum
|
1837
|
-
type: NodeType
|
1838
|
-
|
1839
|
-
|
1840
1819
|
@dataclass
|
1841
1820
|
class OnnxReduceMean:
|
1842
1821
|
axes: List[int]
|
@@ -1951,7 +1930,7 @@ class NodeDataTypes:
|
|
1951
1930
|
ZeroPadding1D, ZeroPadding2D, ZeroPadding3D, BinaryCrossentropy, BinaryFocalCrossentropy,
|
1952
1931
|
CategoricalCrossentropy, CategoricalHinge, CosineSimilarity, Hinge, Huber, KLDivergence, LogCosh,
|
1953
1932
|
MeanAbsoluteError, MeanAbsolutePercentageError, MeanSquaredError, MeanSquaredLogarithmicError, Poisson,
|
1954
|
-
SquaredHinge, Adadelta, Adagrad, Adam, Adamax, Ftrl, Nadam, RMSprop, SGD, OnnxAbs, OnnxErf,
|
1955
|
-
OnnxHardSigmoid, OnnxLSTM,
|
1956
|
-
|
1957
|
-
|
1933
|
+
SquaredHinge, Adadelta, Adagrad, Adam, Adamax, Ftrl, Nadam, RMSprop, SGD, OnnxAbs, OnnxErf,
|
1934
|
+
OnnxHardSigmoid, OnnxLSTM, OnnxReduceMean, OnnxSqrt, Dataset, Input, RepresentationBlock, GroundTruth,
|
1935
|
+
CustomLayer, CustomLoss, Visualizer, Metric, Lambda, TFOpLambda, SlicingOpLambda, Repeat, Variable,
|
1936
|
+
Gather, FixedDropout]
|
@@ -14509,80 +14509,6 @@
|
|
14509
14509
|
"properties": [],
|
14510
14510
|
"options": null
|
14511
14511
|
},
|
14512
|
-
{
|
14513
|
-
"type": "Layer",
|
14514
|
-
"shape_calc": [
|
14515
|
-
"IdentityFunc"
|
14516
|
-
],
|
14517
|
-
"receptive_fields_func": "IdentityReceptiveFieldsFunc",
|
14518
|
-
"menu_sections": [
|
14519
|
-
"Layer",
|
14520
|
-
"Onnx"
|
14521
|
-
],
|
14522
|
-
"inputs_data": {
|
14523
|
-
"add_input_by_drag": false,
|
14524
|
-
"inputs": [
|
14525
|
-
{
|
14526
|
-
"name": "input",
|
14527
|
-
"approval_connection": [
|
14528
|
-
"Input",
|
14529
|
-
"Dataset",
|
14530
|
-
"Layer",
|
14531
|
-
"CustomLayer"
|
14532
|
-
]
|
14533
|
-
},
|
14534
|
-
{
|
14535
|
-
"name": "initial_h_state",
|
14536
|
-
"approval_connection": [
|
14537
|
-
"Input",
|
14538
|
-
"Dataset",
|
14539
|
-
"Layer",
|
14540
|
-
"CustomLayer"
|
14541
|
-
]
|
14542
|
-
}
|
14543
|
-
]
|
14544
|
-
},
|
14545
|
-
"outputs_data": {
|
14546
|
-
"outputs": [
|
14547
|
-
{
|
14548
|
-
"name": "feature_map"
|
14549
|
-
}
|
14550
|
-
]
|
14551
|
-
},
|
14552
|
-
"name": "OnnxGRU",
|
14553
|
-
"parents": [
|
14554
|
-
"onnx2kerastl",
|
14555
|
-
"customonnxlayer",
|
14556
|
-
"onnxgru"
|
14557
|
-
],
|
14558
|
-
"properties": [
|
14559
|
-
{
|
14560
|
-
"name": "units",
|
14561
|
-
"isdefault": false,
|
14562
|
-
"default_val": null,
|
14563
|
-
"type": "int"
|
14564
|
-
},
|
14565
|
-
{
|
14566
|
-
"name": "return_sequences",
|
14567
|
-
"isdefault": false,
|
14568
|
-
"default_val": null,
|
14569
|
-
"type": "bool"
|
14570
|
-
},
|
14571
|
-
{
|
14572
|
-
"name": "return_states",
|
14573
|
-
"isdefault": false,
|
14574
|
-
"default_val": null,
|
14575
|
-
"type": "bool"
|
14576
|
-
},
|
14577
|
-
{
|
14578
|
-
"name": "bidirectional",
|
14579
|
-
"isdefault": false,
|
14580
|
-
"default_val": null,
|
14581
|
-
"type": "bool"
|
14582
|
-
}
|
14583
|
-
],
|
14584
|
-
"options": null
|
14585
|
-
},
|
14586
14512
|
{
|
14587
14513
|
"type": "Layer",
|
14588
14514
|
"shape_calc": [
|
@@ -14713,100 +14639,6 @@
|
|
14713
14639
|
],
|
14714
14640
|
"options": null
|
14715
14641
|
},
|
14716
|
-
{
|
14717
|
-
"type": "Layer",
|
14718
|
-
"shape_calc": [
|
14719
|
-
"IdentityFunc"
|
14720
|
-
],
|
14721
|
-
"receptive_fields_func": "IdentityReceptiveFieldsFunc",
|
14722
|
-
"menu_sections": [
|
14723
|
-
"Layer",
|
14724
|
-
"Onnx"
|
14725
|
-
],
|
14726
|
-
"inputs_data": {
|
14727
|
-
"add_input_by_drag": false,
|
14728
|
-
"inputs": [
|
14729
|
-
{
|
14730
|
-
"name": "input",
|
14731
|
-
"approval_connection": [
|
14732
|
-
"Input",
|
14733
|
-
"Dataset",
|
14734
|
-
"Layer",
|
14735
|
-
"CustomLayer"
|
14736
|
-
]
|
14737
|
-
},
|
14738
|
-
{
|
14739
|
-
"name": "initial_h_state",
|
14740
|
-
"approval_connection": [
|
14741
|
-
"Input",
|
14742
|
-
"Dataset",
|
14743
|
-
"Layer",
|
14744
|
-
"CustomLayer"
|
14745
|
-
]
|
14746
|
-
}
|
14747
|
-
]
|
14748
|
-
},
|
14749
|
-
"outputs_data": {
|
14750
|
-
"outputs": [
|
14751
|
-
{
|
14752
|
-
"name": "feature_map"
|
14753
|
-
}
|
14754
|
-
]
|
14755
|
-
},
|
14756
|
-
"name": "OnnxRNN",
|
14757
|
-
"parents": [
|
14758
|
-
"onnx2kerastl",
|
14759
|
-
"customonnxlayer",
|
14760
|
-
"onnxRNN"
|
14761
|
-
],
|
14762
|
-
"properties": [
|
14763
|
-
{
|
14764
|
-
"name": "units",
|
14765
|
-
"isdefault": false,
|
14766
|
-
"default_val": null,
|
14767
|
-
"type": "int"
|
14768
|
-
},
|
14769
|
-
{
|
14770
|
-
"name": "return_sequences",
|
14771
|
-
"isdefault": false,
|
14772
|
-
"default_val": null,
|
14773
|
-
"type": "bool"
|
14774
|
-
},
|
14775
|
-
{
|
14776
|
-
"name": "return_states",
|
14777
|
-
"isdefault": false,
|
14778
|
-
"default_val": null,
|
14779
|
-
"type": "bool"
|
14780
|
-
},
|
14781
|
-
{
|
14782
|
-
"name": "bidirectional",
|
14783
|
-
"isdefault": false,
|
14784
|
-
"default_val": null,
|
14785
|
-
"type": "bool"
|
14786
|
-
},
|
14787
|
-
{
|
14788
|
-
"name": "activation",
|
14789
|
-
"isdefault": false,
|
14790
|
-
"default_val": null,
|
14791
|
-
"type": "select",
|
14792
|
-
"values": [
|
14793
|
-
"relu",
|
14794
|
-
"softmax",
|
14795
|
-
"selu",
|
14796
|
-
"softplus",
|
14797
|
-
"softsign",
|
14798
|
-
"tanh",
|
14799
|
-
"sigmoid",
|
14800
|
-
"hard_sigmoid",
|
14801
|
-
"exponential",
|
14802
|
-
"linear",
|
14803
|
-
"elu",
|
14804
|
-
"swish"
|
14805
|
-
]
|
14806
|
-
}
|
14807
|
-
],
|
14808
|
-
"options": null
|
14809
|
-
},
|
14810
14642
|
{
|
14811
14643
|
"type": "Layer",
|
14812
14644
|
"shape_calc": [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "leap-model-parser"
|
3
|
-
version = "0.1.
|
3
|
+
version = "0.1.124"
|
4
4
|
description = ""
|
5
5
|
authors = ["idan <idan.yogev@tensorleap.ai>"]
|
6
6
|
license = "MIT"
|
@@ -18,7 +18,7 @@ tensorflow = {version = "2.11.0", markers = "platform_machine == 'x86_64'"}
|
|
18
18
|
tensorflow-macos = {version = "2.11.0", markers = "platform_machine == 'arm64'"}
|
19
19
|
numpy = "^1.22.3"
|
20
20
|
onnx = "1.10.1"
|
21
|
-
onnx2kerastl = "0.0.
|
21
|
+
onnx2kerastl = "0.0.115"
|
22
22
|
keras-data-format-converter = "0.1.16"
|
23
23
|
leap-model-rebuilder = "0.1.5"
|
24
24
|
|
File without changes
|
File without changes
|
File without changes
|
{leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/__init__.py
RENAMED
File without changes
|
{leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/contract/graph.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/model_parser.py
RENAMED
File without changes
|
{leap_model_parser-0.1.123.dev4 → leap_model_parser-0.1.124}/leap_model_parser/utils/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|