alberta-framework 0.2.0__py3-none-any.whl → 0.2.1__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.
- alberta_framework/core/types.py +4 -1
- {alberta_framework-0.2.0.dist-info → alberta_framework-0.2.1.dist-info}/METADATA +1 -1
- {alberta_framework-0.2.0.dist-info → alberta_framework-0.2.1.dist-info}/RECORD +5 -5
- {alberta_framework-0.2.0.dist-info → alberta_framework-0.2.1.dist-info}/WHEEL +0 -0
- {alberta_framework-0.2.0.dist-info → alberta_framework-0.2.1.dist-info}/licenses/LICENSE +0 -0
alberta_framework/core/types.py
CHANGED
|
@@ -4,11 +4,14 @@ This module defines the core data types used throughout the framework,
|
|
|
4
4
|
following JAX conventions with immutable NamedTuples for state management.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from typing import NamedTuple
|
|
7
|
+
from typing import TYPE_CHECKING, NamedTuple
|
|
8
8
|
|
|
9
9
|
import jax.numpy as jnp
|
|
10
10
|
from jax import Array
|
|
11
11
|
|
|
12
|
+
if TYPE_CHECKING:
|
|
13
|
+
from alberta_framework.core.learners import NormalizedLearnerState
|
|
14
|
+
|
|
12
15
|
# Type aliases for clarity
|
|
13
16
|
Observation = Array # x_t: feature vector
|
|
14
17
|
Target = Array # y*_t: desired output
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alberta-framework
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Implementation of the Alberta Plan for AI Research - continual learning with meta-learned step-sizes
|
|
5
5
|
Project-URL: Homepage, https://github.com/j-klawson/alberta-framework
|
|
6
6
|
Project-URL: Repository, https://github.com/j-klawson/alberta-framework
|
|
@@ -4,7 +4,7 @@ alberta_framework/core/__init__.py,sha256=PSrC4zSxgm_6YXWEQ80aZaunpbQ58QexxKmDDU
|
|
|
4
4
|
alberta_framework/core/learners.py,sha256=khZYkae5rlIyV13BW3-hrtPSjGFXPj2IUTM1z74xTTA,37724
|
|
5
5
|
alberta_framework/core/normalizers.py,sha256=Z_d3H17qoXh87DE7k41imvWzkVJQ2xQgDUP7GYSNzAY,5903
|
|
6
6
|
alberta_framework/core/optimizers.py,sha256=OefVuDDG1phh1QQIUyVPsQckl41VrpWFG7hY2eqyc64,14585
|
|
7
|
-
alberta_framework/core/types.py,sha256=
|
|
7
|
+
alberta_framework/core/types.py,sha256=svV2Q5-0bj7reQ_hh-pRGp2wYfde5VWgTiRm4hUCDKI,9297
|
|
8
8
|
alberta_framework/streams/__init__.py,sha256=bsDgWjWjotDQHMI2lno3dgk8N14pd-2mYAQpXAtCPx4,2035
|
|
9
9
|
alberta_framework/streams/base.py,sha256=9rJxvUgmzd5u2bRV4vi5PxhUvj39EZTD4bZHo-Ptn-U,2168
|
|
10
10
|
alberta_framework/streams/gymnasium.py,sha256=s733X7aEgy05hcSazjZEhBiJChtEL7uVpxwh0fXBQZA,21980
|
|
@@ -16,7 +16,7 @@ alberta_framework/utils/metrics.py,sha256=1cryNJoboO67vvRhausaucbYZFgdL_06vaf08U
|
|
|
16
16
|
alberta_framework/utils/statistics.py,sha256=4fbzNlmsdUaM5lLW1BhL5B5MUpnqimQlwJklZ4x0y0U,15416
|
|
17
17
|
alberta_framework/utils/timing.py,sha256=JOLq8CpCAV7LWOWkftxefduSFjaXnVwal1MFBKEMdJI,4049
|
|
18
18
|
alberta_framework/utils/visualization.py,sha256=PmKBD3KGabNhgDizcNiGJEbVCyDL1YMUE5yTwgJHu2o,17924
|
|
19
|
-
alberta_framework-0.2.
|
|
20
|
-
alberta_framework-0.2.
|
|
21
|
-
alberta_framework-0.2.
|
|
22
|
-
alberta_framework-0.2.
|
|
19
|
+
alberta_framework-0.2.1.dist-info/METADATA,sha256=pJ7SujFDZXrWxqjpSK8NFSBoYJpN5VfLneFnAmYG3hw,7763
|
|
20
|
+
alberta_framework-0.2.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
21
|
+
alberta_framework-0.2.1.dist-info/licenses/LICENSE,sha256=TI1avodt5mvxz7sunyxIa0HlNgLQcmKNLeRjCVcgKmE,10754
|
|
22
|
+
alberta_framework-0.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|