torch.result_type
does not accept combinations of scalars and dtypes
#274
Milestone
torch.result_type
does not accept combinations of scalars and dtypes
#274
torch.result_type
does not accept combinations of scalars and dtypes. (These are permitted by the standard; only one of the arguments has to be an array or dtype.)Result:
This seems to include any combination of Python scalar and torch dtype and only these combinations. (E.g., array/scalar and scalar/array are fine).
The text was updated successfully, but these errors were encountered: