Skip to content

Add dilation for WaveNet layer array head#296

Merged
sdatkinson merged 10 commits into
sdatkinson:mainfrom
mikeoliphant:head_dilation
Jun 25, 2026
Merged

Add dilation for WaveNet layer array head#296
sdatkinson merged 10 commits into
sdatkinson:mainfrom
mikeoliphant:head_dilation

Conversation

@mikeoliphant

@mikeoliphant mikeoliphant commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

This adds a config variable ("head_dilation") to specify the dilation for the WaveNet layer array head.

It also adds a corresponding check for the A2 fast path.

Resolves #293

@sdatkinson sdatkinson left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I get test coverage for non-1 head dilations? Otherwise all good.

@mikeoliphant

Copy link
Copy Markdown
Contributor Author

Sorry about the incremental update spam - the tests don't build on Windows, so I couldn't run them locally...

I added a test for a non-standard head dilation ("test_nested_head_with_dilation_three"), and also a check to make sure it defaults correctly (in "test_nested_head_with_kernel_size_three").

@sdatkinson sdatkinson left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sdatkinson sdatkinson merged commit 4c0ee78 into sdatkinson:main Jun 25, 2026
4 checks passed
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.

Add dilation for WaveNet layer array head

2 participants