Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 5f33eef6 authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Revise 'HaikuModel' backend.

* Add proper weights and gradients naming.
* Store the model's nested dict of parameters rather than its
  flattened counterpart.
* Refactor some backend code to improve readability of gradients
  computation.
* Add a public getter to access weights' names, opt. restricted
  to trainable ones.
* Revise `set_trainable_weights` to received lists of names rather
  than indices. Keep support for predicates and PyTree inputs.
parent d02b880e
No related branches found
No related tags found
Loading
Pipeline #801291 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment