Fix `TensorflowModel` gradients' labeling
Compare changes
Files
2+ 43
− 8
@@ -136,17 +136,48 @@ class TensorflowModel(Model):
@@ -155,11 +186,14 @@ class TensorflowModel(Model):
@@ -237,6 +271,7 @@ class TensorflowModel(Model):
A GitLab upgrade is scheduled for Monday, April 7, 2025. Service interruptions are expected in the morning. We'll keep you posted on the progress of the upgrade on the Mattermost channel: https://mattermost.inria.fr/devel/channels/gitlab. We recommend that you do not work on the platform until an announcement indicates that maintenance is complete.
Closes #14 (closed) (see that issue for details on what is being fixed here)
Tasks:
TensorflowModel.compute_batch_gradients
to use variables' names to label the returned tensorsTensorflowModel.apply_updates
to run some verifications on inputs' namesModel
unit test suite to include a verification that gradients and weights share the same specifications