numcodecs_fourier_network

Function decode_into

Source
pub fn decode_into<T: FloatExt, S: Data<Elem = u8>, D: Dimension, B: Backend<FloatElem = T>>(
    device: &B::Device,
    encoded: ArrayBase<S, Ix1>,
    decoded: ArrayViewMut<'_, T, D>,
    fourier_features: NonZeroUsize,
    num_blocks: NonZeroUsize,
) -> Result<(), FourierNetworkCodecError>
Expand description

Decodes the encoded data into the decoded output array by making a prediction using the fourier feature neural network.

The network must have been trained during encode using the same number of feature_features and num_blocks.

ยงErrors

Errors with