Skip to content

[Feature] change mcqrnn layers: positive constraint instead of exp#8

Merged
RektPunk merged 6 commits into
mainfrom
feat/renewal
Nov 24, 2025
Merged

[Feature] change mcqrnn layers: positive constraint instead of exp#8
RektPunk merged 6 commits into
mainfrom
feat/renewal

Conversation

@RektPunk

Copy link
Copy Markdown
Owner

What does this PR do?

When the tf.exp(self.w) operation is performed inside the call method, tf.GradientTape may fail to efficiently trace the path between the trainable variable list (model.weights) and the final loss. It may cause None in objective function.

So, I updated the method to control the weights using a positive constraint.

@RektPunk RektPunk self-assigned this Nov 24, 2025
@RektPunk RektPunk changed the title [Feature] renewal mcqrnn layers and model [Feature] change mcqrnn layers: positive constraint instead of exp Nov 24, 2025
@RektPunk RektPunk merged commit 8af2768 into main Nov 24, 2025
1 check passed
@RektPunk RektPunk deleted the feat/renewal branch November 24, 2025 02:57
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