Function at::device_of(const Tensor&)# Defined in File DeviceGuard.h Function Documentation# inline std::optional<Device> at::device_of(const Tensor &t)# Return the Device of a Tensor, if the Tensor is defined.
Function at::device_of(const Tensor&)# Defined in File DeviceGuard.h Function Documentation# inline std::optional<Device> at::device_of(const Tensor &t)# Return the Device of a Tensor, if the Tensor is defined.