Torchaudio.load() in C++

I want to convert ogg-file to torch.Tensor using torchaudio.load function, but in deployment I need to do it in C++ (I converted original model to TorchScript). Can I use it from C++? Or what can I do as alternative?

torchaudio does not yet have a C++ interface. However, torchaudio.load is a wrapper around which you could use.