diffusion_rs_common::nn::linear

Function linear_no_bias

source
pub fn linear_no_bias(
    in_dim: usize,
    out_dim: usize,
    vb: VarBuilder<'_>,
) -> Result<Linear>
Expand description

Create or initialize a new linear layer without biases.