MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / validate_sequence_config

Function validate_sequence_config

src/framework/modules/recurrent_modules.cpp:116–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void validate_sequence_config(const LSTMSequenceConfig & config) {
117 if (config.input_size <= 0 || config.hidden_size <= 0) {
118 throw std::runtime_error("LSTMSequenceConfig dimensions must be positive");
119 }
120}
121
122LSTMCellOutputs build_lstm_cell_from_projected_input(
123 core::ModuleBuildContext & ctx,

Callers 2

LSTMSequenceModuleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected