acids-ircam / nn_tilde

Other
321 stars 36 forks source link

Ensure exported models output float tensors #54

Closed hugofloresgarcia closed 1 year ago

hugofloresgarcia commented 1 year ago

Adds an additional check to register_method to check for output dtypes, ensuring that output tensors are of type float, since the C++ backend will cast all output tensors to float types.