leap-model-parser 0.1.133.dev10__tar.gz → 0.1.135__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.
Files changed (21) hide show
  1. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/PKG-INFO +10 -9
  2. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/contract/nodedata.py +331 -105
  3. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/contract/ui_components.json +3366 -1171
  4. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/keras_json_model_import.py +4 -4
  5. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/tlinspection/leapinspection.py +1 -1
  6. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/pyproject.toml +8 -8
  7. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/LICENSE +0 -0
  8. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/README.md +0 -0
  9. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/__init__.py +0 -0
  10. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/contract/__init__.py +0 -0
  11. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/contract/graph.py +0 -0
  12. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/contract/importmodelresponse.py +0 -0
  13. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/model_parser.py +0 -0
  14. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/__init__.py +0 -0
  15. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/layerpedia/__init__.py +0 -0
  16. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/layerpedia/layerpedia.py +0 -0
  17. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/tlinspection/__init__.py +0 -0
  18. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/uicomponents/__init__.py +0 -0
  19. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/uicomponents/generatenodedata.py +0 -0
  20. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/uicomponents/tensorflowinscpection.py +0 -0
  21. {leap_model_parser-0.1.133.dev10 → leap_model_parser-0.1.135}/leap_model_parser/utils/uicomponents/ui_components_config.yaml +0 -0
@@ -1,23 +1,24 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: leap-model-parser
3
- Version: 0.1.133.dev10
3
+ Version: 0.1.135
4
4
  Summary:
5
5
  Home-page: https://github.com/tensorleap/leap-model-parser
6
6
  License: MIT
7
7
  Author: idan
8
8
  Author-email: idan.yogev@tensorleap.ai
9
- Requires-Python: >=3.10,<=3.11.5
9
+ Requires-Python: >=3.8,<3.11
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
12
14
  Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Requires-Dist: keras-data-format-converter (==0.1.17.dev6)
15
- Requires-Dist: leap-model-rebuilder (==0.1.7.dev4)
15
+ Requires-Dist: keras-data-format-converter (==0.1.16)
16
+ Requires-Dist: leap-model-rebuilder (==0.1.5)
16
17
  Requires-Dist: numpy (>=1.22.3,<2.0.0)
17
- Requires-Dist: onnx (==1.14.1)
18
- Requires-Dist: onnx2kerastl (==0.0.122.dev10)
19
- Requires-Dist: tensorflow (==2.14.0) ; platform_machine == "x86_64"
20
- Requires-Dist: tensorflow-macos (==2.14.0) ; platform_machine == "arm64"
18
+ Requires-Dist: onnx (==1.10.1)
19
+ Requires-Dist: onnx2kerastl (==0.0.123)
20
+ Requires-Dist: tensorflow (==2.11.0) ; platform_machine == "x86_64"
21
+ Requires-Dist: tensorflow-macos (==2.11.0) ; platform_machine == "arm64"
21
22
  Project-URL: Repository, https://github.com/tensorleap/leap-model-parser
22
23
  Description-Content-Type: text/markdown
23
24
 
@@ -1,7 +1,7 @@
1
- from typing import Union
2
1
  from dataclasses import dataclass
3
- from enum import Enum
4
2
  from typing import List
3
+ from typing import Union
4
+ from enum import Enum
5
5
 
6
6
 
7
7
  class ActivationsEnum(Enum):
@@ -95,6 +95,8 @@ class NodeType(Enum):
95
95
  Cropping1D = "Cropping1D"
96
96
  Cropping2D = "Cropping2D"
97
97
  Cropping3D = "Cropping3D"
98
+ CuDNNGRU = "CuDNNGRU"
99
+ CuDNNLSTM = "CuDNNLSTM"
98
100
  Dense = "Dense"
99
101
  DepthwiseConv1D = "DepthwiseConv1D"
100
102
  DepthwiseConv2D = "DepthwiseConv2D"
