Function caffe2_proto::is_same_device
source · pub fn is_same_device(lhs: &DeviceOption, rhs: &DeviceOption) -> bool
Expand description
| Returns if the two DeviceOptions are | pointing to the same device. |
pub fn is_same_device(lhs: &DeviceOption, rhs: &DeviceOption) -> bool
| Returns if the two DeviceOptions are | pointing to the same device. |