torch_numopt.utils.utils#

Functions

torch_to_float(a)

Convert a tensor to a Python float (detaches and extracts value).