tensorflow::ops

Function device_index

Source
pub fn device_index(scope: &mut Scope) -> Result<Operation>
Expand description

Shorthand for DeviceIndex::new().build(scope).