Function tensorflow::eager::raw_ops::device_index
source · pub fn device_index<'a>(ctx: &'a Context) -> Result<TensorHandle<'a>>
Expand description
Shorthand for DeviceIndex::new().call(&ctx)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DeviceIndex