MCPcopy Create free account
hub / github.com/evilsocket/cake / ConvolutionModule

Class ConvolutionModule

cake-core/src/models/luxtts/convolution_module.rs:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13#[derive(Debug, Clone)]
14pub struct ConvolutionModule {
15 in_proj_weight: Tensor,
16 in_proj_bias: Option<Tensor>,
17 depthwise_weight: Tensor,
18 depthwise_bias: Tensor,
19 out_proj_weight: Tensor,
20 out_proj_bias: Option<Tensor>,
21 kernel_size: usize,
22 dim: usize,
23 backend: Arc<dyn ComputeBackend>,
24}
25
26impl ConvolutionModule {
27 pub fn load(dim: usize, kernel_size: usize, vb: VarBuilder, backend: Arc<dyn ComputeBackend>) -> Result<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected