Commit 045ac6c3 authored by James Keeling's avatar James Keeling Committed by TensorFlower Gardener
Browse files

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
parent ca096a32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment