Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/core/protobuf/tpu/topology_pb2.py: 56%

18 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/protobuf/tpu/topology.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'\n+tensorflow/core/protobuf/tpu/topology.proto\x12\x0etensorflow.tpu\"\x99\x01\n\x12TPUHardwareFeature\x12N\n\x11\x65mbedding_feature\x18\x01 \x01(\x0e\x32\x33.tensorflow.tpu.TPUHardwareFeature.EmbeddingFeature\"3\n\x10\x45mbeddingFeature\x12\x0f\n\x0bUNSUPPORTED\x10\x00\x12\x06\n\x02V1\x10\x01\x12\x06\n\x02V2\x10\x02\"\xb6\x01\n\rTopologyProto\x12\x12\n\nmesh_shape\x18\x01 \x03(\x05\x12\x11\n\tnum_tasks\x18\x02 \x01(\x05\x12 \n\x18num_tpu_devices_per_task\x18\x03 \x01(\x05\x12\x1a\n\x12\x64\x65vice_coordinates\x18\x04 \x03(\x05\x12@\n\x14tpu_hardware_feature\x18\x05 \x01(\x0b\x32\".tensorflow.tpu.TPUHardwareFeatureB\x03\xf8\x01\x01\x62\x06proto3') 

17 

18_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 

19_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow.core.protobuf.tpu.topology_pb2', globals()) 

20if _descriptor._USE_C_DESCRIPTORS == False: 

21 

22 DESCRIPTOR._options = None 

23 DESCRIPTOR._serialized_options = b'\370\001\001' 

24 _TPUHARDWAREFEATURE._serialized_start=64 

25 _TPUHARDWAREFEATURE._serialized_end=217 

26 _TPUHARDWAREFEATURE_EMBEDDINGFEATURE._serialized_start=166 

27 _TPUHARDWAREFEATURE_EMBEDDINGFEATURE._serialized_end=217 

28 _TOPOLOGYPROTO._serialized_start=220 

29 _TOPOLOGYPROTO._serialized_end=402 

30# @@protoc_insertion_point(module_scope)