Skip to main content

expand

Function expand 

Source
pub fn expand<F: Float>(
    scope: &Scope,
    input: &<[F] as CubeType>::ExpandType,
    output: &mut <[F] as CubeType>::ExpandType,
    num_channels: <u32 as CubeType>::ExpandType,
    in_len: <u32 as CubeType>::ExpandType,
    out_len: <u32 as CubeType>::ExpandType,
    step: <u32 as CubeType>::ExpandType,
    phase: <u32 as CubeType>::ExpandType,
)
Expand description

output[c, m] = input[c, phase + m · step] (keep every step-th sample).