@@ -106,6 +108,10 @@ class NodeType(Enum):
106
108
  Flatten = "Flatten"
107
109
  GRU = "GRU"
108
110
  GRUCell = "GRUCell"
111
+ GRUCellV1 = "GRUCellV1"
112
+ GRUCellV2 = "GRUCellV2"
113
+ GRUV1 = "GRUV1"
114
+ GRUV2 = "GRUV2"
109
115
  GaussianDropout = "GaussianDropout"
110
116
  GaussianNoise = "GaussianNoise"
111
117
  GlobalAveragePooling1D = "GlobalAveragePooling1D"
@@ -115,10 +121,13 @@ class NodeType(Enum):
115
121
  GlobalMaxPooling2D = "GlobalMaxPooling2D"
116
122
  GlobalMaxPooling3D = "GlobalMaxPooling3D"
117
123
  GroupNormalization = "GroupNormalization"
118
- Identity = "Identity"
119
124
  IntegerLookup = "IntegerLookup"
120
125
  LSTM = "LSTM"
121
126
  LSTMCell = "LSTMCell"
127
+ LSTMCellV1 = "LSTMCellV1"
128
+ LSTMCellV2 = "LSTMCellV2"
129
+ LSTMV1 = "LSTMV1"
130
+ LSTMV2 = "LSTMV2"
122
131
  LayerNormalization = "LayerNormalization"
123
132
  LeakyReLU = "LeakyReLU"
124
133
  LocallyConnected1D = "LocallyConnected1D"
@@ -138,6 +147,7 @@ class NodeType(Enum):
138
147
  RandomContrast = "RandomContrast"
139
148
  RandomCrop = "RandomCrop"
140
149
  RandomFlip = "RandomFlip"
150
+ RandomFourierFeatures = "RandomFourierFeatures"
141
151
  RandomHeight = "RandomHeight"
142
152
  RandomRotation = "RandomRotation"
143
153
  RandomTranslation = "RandomTranslation"
@@ -155,9 +165,9 @@ class NodeType(Enum):
155
165
  SpatialDropout1D = "SpatialDropout1D"
156
166
  SpatialDropout2D = "SpatialDropout2D"
157
167
  SpatialDropout3D = "SpatialDropout3D"
158
- SpectralNormalization = "SpectralNormalization"
159
168
  StringLookup = "StringLookup"
160
169
  Subtract = "Subtract"
170
+ SyncBatchNormalization = "SyncBatchNormalization"
161
171
  TextVectorization = "TextVectorization"
162
172
  ThresholdedReLU = "ThresholdedReLU"
163
173
  TimeDistributed = "TimeDistributed"
@@ -171,7 +181,6 @@ class NodeType(Enum):
171
181
  BinaryCrossentropy = "BinaryCrossentropy"
172
182
  BinaryFocalCrossentropy = "BinaryFocalCrossentropy"
173
183
  CategoricalCrossentropy = "CategoricalCrossentropy"
174
- CategoricalFocalCrossentropy = "CategoricalFocalCrossentropy"
175
184
  CategoricalHinge = "CategoricalHinge"
176
185
  CosineSimilarity = "CosineSimilarity"
177
186
  Hinge = "Hinge"
@@ -185,17 +194,19 @@ class NodeType(Enum):
185
194
  Poisson = "Poisson"
186
195
  SquaredHinge = "SquaredHinge"
187
196
  Adadelta = "Adadelta"
188
- Adafactor = "Adafactor"
189
197
  Adagrad = "Adagrad"
190
198
  Adam = "Adam"
191
- AdamW = "AdamW"
192
199
  Adamax = "Adamax"
193
200
  Ftrl = "Ftrl"
194
- Lion = "Lion"
195
201
  Nadam = "Nadam"
196
202
  RMSprop = "RMSprop"
197
203
  SGD = "SGD"
