fnto_device_opint to_device_op(const int & a, Device target)sourceeditDefined in ops/ufunc/ToDevice.cpp. Declared here so binary/ternary ops can promote a 0-d CPU scalar operand to the peer's device while keeping the ToDeviceBackward edge on the autograd graph.