You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [REFINE] Update WaveNet Layer and LayerArray constructors to include bottleneck parameter
- Modified the constructors of _Layer and _LayerArray to accept a new bottleneck parameter, enhancing the flexibility of the layer configurations.
- Updated relevant method calls and test cases to reflect the new parameter, ensuring consistency across the codebase.
- Adjusted JSON configuration handling to support the bottleneck parameter, maintaining backward compatibility with existing configurations.
* [FEATURE] Introduce bottleneck parameter in Layer and LayerArray tests
- Added a bottleneck parameter to the constructors of _Layer and _LayerArray in various test cases, enhancing the flexibility of layer configurations.
- Implemented new test cases for layers with bottleneck configurations, including both gated and non-gated scenarios.
- Updated existing tests to utilize the bottleneck parameter, ensuring comprehensive coverage and consistency across the codebase.
* [REFINE] Temporarily disable bottleneck layer tests and update weight initialization comments
- Commented out tests for bottleneck and gated bottleneck layers in run_tests.cpp while investigating a resize error.
- Updated weight initialization logic in test_layer.cpp to clarify the layout for Conv1D and 1x1 convolutions, ensuring consistency with the new bottleneck parameter.
- Adjusted comments for better clarity on weight patterns and dimensions in the test cases.
* [REFINE] Update WaveNet Layer to utilize bottleneck parameter
- Adjusted the WaveNet Layer's SetMaxBufferSize and Process methods to correctly use the bottleneck parameter for resizing internal buffers.
- Updated the handling of activation functions to ensure they operate on the correct number of channels based on the bottleneck.
- Modified test cases to reflect changes in the Layer constructor and ensure proper functionality with the bottleneck configuration.
- Enhanced comments for clarity regarding the internal channel structure and weight initialization in tests.
* [REFINE] Update headInput resizing in WaveNet layer test
- Modified the headInput matrix resizing in test_layer.cpp to utilize the bottleneck parameter instead of channels, ensuring alignment with recent changes in the WaveNet layer configuration.
- This adjustment enhances the accuracy of the test cases by reflecting the updated architecture that incorporates the bottleneck parameter.
* Remove unused variable
* Add test for Layer::Process() with bottleneck configuration
- Introduced a new test case, test_layer_bottleneck_process_realtime_safe(), to validate that the Layer::Process() method operates correctly when the bottleneck parameter differs from the number of channels.
- Ensured that the test checks for memory allocation during processing, maintaining real-time safety.
- Updated run_tests.cpp to include this new test, enhancing coverage for bottleneck scenarios in the WaveNet layer.
0 commit comments