async encode(inputs) {
        return new MimiEncoderOutput(await sessionRun(this.sessions['encoder_model'], inputs));
    }
Decodes the given frames into an output audio waveform.
@param {MimiEncoderOutput} inputs The encoded audio codes.
@returns {Promise<MimiDecoderOutput>} The output tensor of shape `(batch_size, num_channels, sequence_length)`.