Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edits and state/eval addition #22

Merged
merged 1 commit into from
Jul 20, 2023
Merged

edits and state/eval addition #22

merged 1 commit into from
Jul 20, 2023

Conversation

ASEM000
Copy link
Owner

@ASEM000 ASEM000 commented Jul 20, 2023

  • add batch norm , norm layers init func additions
  • add tree_evaluation to return a tree with layers modified to operate during eval. also enable tree_evaluation.def_evaluation to determine the evaluation rule by dispatch.
  • add tree_state to return a tree with state corresponds to layer (if exists), and defines tree_state.def_state to define state rules for layers by dispatch.

add batch norm , norm layers init func additions

- add `tree_evaluation` to return a tree with layers modified to operate during eval. also enable `tree_evaluation.def_evaluation` to determine the evaluation rule by dispatch.
- add `tree_state` to return a tree with state corresponds to layer (if exists), and defines `tree_state.def_state` to define state rules for layers by dispatch.
@codecov
Copy link

codecov bot commented Jul 20, 2023

Codecov Report

Patch coverage: 89.96% and project coverage change: -0.02 ⚠️

Comparison is base (3fcf63e) 94.11% compared to head (4c58e37) 94.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   94.11%   94.10%   -0.02%     
==========================================
  Files          49       51       +2     
  Lines        3331     3424      +93     
==========================================
+ Hits         3135     3222      +87     
- Misses        196      202       +6     
Impacted Files Coverage Δ
serket/nn/contrast.py 94.00% <0.00%> (+3.61%) ⬆️
tests/test_linear.py 100.00% <ø> (ø)
serket/nn/evaluation.py 64.28% <64.28%> (ø)
serket/nn/recurrent.py 82.93% <80.00%> (-2.31%) ⬇️
serket/nn/dropout.py 78.26% <83.33%> (+0.76%) ⬆️
serket/nn/convolution.py 94.91% <90.47%> (+0.24%) ⬆️
serket/nn/normalization.py 95.68% <92.95%> (+10.16%) ⬆️
serket/nn/state.py 95.00% <95.00%> (ø)
serket/__init__.py 100.00% <100.00%> (ø)
serket/nn/__init__.py 100.00% <100.00%> (ø)
... and 7 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ASEM000 ASEM000 merged commit 02f11f8 into main Jul 20, 2023
@ASEM000 ASEM000 deleted the batchnorm,-tree_evaluation branch July 20, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant