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

Method PriorEncoderBlockModule

src/framework/modules/conditioning_modules.cpp:513–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513PriorEncoderBlockModule::PriorEncoderBlockModule(PriorEncoderBlockConfig config) : config_(config) {
514 require_positive(config_.hidden_size, "PriorEncoderBlockConfig.hidden_size");
515 require_positive(config_.latent_size, "PriorEncoderBlockConfig.latent_size");
516}
517
518const PriorEncoderBlockConfig & PriorEncoderBlockModule::config() const noexcept {
519 return config_;

Callers

nothing calls this directly

Calls 1

require_positiveFunction · 0.70

Tested by

no test coverage detected