204
+ OnnxAbs = "OnnxAbs"
205
+ OnnxErf = "OnnxErf"
206
+ OnnxHardSigmoid = "OnnxHardSigmoid"
198
207
  OnnxLSTM = "OnnxLSTM"
208
+ OnnxReduceMean = "OnnxReduceMean"
209
+ OnnxSqrt = "OnnxSqrt"
199
210
  Dataset = "Dataset"
200
211
  Input = "Input"
201
212
  RepresentationBlock = "RepresentationBlock"
@@ -289,7 +300,6 @@ class BatchNormalization:
289
300
  gamma_regularizer: RegularizerEnum
290
301
  beta_constraint: ConstraintEnum
291
302
  gamma_constraint: ConstraintEnum
292
- synchronized: bool
293
303
  type: NodeType
294
304
 
295
305
 
@@ -550,6 +560,47 @@ class Cropping3D:
550
560
  type: NodeType
551
561
 
552
562
 
563
+ @dataclass
564
+ class CuDNNGRU:
565
+ units: int
566
+ kernel_initializer: InitializersEnum
567
+ recurrent_initializer: str
568
+ bias_initializer: InitializersEnum
569
+ kernel_regularizer: RegularizerEnum
570
+ recurrent_regularizer: RegularizerEnum
571
+ bias_regularizer: RegularizerEnum
572
+ activity_regularizer: RegularizerEnum
573
+ kernel_constraint: ConstraintEnum
574
+ recurrent_constraint: ConstraintEnum
575
+ bias_constraint: ConstraintEnum
576
+ return_sequences: bool
577
+ return_state: bool
578
+ go_backwards: bool
579
+ stateful: bool
580
+ type: NodeType
581
+
582
+
583
+ @dataclass
584
+ class CuDNNLSTM:
585
+ units: int
586
+ kernel_initializer: InitializersEnum
587
+ recurrent_initializer: str
588
+ bias_initializer: InitializersEnum
589
+ unit_forget_bias: bool
590
+ kernel_regularizer: RegularizerEnum
591
+ recurrent_regularizer: RegularizerEnum
592
+ bias_regularizer: RegularizerEnum
593
+ activity_regularizer: RegularizerEnum
594
+ kernel_constraint: ConstraintEnum
595
+ recurrent_constraint: ConstraintEnum
596
+ bias_constraint: ConstraintEnum
597
+ return_sequences: bool
598
+ return_state: bool
599
+ go_backwards: bool
600
+ stateful: bool
601
+ type: NodeType
602
+
603
+
553
604
  @dataclass
554
605
  class Dense:
555
606
  units: int
@@ -644,7 +695,6 @@ class Embedding:
644
695
  embeddings_constraint: ConstraintEnum
645
696
  mask_zero: bool
646
697
  input_length: List[int]
647
- sparse: bool
648
698
  type: NodeType
649
699
 
650
700
 
@@ -702,6 +752,103 @@ class GRUCell:
702
752
  type: NodeType
703
753
 
704
754
 
755
+ @dataclass
756
+ class GRUCellV1:
757
+ units: int
758
+ activation: ActivationsEnum
759
+ recurrent_activation: str
760
+ use_bias: bool
761
+ kernel_initializer: InitializersEnum
762
+ recurrent_initializer: str
763
+ bias_initializer: InitializersEnum
764
+ kernel_regularizer: RegularizerEnum
765
+ recurrent_regularizer: RegularizerEnum
766
+ bias_regularizer: RegularizerEnum
767
+ kernel_constraint: ConstraintEnum
768
+ recurrent_constraint: ConstraintEnum
769
+ bias_constraint: ConstraintEnum
770
+ dropout: float
771
+ recurrent_dropout: float
772
+ reset_after: bool
773
+ type: NodeType
774
+
775
+
776
+ @dataclass
777
+ class GRUCellV2:
778
+ units: int
779
+ activation: ActivationsEnum
780
+ recurrent_activation: str
781
+ use_bias: bool
782
+ kernel_initializer: InitializersEnum
783
+ recurrent_initializer: str
784
+ bias_initializer: InitializersEnum
785
+ kernel_regularizer: RegularizerEnum
786
+ recurrent_regularizer: RegularizerEnum
787
+ bias_regularizer: RegularizerEnum
788
+ kernel_constraint: ConstraintEnum
789
+ recurrent_constraint: ConstraintEnum
790
+ bias_constraint: ConstraintEnum
791
+ dropout: float
792
+ recurrent_dropout: float
793
+ reset_after: bool
794
+ type: NodeType
795
+
796
+
797
+ @dataclass
798
+ class GRUV1:
799
+ units: int
800
+ activation: ActivationsEnum
801
+ recurrent_activation: str
802
+ use_bias: bool
803
+ kernel_initializer: InitializersEnum
804
+ recurrent_initializer: str
805
+ bias_initializer: InitializersEnum
806
+ kernel_regularizer: RegularizerEnum
807
+ recurrent_regularizer: RegularizerEnum
808
+ bias_regularizer: RegularizerEnum
809
+ activity_regularizer: RegularizerEnum
810
+ kernel_constraint: ConstraintEnum
811
+ recurrent_constraint: ConstraintEnum
812
+ bias_constraint: ConstraintEnum
813
+ dropout: float
814
+ recurrent_dropout: float
815
+ return_sequences: bool
816
+ return_state: bool
817
+ go_backwards: bool
818
+ stateful: bool
819
+ unroll: bool
820
+ reset_after: bool
821
+ type: NodeType
822
+
823
+
824
+ @dataclass
825
+ class GRUV2:
826
+ units: int
827
+ activation: ActivationsEnum
828
+ recurrent_activation: str
829
+ use_bias: bool
830
+ kernel_initializer: InitializersEnum
831
+ recurrent_initializer: str
832
+ bias_initializer: InitializersEnum
833
+ kernel_regularizer: RegularizerEnum
834
+ recurrent_regularizer: RegularizerEnum
835
+ bias_regularizer: RegularizerEnum
836
+ activity_regularizer: RegularizerEnum
837
+ kernel_constraint: ConstraintEnum
838
+ recurrent_constraint: ConstraintEnum
839
+ bias_constraint: ConstraintEnum
840
+ dropout: float
841
+ recurrent_dropout: float
842
+ return_sequences: bool
843
+ return_state: bool
844
+ go_backwards: bool
845
+ stateful: bool
846
+ unroll: bool
847
+ time_major: bool
848
+ reset_after: bool
849
+ type: NodeType
850
+
851
+
705
852
  @dataclass
706
853
  class GaussianDropout:
707
854
  rate: float
@@ -767,14 +914,6 @@ class GroupNormalization:
767
914
  type: NodeType
768
915
 
769
916
 
770
- @dataclass
771
- class Identity:
772
- trainable: bool
773
- dtype: List[int]
774
- dynamic: bool
775
- type: NodeType
776
-
777
-
778
917
  @dataclass
779
918
  class IntegerLookup:
780
919
  max_tokens: List[int]
@@ -840,6 +979,103 @@ class LSTMCell:
840
979
  type: NodeType
841
980
 
842
981
 
