You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed default dim from 1 to 2 in nnf_cosine_similarity. (#769)
The default value for arguments of various functions have changed. A bug in the code generation was truncating the default values specially if they were float values that needed more than 6 digit precision. (#770)
New features
jit_save_for_mobile allows to save a traced model in bytecode form, to be loaded by a LiteModuleLoader. (#713)
Exported is_torch_tensor to check wether an object is a tensor or not. (#730, @rdinnager)
Adds cuda_get_device_properties(device) that allows one to query device capability and other properties. (#734, @rdinnager)
Now when installing torch all of LibTorch and Lantern headers will be installed within the inst directory. This will allow for packages extending torch to bind directly to its C++ library. (#718)
dataset_subset will use the .getbatch method of the wrapped dataset if one is available. (#742, @egillax)