Skip to content

Conversation

@sdatkinson
Copy link
Owner

@sdatkinson sdatkinson commented Jan 29, 2026

Rework the 1x1 that outputs to the skip connection and next layer so that it's optional and treated similarly to head1x1 where possible.
There is one constraint that its output channels must be a specific size for the skip-connection, so out_channels isn't a configurable hyperparameter; otherwise, things are rather similar.

Also fixing an annoying inconsistency between the .nam file and the code with "head1x1".

Resolves #213 .

- Introduced a new test file `test_layer1x1.cpp` to validate the behavior of the Layer1x1 component in the WaveNet architecture.
- Implemented multiple test cases to check both active and inactive states of Layer1x1, ensuring correct processing of inputs and outputs.
- Added validation for error handling when the bottleneck does not match channels in inactive Layer1x1 configurations.
- Enhanced tests to cover scenarios with grouped Layer1x1 convolutions and post-FiLM behavior, ensuring comprehensive coverage of the new functionality.
@sdatkinson sdatkinson changed the title [FEATURE] WaveNet: Make layer1x1 (formerly 1x1) optional [FEATURE] WaveNet: Make layer1x1 (formerly 1x1) optional, rename .nam key "head_1x1" to "head1x1" Jan 29, 2026
@sdatkinson sdatkinson merged commit d53946a into main Jan 29, 2026
2 checks passed
@sdatkinson sdatkinson deleted the 213-layer1x1 branch January 29, 2026 01:02
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.

WaveNet Layer: rename 1x1 to layer1x1 and make it optional.

2 participants