982
+ @dataclass
983
+ class LSTMCellV1:
984
+ units: int
985
+ activation: ActivationsEnum
986
+ recurrent_activation: str
987
+ use_bias: bool
988
+ kernel_initializer: InitializersEnum
989
+ recurrent_initializer: str
990
+ bias_initializer: InitializersEnum
991
+ unit_forget_bias: bool
992
+ kernel_regularizer: RegularizerEnum
993
+ recurrent_regularizer: RegularizerEnum
994
+ bias_regularizer: RegularizerEnum
995
+ kernel_constraint: ConstraintEnum
996
+ recurrent_constraint: ConstraintEnum
997
+ bias_constraint: ConstraintEnum
998
+ dropout: float
999
+ recurrent_dropout: float
1000
+ type: NodeType
1001
+
1002
+
1003
+ @dataclass
1004
+ class LSTMCellV2:
1005
+ units: int
1006
+ activation: ActivationsEnum
1007
+ recurrent_activation: str
1008
+ use_bias: bool
1009
+ kernel_initializer: InitializersEnum
1010
+ recurrent_initializer: str
1011
+ bias_initializer: InitializersEnum
1012
+ unit_forget_bias: bool
1013
+ kernel_regularizer: RegularizerEnum
1014
+ recurrent_regularizer: RegularizerEnum
1015
+ bias_regularizer: RegularizerEnum
1016
+ kernel_constraint: ConstraintEnum
1017
+ recurrent_constraint: ConstraintEnum
1018
+ bias_constraint: ConstraintEnum
1019
+ dropout: float
1020
+ recurrent_dropout: float
1021
+ type: NodeType
1022
+
1023
+
1024
+ @dataclass
1025
+ class LSTMV1:
1026
+ units: int
1027
+ activation: ActivationsEnum
1028
+ recurrent_activation: str
1029
+ use_bias: bool
1030
+ kernel_initializer: InitializersEnum
1031
+ recurrent_initializer: str
1032
+ bias_initializer: InitializersEnum
1033
+ unit_forget_bias: bool
1034
+ kernel_regularizer: RegularizerEnum
1035
+ recurrent_regularizer: RegularizerEnum
1036
+ bias_regularizer: RegularizerEnum
1037
+ activity_regularizer: RegularizerEnum
1038
+ kernel_constraint: ConstraintEnum
1039
+ recurrent_constraint: ConstraintEnum
1040
+ bias_constraint: ConstraintEnum
1041
+ dropout: float
1042
+ recurrent_dropout: float
1043
+ return_sequences: bool
1044
+ return_state: bool
1045
+ go_backwards: bool
1046
+ stateful: bool
1047
+ unroll: bool
1048
+ type: NodeType
1049
+
1050
+
1051
+ @dataclass
1052
+ class LSTMV2:
1053
+ units: int
1054
+ activation: ActivationsEnum
1055
+ recurrent_activation: str
1056
+ use_bias: bool
1057
+ kernel_initializer: InitializersEnum
1058
+ recurrent_initializer: str
1059
+ bias_initializer: InitializersEnum
1060
+ unit_forget_bias: bool
1061
+ kernel_regularizer: RegularizerEnum
1062
+ recurrent_regularizer: RegularizerEnum
1063
+ bias_regularizer: RegularizerEnum
1064
+ activity_regularizer: RegularizerEnum
1065
+ kernel_constraint: ConstraintEnum
1066
+ recurrent_constraint: ConstraintEnum
1067
+ bias_constraint: ConstraintEnum
1068
+ dropout: float
1069
+ recurrent_dropout: float
1070
+ return_sequences: bool
1071
+ return_state: bool
1072
+ go_backwards: bool
1073
+ stateful: bool
1074
+ time_major: bool
1075
+ unroll: bool
1076
+ type: NodeType
1077
+
1078
+
843
1079
  @dataclass
844
1080
  class LayerNormalization:
845
1081
  axis: int
@@ -1017,9 +1253,18 @@ class RandomFlip:
1017
1253
  type: NodeType
1018
1254
 
1019
1255
 
1256
+ @dataclass
1257
+ class RandomFourierFeatures:
1258
+ output_dim: int
1259
+ kernel_initializer: InitializersEnum
1260
+ scale: List[int]
1261
+ trainable: bool
1262
+ type: NodeType
1263
+
1264
+
1020
1265
  @dataclass
1021
1266
  class RandomHeight:
1022
- factor: float
1267
+ factor: List[int]
1023
1268
  interpolation: str
1024
1269
  seed: List[int]
