Skip to content

Conversation

@nhuet
Copy link
Contributor

@nhuet nhuet commented May 12, 2025

  • Merge DecomonLinearLayer and DecomonLayer and fix DecomonLayer.get_affine_representation()
  • Fix src/decomon/layers/backward/layer_backward.py

nhuet added 2 commits May 13, 2025 09:48
- remove DecomonLinearLayer
- in DecomonLayer.__init__(), if self.linear and layer_backward is None,
  we try to auto discover the proper layer with jacobinet
- fix DecomonLayer.get_affine_representation() with use_bias
- remove support for decomon version of jacobinet backward merge layers,
  as their output is a list of tensor and decomon make the assumption
  that only a single tensor can be in a keras layer output
- fix mypy issues
- rename base class for more consistency:
  DecomonBackwardLinearLayer is the decomon version of BackwardLinearLayer
  as DecomonBackwardConv1D is the decomon version of BackwardConv1D
@ducoffeM ducoffeM merged commit f34b22f into airbus:refactor May 26, 2025
4 of 22 checks passed
@nhuet nhuet deleted the backward branch May 26, 2025 07:48
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.

2 participants