leap-model-parser 0.1.96__py3-none-any.whl → 0.1.98__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.
- leap_model_parser/contract/nodedata.py +11 -4
- leap_model_parser/contract/ui_components.json +47 -0
- {leap_model_parser-0.1.96.dist-info → leap_model_parser-0.1.98.dist-info}/METADATA +2 -2
- {leap_model_parser-0.1.96.dist-info → leap_model_parser-0.1.98.dist-info}/RECORD +7 -7
- {leap_model_parser-0.1.96.dist-info → leap_model_parser-0.1.98.dist-info}/LICENSE +0 -0
- {leap_model_parser-0.1.96.dist-info → leap_model_parser-0.1.98.dist-info}/WHEEL +0 -0
- {leap_model_parser-0.1.96.dist-info → leap_model_parser-0.1.98.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
from dataclasses import dataclass
|
2
|
-
from typing import List
|
3
2
|
from typing import Union
|
3
|
+
from typing import List
|
4
4
|
from enum import Enum
|
5
5
|
|
6
6
|
|
@@ -203,6 +203,7 @@ class NodeType(Enum):
|
|
203
203
|
SGD = "SGD"
|
204
204
|
OnnxAbs = "OnnxAbs"
|
205
205
|
OnnxErf = "OnnxErf"
|
206
|
+
OnnxGridSampler = "OnnxGridSampler"
|
206
207
|
OnnxHardSigmoid = "OnnxHardSigmoid"
|
207
208
|
OnnxLSTM = "OnnxLSTM"
|
208
209
|
OnnxReduceMean = "OnnxReduceMean"
|
@@ -1801,6 +1802,12 @@ class OnnxErf:
|
|
1801
1802
|
type: NodeType
|
1802
1803
|
|
1803
1804
|
|
1805
|
+
@dataclass
|
1806
|
+
class OnnxGridSampler:
|
1807
|
+
sample_grid: List[int]
|
1808
|
+
type: NodeType
|
1809
|
+
|
1810
|
+
|
1804
1811
|
@dataclass
|
1805
1812
|
class OnnxHardSigmoid:
|
1806
1813
|
alpha: float
|
@@ -1931,6 +1938,6 @@ class NodeDataTypes:
|
|
1931
1938
|
CategoricalCrossentropy, CategoricalHinge, CosineSimilarity, Hinge, Huber, KLDivergence, LogCosh,
|
1932
1939
|
MeanAbsoluteError, MeanAbsolutePercentageError, MeanSquaredError, MeanSquaredLogarithmicError, Poisson,
|
1933
1940
|
SquaredHinge, Adadelta, Adagrad, Adam, Adamax, Ftrl, Nadam, RMSprop, SGD, OnnxAbs, OnnxErf,
|
1934
|
-
OnnxHardSigmoid, OnnxLSTM, OnnxReduceMean, OnnxSqrt, Dataset, Input,
|
1935
|
-
CustomLayer, CustomLoss, Visualizer, Metric, Lambda, TFOpLambda,
|
1936
|
-
Gather, FixedDropout]
|
1941
|
+
OnnxGridSampler, OnnxHardSigmoid, OnnxLSTM, OnnxReduceMean, OnnxSqrt, Dataset, Input,
|
1942
|
+
RepresentationBlock, GroundTruth, CustomLayer, CustomLoss, Visualizer, Metric, Lambda, TFOpLambda,
|
1943
|
+
SlicingOpLambda, Repeat, Variable, Gather, FixedDropout]
|
@@ -14509,6 +14509,53 @@
|
|
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
|
+
},
|
14536
|
+
"outputs_data": {
|
14537
|
+
"outputs": [
|
14538
|
+
{
|
14539
|
+
"name": "feature_map"
|
14540
|
+
}
|
14541
|
+
]
|
14542
|
+
},
|
14543
|
+
"name": "OnnxGridSampler",
|
14544
|
+
"parents": [
|
14545
|
+
"onnx2kerastl",
|
14546
|
+
"customonnxlayer",
|
14547
|
+
"onnxgridsampler"
|
14548
|
+
],
|
14549
|
+
"properties": [
|
14550
|
+
{
|
14551
|
+
"name": "sample_grid",
|
14552
|
+
"isdefault": false,
|
14553
|
+
"default_val": null,
|
14554
|
+
"type": "tuple"
|
14555
|
+
}
|
14556
|
+
],
|
14557
|
+
"options": null
|
14558
|
+
},
|
14512
14559
|
{
|
14513
14560
|
"type": "Layer",
|
14514
14561
|
"shape_calc": [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: leap-model-parser
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.98
|
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.
|
19
|
+
Requires-Dist: onnx2kerastl (==0.0.93)
|
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
|
@@ -2,8 +2,8 @@ LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
|
2
2
|
leap_model_parser/__init__.py,sha256=OAU7rFHAVVWUM-cDtQ4Ohum567KN8M-YTkHZp5KiYbo,132
|
3
3
|
leap_model_parser/contract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
leap_model_parser/contract/importmodelresponse.py,sha256=YNtTTJX40GmkzP6gYDw7_JcnNgwqtrTHkaV9vTFSYs4,691
|
5
|
-
leap_model_parser/contract/nodedata.py,sha256=
|
6
|
-
leap_model_parser/contract/ui_components.json,sha256=
|
5
|
+
leap_model_parser/contract/nodedata.py,sha256=zDeea3uIypxzU3MTo10OfEmog_3N1PeqmljVHYcP1wI,43465
|
6
|
+
leap_model_parser/contract/ui_components.json,sha256=sOozS6vyG0GF3NS8msZPG2byMqMIhi4tw2Vydox_6wQ,417479
|
7
7
|
leap_model_parser/keras_json_model_import.py,sha256=D1a7V7lV9yiFPqhhrjHKmwNIRYWO-QuFxlRwTdvjsOE,15485
|
8
8
|
leap_model_parser/model_parser.py,sha256=pvDGFyez_RV1S4khlfIWCmxFi3hfMNzH_FkUzdMCDiw,6766
|
9
9
|
leap_model_parser/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -15,8 +15,8 @@ leap_model_parser/utils/uicomponents/__init__.py,sha256=ShNUN5NLzaxOQ5ByNUUWJG6v
|
|
15
15
|
leap_model_parser/utils/uicomponents/generatenodedata.py,sha256=LRaPlO5jJ9pUtkvLG9QaGBRnu860wNH_OkBM6UKLGGQ,3035
|
16
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.
|
19
|
-
leap_model_parser-0.1.
|
20
|
-
leap_model_parser-0.1.
|
21
|
-
leap_model_parser-0.1.
|
22
|
-
leap_model_parser-0.1.
|
18
|
+
leap_model_parser-0.1.98.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
19
|
+
leap_model_parser-0.1.98.dist-info/METADATA,sha256=NOf6UayoXFekinO9ZI5ysF12Cknr-CkczqEyE36MItw,1008
|
20
|
+
leap_model_parser-0.1.98.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
21
|
+
leap_model_parser-0.1.98.dist-info/entry_points.txt,sha256=ZvV6EuQt1uAqwapNg5Lo2qjJM9ZG5g2wfzZoLh_Ztyk,77
|
22
|
+
leap_model_parser-0.1.98.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|