1025
1270
  type: NodeType
@@ -1048,7 +1293,7 @@ class RandomTranslation:
1048
1293
 
1049
1294
  @dataclass
1050
1295
  class RandomWidth:
1051
- factor: float
1296
+ factor: List[int]
1052
1297
  interpolation: str
1053
1298
  seed: List[int]
1054
1299
  type: NodeType
@@ -1056,7 +1301,7 @@ class RandomWidth:
1056
1301
 
1057
1302
  @dataclass
1058
1303
  class RandomZoom:
1059
- height_factor: float
1304
+ height_factor: List[int]
1060
1305
  width_factor: List[int]
1061
1306
  fill_mode: str
1062
1307
  interpolation: str
@@ -1208,12 +1453,6 @@ class SpatialDropout3D:
1208
1453
  type: NodeType
1209
1454
 
1210
1455
 
1211
- @dataclass
1212
- class SpectralNormalization:
1213
- power_iterations: int
1214
- type: NodeType
1215
-
1216
-
1217
1456
  @dataclass
1218
1457
  class StringLookup:
1219
1458
  max_tokens: List[int]
@@ -1235,6 +1474,24 @@ class Subtract:
1235
1474
  type: NodeType
1236
1475
 
1237
1476
 
1477
+ @dataclass
1478
+ class SyncBatchNormalization:
1479
+ axis: int
1480
+ momentum: float
1481
+ epsilon: float
1482
+ center: bool
1483
+ scale: bool
1484
+ beta_initializer: InitializersEnum
1485
+ gamma_initializer: InitializersEnum
1486
+ moving_mean_initializer: InitializersEnum
1487
+ moving_variance_initializer: InitializersEnum
1488
+ beta_regularizer: RegularizerEnum
1489
+ gamma_regularizer: RegularizerEnum
1490
+ beta_constraint: ConstraintEnum
1491
+ gamma_constraint: ConstraintEnum
1492
+ type: NodeType
1493
+
1494
+
1238
1495
  @dataclass
1239
1496
  class TextVectorization:
1240
1497
  max_tokens: List[int]
@@ -1333,16 +1590,6 @@ class CategoricalCrossentropy:
1333
1590
  type: NodeType
1334
1591
 
1335
1592
 
1336
- @dataclass
1337
- class CategoricalFocalCrossentropy:
1338
- alpha: float
1339
- gamma: float
1340
- from_logits: bool
1341
- label_smoothing: float
1342
- axis: int
1343
- type: NodeType
1344
-
1345
-
1346
1593
  @dataclass
1347
1594
  class CategoricalHinge:
1348
1595
  type: NodeType
@@ -1421,25 +1668,6 @@ class Adadelta:
1421
1668
  type: NodeType
1422
1669
 
1423
1670
 
1424
- @dataclass
1425
- class Adafactor:
1426
- learning_rate: float
1427
- beta_2_decay: float
1428
- epsilon_1: float
1429
- epsilon_2: float
1430
- clip_threshold: float
1431
- relative_step: bool
1432
- weight_decay: List[int]
1433
- clipnorm: List[int]
1434
- clipvalue: List[int]
1435
- global_clipnorm: List[int]
1436
- use_ema: bool
1437
- ema_momentum: float
1438
- ema_overwrite_frequency: List[int]
1439
- jit_compile: bool
1440
- type: NodeType
1441
-
1442
-
1443
1671
  @dataclass
1444
1672
  class Adagrad:
1445
1673
  learning_rate: float
@@ -1474,24 +1702,6 @@ class Adam:
1474
1702
  type: NodeType
1475
1703
 
1476
1704
 
