Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/core/framework/device_attributes_pb2.py: 50%

20 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

1# -*- coding: utf-8 -*- 

2# Generated by the protocol buffer compiler. DO NOT EDIT! 

3# source: tensorflow/core/framework/device_attributes.proto 

4"""Generated protocol buffer code.""" 

5from google.protobuf.internal import builder as _builder 

6from google.protobuf import descriptor as _descriptor 

7from google.protobuf import descriptor_pool as _descriptor_pool 

8from google.protobuf import symbol_database as _symbol_database 

9# @@protoc_insertion_point(imports) 

10 

11_sym_db = _symbol_database.Default() 

12 

13 

14 

15 

16DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tensorflow/core/framework/device_attributes.proto\x12\ntensorflow\"E\n\x10InterconnectLink\x12\x11\n\tdevice_id\x18\x01 \x01(\x05\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x10\n\x08strength\x18\x03 \x01(\x05\"8\n\nLocalLinks\x12*\n\x04link\x18\x01 \x03(\x0b\x32\x1c.tensorflow.InterconnectLink\"Z\n\x0e\x44\x65viceLocality\x12\x0e\n\x06\x62us_id\x18\x01 \x01(\x05\x12\x11\n\tnuma_node\x18\x02 \x01(\x05\x12%\n\x05links\x18\x03 \x01(\x0b\x32\x16.tensorflow.LocalLinks\"\xc3\x01\n\x10\x44\x65viceAttributes\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65vice_type\x18\x02 \x01(\t\x12\x14\n\x0cmemory_limit\x18\x04 \x01(\x03\x12,\n\x08locality\x18\x05 \x01(\x0b\x32\x1a.tensorflow.DeviceLocality\x12\x13\n\x0bincarnation\x18\x06 \x01(\x06\x12\x1c\n\x14physical_device_desc\x18\x07 \x01(\t\x12\x15\n\rxla_global_id\x18\x08 \x01(\x03\x42\x91\x01\n\x18org.tensorflow.frameworkB\x16\x44\x65viceAttributesProtosP\x01ZXgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/device_attributes_go_proto\xf8\x01\x01\x62\x06proto3') 

17 

18_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 

19_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow.core.framework.device_attributes_pb2', globals()) 

20if _descriptor._USE_C_DESCRIPTORS == False: 

21 

22 DESCRIPTOR._options = None 

23 DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\026DeviceAttributesProtosP\001ZXgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/device_attributes_go_proto\370\001\001' 

24 _INTERCONNECTLINK._serialized_start=65 

25 _INTERCONNECTLINK._serialized_end=134 

26 _LOCALLINKS._serialized_start=136 

27 _LOCALLINKS._serialized_end=192 

28 _DEVICELOCALITY._serialized_start=194 

29 _DEVICELOCALITY._serialized_end=284 

30 _DEVICEATTRIBUTES._serialized_start=287 

31 _DEVICEATTRIBUTES._serialized_end=482 

32# @@protoc_insertion_point(module_scope)