code-loader 1.0.62__py3-none-any.whl → 1.0.64a0__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.
- code_loader/contract/datasetclasses.py +1 -0
- code_loader/inner_leap_binder/leapbinder.py +4 -2
- {code_loader-1.0.62.dist-info → code_loader-1.0.64a0.dist-info}/METADATA +1 -2
- {code_loader-1.0.62.dist-info → code_loader-1.0.64a0.dist-info}/RECORD +6 -6
- {code_loader-1.0.62.dist-info → code_loader-1.0.64a0.dist-info}/LICENSE +0 -0
- {code_loader-1.0.62.dist-info → code_loader-1.0.64a0.dist-info}/WHEEL +0 -0
@@ -339,7 +339,8 @@ class LeapBinder:
|
|
339
339
|
self.setup_container.metadata.append(MetadataHandler(name, function))
|
340
340
|
|
341
341
|
def set_custom_layer(self, custom_layer: Type[Any], name: str, inspect_layer: bool = False,
|
342
|
-
kernel_index: Optional[int] = None, use_custom_latent_space: bool = False
|
342
|
+
kernel_index: Optional[int] = None, use_custom_latent_space: bool = False,
|
343
|
+
build=True) -> None:
|
343
344
|
"""
|
344
345
|
Set a custom layer for the model.
|
345
346
|
|
@@ -369,7 +370,8 @@ class LeapBinder:
|
|
369
370
|
init_args = inspect.getfullargspec(custom_layer.__init__)[0][1:]
|
370
371
|
call_args = inspect.getfullargspec(custom_layer.call)[0][1:]
|
371
372
|
self.setup_container.custom_layers[name] = CustomLayerHandler(name, custom_layer, init_args, call_args,
|
372
|
-
use_custom_latent_space=use_custom_latent_space
|
373
|
+
use_custom_latent_space=use_custom_latent_space,
|
374
|
+
build=build)
|
373
375
|
|
374
376
|
def check_preprocess(self, preprocess_result: Dict[DataStateEnum, PreprocessResponse]) -> None:
|
375
377
|
preprocess_handler = self.setup_container.preprocess
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: code-loader
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.64a0
|
4
4
|
Summary:
|
5
5
|
Home-page: https://github.com/tensorleap/code-loader
|
6
6
|
License: MIT
|
@@ -13,7 +13,6 @@ Classifier: Programming Language :: Python :: 3.8
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.9
|
14
14
|
Classifier: Programming Language :: Python :: 3.10
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
16
|
-
Requires-Dist: matplotlib (>=3.3,<3.4)
|
17
16
|
Requires-Dist: numpy (>=1.22.3,<2.0.0)
|
18
17
|
Requires-Dist: psutil (>=5.9.5,<6.0.0)
|
19
18
|
Requires-Dist: pyyaml (>=6.0.2,<7.0.0)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
2
2
|
code_loader/__init__.py,sha256=6MMWr0ObOU7hkqQKgOqp4Zp3I28L7joGC9iCbQYtAJg,241
|
3
3
|
code_loader/contract/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
code_loader/contract/datasetclasses.py,sha256=
|
4
|
+
code_loader/contract/datasetclasses.py,sha256=embwSUgo7lw9iZj12B2LGxwCKp_9rjsQd7dJEEU0m3Y,6728
|
5
5
|
code_loader/contract/enums.py,sha256=6Lo7p5CUog68Fd31bCozIuOgIp_IhSiPqWWph2k3OGU,1602
|
6
6
|
code_loader/contract/exceptions.py,sha256=jWqu5i7t-0IG0jGRsKF4DjJdrsdpJjIYpUkN1F4RiyQ,51
|
7
7
|
code_loader/contract/responsedataclasses.py,sha256=RSx9m_R3LawhK5o1nAcO3hfp2F9oJYtxZr_bpP3bTmw,4005
|
@@ -17,13 +17,13 @@ code_loader/experiment_api/types.py,sha256=MY8xFARHwdVA7p4dxyhD60ShmttgTvb4qdp1o
|
|
17
17
|
code_loader/experiment_api/utils.py,sha256=XZHtxge12TS4H4-8PjV3sKuhp8Ud6ojAiIzTZJEqBqc,3304
|
18
18
|
code_loader/experiment_api/workingspace_config_utils.py,sha256=DLzXQCg4dgTV_YgaSbeTVzq-2ja_SQw4zi7LXwKL9cY,990
|
19
19
|
code_loader/inner_leap_binder/__init__.py,sha256=koOlJyMNYzGbEsoIbXathSmQ-L38N_pEXH_HvL7beXU,99
|
20
|
-
code_loader/inner_leap_binder/leapbinder.py,sha256=
|
20
|
+
code_loader/inner_leap_binder/leapbinder.py,sha256=9imkP6H9V0ScAhBaEIXzBpbihK0owHvFHaRQY3Aw9KE,25336
|
21
21
|
code_loader/inner_leap_binder/leapbinder_decorators.py,sha256=AHU88W-UJ5alHOA3pN2oq7lIMiyYWdFSM0BL2WR-FGs,20998
|
22
22
|
code_loader/leaploader.py,sha256=Tpf6A25hYuo4D0umGL3BHNYJhmz_NIwvFveQgAlsSOo,19534
|
23
23
|
code_loader/utils.py,sha256=aw2i_fqW_ADjLB66FWZd9DfpCQ7mPdMyauROC5Nd51I,2197
|
24
24
|
code_loader/visualizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
25
|
code_loader/visualizers/default_visualizers.py,sha256=VoqO9FN84yXyMjRjHjUTOt2GdTkJRMbHbXJ1cJkREkk,2230
|
26
|
-
code_loader-1.0.
|
27
|
-
code_loader-1.0.
|
28
|
-
code_loader-1.0.
|
29
|
-
code_loader-1.0.
|
26
|
+
code_loader-1.0.64a0.dist-info/LICENSE,sha256=qIwWjdspQeSMTtnFZBC8MuT-95L02FPvzRUdWFxrwJY,1067
|
27
|
+
code_loader-1.0.64a0.dist-info/METADATA,sha256=4Vn0r8aZWMWyOrqeHd_Z1LMMVBffRBuz5e06zF2WOUU,851
|
28
|
+
code_loader-1.0.64a0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
29
|
+
code_loader-1.0.64a0.dist-info/RECORD,,
|
File without changes
|
File without changes
|