1477
- @dataclass
1478
- class AdamW:
1479
- learning_rate: float
1480
- weight_decay: float
1481
- beta_1: float
1482
- beta_2: float
1483
- epsilon: float
1484
- amsgrad: bool
1485
- clipnorm: List[int]
1486
- clipvalue: List[int]
1487
- global_clipnorm: List[int]
1488
- use_ema: bool
1489
- ema_momentum: float
1490
- ema_overwrite_frequency: List[int]
1491
- jit_compile: bool
1492
- type: NodeType
1493
-
1494
-
1495
1705
  @dataclass
1496
1706
  class Adamax:
1497
1707
  learning_rate: float
@@ -1529,22 +1739,6 @@ class Ftrl:
1529
1739
  type: NodeType
1530
1740
 
1531
1741
 
1532
- @dataclass
1533
- class Lion:
1534
- learning_rate: float
1535
- beta_1: float
1536
- beta_2: float
1537
- weight_decay: List[int]
1538
- clipnorm: List[int]
1539
- clipvalue: List[int]
1540
- global_clipnorm: List[int]
1541
- use_ema: bool
1542
- ema_momentum: float
1543
- ema_overwrite_frequency: List[int]
1544
- jit_compile: bool
1545
- type: NodeType
1546
-
1547
-
1548
1742
  @dataclass
1549
1743
  class Nadam:
1550
1744
  learning_rate: float
@@ -1585,6 +1779,7 @@ class SGD:
1585
1779
  learning_rate: float
1586
1780
  momentum: float
1587
1781
  nesterov: bool
1782
+ amsgrad: bool
1588
1783
  weight_decay: List[int]
1589
1784
  clipnorm: List[int]
1590
1785
  clipvalue: List[int]
@@ -1596,6 +1791,23 @@ class SGD:
1596
1791
  type: NodeType
1597
1792
 
1598
1793
 
1794
+ @dataclass
1795
+ class OnnxAbs:
1796
+ type: NodeType
1797
+
1798
+
1799
+ @dataclass
1800
+ class OnnxErf:
1801
+ type: NodeType
1802
+
1803
+
1804
+ @dataclass
1805
+ class OnnxHardSigmoid:
1806
+ alpha: float
1807
+ beta: float
1808
+ type: NodeType
1809
+
1810
+
1599
1811
  @dataclass
1600
1812
  class OnnxLSTM:
1601
1813
  units: int
@@ -1604,6 +1816,18 @@ class OnnxLSTM:
1604
1816
  type: NodeType
1605
1817
 
1606
1818
 
1819
+ @dataclass
1820
+ class OnnxReduceMean:
1821
+ axes: List[int]
1822
+ keepdims: bool
1823
+ type: NodeType
1824
+
1825
+
1826
+ @dataclass
1827
+ class OnnxSqrt:
1828
+ type: NodeType
1829
+
1830
+
1607
1831
  @dataclass
1608
1832
  class Dataset:
1609
1833
  type: NodeType
