Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorboard/compat/proto/tensor_pb2.py: 41%

44 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: tensorboard/compat/proto/tensor.proto 

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

5from google.protobuf import descriptor as _descriptor 

6from google.protobuf import descriptor_pool as _descriptor_pool 

7from google.protobuf import message as _message 

8from google.protobuf import reflection as _reflection 

9from google.protobuf import symbol_database as _symbol_database 

10# @@protoc_insertion_point(imports) 

11 

12_sym_db = _symbol_database.Default() 

13 

14 

15from tensorboard.compat.proto import resource_handle_pb2 as tensorboard_dot_compat_dot_proto_dot_resource__handle__pb2 

16from tensorboard.compat.proto import tensor_shape_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__shape__pb2 

17from tensorboard.compat.proto import types_pb2 as tensorboard_dot_compat_dot_proto_dot_types__pb2 

18 

19 

20DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%tensorboard/compat/proto/tensor.proto\x12\x0btensorboard\x1a.tensorboard/compat/proto/resource_handle.proto\x1a+tensorboard/compat/proto/tensor_shape.proto\x1a$tensorboard/compat/proto/types.proto\"\xa4\x04\n\x0bTensorProto\x12$\n\x05\x64type\x18\x01 \x01(\x0e\x32\x15.tensorboard.DataType\x12\x33\n\x0ctensor_shape\x18\x02 \x01(\x0b\x32\x1d.tensorboard.TensorShapeProto\x12\x16\n\x0eversion_number\x18\x03 \x01(\x05\x12\x16\n\x0etensor_content\x18\x04 \x01(\x0c\x12\x14\n\x08half_val\x18\r \x03(\x05\x42\x02\x10\x01\x12\x15\n\tfloat_val\x18\x05 \x03(\x02\x42\x02\x10\x01\x12\x16\n\ndouble_val\x18\x06 \x03(\x01\x42\x02\x10\x01\x12\x13\n\x07int_val\x18\x07 \x03(\x05\x42\x02\x10\x01\x12\x12\n\nstring_val\x18\x08 \x03(\x0c\x12\x18\n\x0cscomplex_val\x18\t \x03(\x02\x42\x02\x10\x01\x12\x15\n\tint64_val\x18\n \x03(\x03\x42\x02\x10\x01\x12\x14\n\x08\x62ool_val\x18\x0b \x03(\x08\x42\x02\x10\x01\x12\x18\n\x0c\x64\x63omplex_val\x18\x0c \x03(\x01\x42\x02\x10\x01\x12=\n\x13resource_handle_val\x18\x0e \x03(\x0b\x32 .tensorboard.ResourceHandleProto\x12\x38\n\x0bvariant_val\x18\x0f \x03(\x0b\x32#.tensorboard.VariantTensorDataProto\x12\x16\n\nuint32_val\x18\x10 \x03(\rB\x02\x10\x01\x12\x16\n\nuint64_val\x18\x11 \x03(\x04\x42\x02\x10\x01\x12\x12\n\nfloat8_val\x18\x12 \x01(\x0c\"h\n\x16VariantTensorDataProto\x12\x11\n\ttype_name\x18\x01 \x01(\t\x12\x10\n\x08metadata\x18\x02 \x01(\x0c\x12)\n\x07tensors\x18\x03 \x03(\x0b\x32\x18.tensorboard.TensorProtoB|\n\x18org.tensorflow.frameworkB\x0cTensorProtosP\x01ZMgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/tensor_go_proto\xf8\x01\x01\x62\x06proto3') 

21 

22 

23 

24_TENSORPROTO = DESCRIPTOR.message_types_by_name['TensorProto'] 

25_VARIANTTENSORDATAPROTO = DESCRIPTOR.message_types_by_name['VariantTensorDataProto'] 

26TensorProto = _reflection.GeneratedProtocolMessageType('TensorProto', (_message.Message,), { 

27 'DESCRIPTOR' : _TENSORPROTO, 

28 '__module__' : 'tensorboard.compat.proto.tensor_pb2' 

29 # @@protoc_insertion_point(class_scope:tensorboard.TensorProto) 

30 }) 

31_sym_db.RegisterMessage(TensorProto) 

32 

33VariantTensorDataProto = _reflection.GeneratedProtocolMessageType('VariantTensorDataProto', (_message.Message,), { 

34 'DESCRIPTOR' : _VARIANTTENSORDATAPROTO, 

35 '__module__' : 'tensorboard.compat.proto.tensor_pb2' 

36 # @@protoc_insertion_point(class_scope:tensorboard.VariantTensorDataProto) 

37 }) 

38_sym_db.RegisterMessage(VariantTensorDataProto) 

39 

40if _descriptor._USE_C_DESCRIPTORS == False: 

41 

42 DESCRIPTOR._options = None 

43 DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\014TensorProtosP\001ZMgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/tensor_go_proto\370\001\001' 

44 _TENSORPROTO.fields_by_name['half_val']._options = None 

45 _TENSORPROTO.fields_by_name['half_val']._serialized_options = b'\020\001' 

46 _TENSORPROTO.fields_by_name['float_val']._options = None 

47 _TENSORPROTO.fields_by_name['float_val']._serialized_options = b'\020\001' 

48 _TENSORPROTO.fields_by_name['double_val']._options = None 

49 _TENSORPROTO.fields_by_name['double_val']._serialized_options = b'\020\001' 

50 _TENSORPROTO.fields_by_name['int_val']._options = None 

51 _TENSORPROTO.fields_by_name['int_val']._serialized_options = b'\020\001' 

52 _TENSORPROTO.fields_by_name['scomplex_val']._options = None 

53 _TENSORPROTO.fields_by_name['scomplex_val']._serialized_options = b'\020\001' 

54 _TENSORPROTO.fields_by_name['int64_val']._options = None 

55 _TENSORPROTO.fields_by_name['int64_val']._serialized_options = b'\020\001' 

56 _TENSORPROTO.fields_by_name['bool_val']._options = None 

57 _TENSORPROTO.fields_by_name['bool_val']._serialized_options = b'\020\001' 

58 _TENSORPROTO.fields_by_name['dcomplex_val']._options = None 

59 _TENSORPROTO.fields_by_name['dcomplex_val']._serialized_options = b'\020\001' 

60 _TENSORPROTO.fields_by_name['uint32_val']._options = None 

61 _TENSORPROTO.fields_by_name['uint32_val']._serialized_options = b'\020\001' 

62 _TENSORPROTO.fields_by_name['uint64_val']._options = None 

63 _TENSORPROTO.fields_by_name['uint64_val']._serialized_options = b'\020\001' 

64 _TENSORPROTO._serialized_start=186 

65 _TENSORPROTO._serialized_end=734 

66 _VARIANTTENSORDATAPROTO._serialized_start=736 

67 _VARIANTTENSORDATAPROTO._serialized_end=840 

68# @@protoc_insertion_point(module_scope)