Refactor ListDevices in TF Go API
I pull the logic to convert a *C.TF_DeviceList to a []Device into its own function `deviceSliceFromDeviceList`. This is so I can reuse it when wrapping the Eager C API. PiperOrigin-RevId: 225344064
Loading
Please sign in to comment