@@ -1691,20 +1915,22 @@ class NodeDataTypes:
1691
1915
  props: Union[Activation, ActivityRegularization, Add, AdditiveAttention, AlphaDropout, Average, AveragePooling1D,
1692
1916
  AveragePooling2D, AveragePooling3D, BatchNormalization, Bidirectional, CategoryEncoding, CenterCrop,
1693
1917
  Concatenate, Conv1D, Conv1DTranspose, Conv2D, Conv2DTranspose, Conv3D, Conv3DTranspose, ConvLSTM1D,
1694
- ConvLSTM2D, ConvLSTM3D, Cropping1D, Cropping2D, Cropping3D, Dense, DepthwiseConv1D, DepthwiseConv2D,
1695
- Discretization, Dot, Dropout, ELU, Embedding, Flatten, GRU, GRUCell, GaussianDropout, GaussianNoise,
1696
- GlobalAveragePooling1D, GlobalAveragePooling2D, GlobalAveragePooling3D, GlobalMaxPooling1D,
1697
- GlobalMaxPooling2D, GlobalMaxPooling3D, GroupNormalization, Identity, IntegerLookup, LSTM, LSTMCell,
1698
- LayerNormalization, LeakyReLU, LocallyConnected1D, LocallyConnected2D, Masking, MaxPooling1D,
1918
+ ConvLSTM2D, ConvLSTM3D, Cropping1D, Cropping2D, Cropping3D, CuDNNGRU, CuDNNLSTM, Dense,
1919
+ DepthwiseConv1D, DepthwiseConv2D, Discretization, Dot, Dropout, ELU, Embedding, Flatten, GRU, GRUCell,
1920
+ GRUCellV1, GRUCellV2, GRUV1, GRUV2, GaussianDropout, GaussianNoise, GlobalAveragePooling1D,
1921
+ GlobalAveragePooling2D, GlobalAveragePooling3D, GlobalMaxPooling1D, GlobalMaxPooling2D,
1922
+ GlobalMaxPooling3D, GroupNormalization, IntegerLookup, LSTM, LSTMCell, LSTMCellV1, LSTMCellV2, LSTMV1,
1923
+ LSTMV2, LayerNormalization, LeakyReLU, LocallyConnected1D, LocallyConnected2D, Masking, MaxPooling1D,
1699
1924
  MaxPooling2D, MaxPooling3D, Maximum, Minimum, MultiHeadAttention, Multiply, Normalization, PReLU,
1700
- Permute, RandomBrightness, RandomContrast, RandomCrop, RandomFlip, RandomHeight, RandomRotation,
1701
- RandomTranslation, RandomWidth, RandomZoom, ReLU, RepeatVector, Reshape, Resizing, SeparableConv1D,
1702
- SeparableConv2D, SimpleRNN, SimpleRNNCell, Softmax, SpatialDropout1D, SpatialDropout2D,
1703
- SpatialDropout3D, SpectralNormalization, StringLookup, Subtract, TextVectorization, ThresholdedReLU,
1704
- TimeDistributed, UnitNormalization, UpSampling1D, UpSampling2D, UpSampling3D, ZeroPadding1D,
1705
- ZeroPadding2D, ZeroPadding3D, BinaryCrossentropy, BinaryFocalCrossentropy, CategoricalCrossentropy,
1706
- CategoricalFocalCrossentropy, CategoricalHinge, CosineSimilarity, Hinge, Huber, KLDivergence, LogCosh,
1925
+ Permute, RandomBrightness, RandomContrast, RandomCrop, RandomFlip, RandomFourierFeatures, RandomHeight,
1926
+ RandomRotation, RandomTranslation, RandomWidth, RandomZoom, ReLU, RepeatVector, Reshape, Resizing,
1927
+ SeparableConv1D, SeparableConv2D, SimpleRNN, SimpleRNNCell, Softmax, SpatialDropout1D,
1928
+ SpatialDropout2D, SpatialDropout3D, StringLookup, Subtract, SyncBatchNormalization, TextVectorization,
1929
+ ThresholdedReLU, TimeDistributed, UnitNormalization, UpSampling1D, UpSampling2D, UpSampling3D,
1930
+ ZeroPadding1D, ZeroPadding2D, ZeroPadding3D, BinaryCrossentropy, BinaryFocalCrossentropy,
1931
+ CategoricalCrossentropy, CategoricalHinge, CosineSimilarity, Hinge, Huber, KLDivergence, LogCosh,
1707
1932
  MeanAbsoluteError, MeanAbsolutePercentageError, MeanSquaredError, MeanSquaredLogarithmicError, Poisson,
1708
- SquaredHinge, Adadelta, Adafactor, Adagrad, Adam, AdamW, Adamax, Ftrl, Lion, Nadam, RMSprop, SGD,
1709
- OnnxLSTM, Dataset, Input, RepresentationBlock, GroundTruth, CustomLayer, CustomLoss, Visualizer,
1710
- Metric, Lambda, TFOpLambda, SlicingOpLambda, Repeat, Variable, Gather, FixedDropout]
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]