Add DeviceNameAndProperties proto containing a repeated list of Device Name and DeviceProperties.

PiperOrigin-RevId: 158802893
This commit is contained in:
A. Unique TensorFlower 2017-06-12 20:38:38 -07:00 committed by TensorFlower Gardener
parent 725377fcc9
commit 5e06dbdc00

View File

@ -49,3 +49,11 @@ message DeviceProperties {
// Memory bandwidth in KB/s
int64 bandwidth = 13;
}
message DeviceMap {
message NamedDevice {
string name = 1;
DeviceProperties device = 2;
};
repeated NamedDevice name_and_device = 1;
}