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