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

42 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/attr_value.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 tensor_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__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/attr_value.proto\x12\x0btensorboard\x1a%tensorboard/compat/proto/tensor.proto\x1a+tensorboard/compat/proto/tensor_shape.proto\x1a$tensorboard/compat/proto/types.proto\"\xaf\x04\n\tAttrValue\x12\x0b\n\x01s\x18\x02 \x01(\x0cH\x00\x12\x0b\n\x01i\x18\x03 \x01(\x03H\x00\x12\x0b\n\x01\x66\x18\x04 \x01(\x02H\x00\x12\x0b\n\x01\x62\x18\x05 \x01(\x08H\x00\x12%\n\x04type\x18\x06 \x01(\x0e\x32\x15.tensorboard.DataTypeH\x00\x12.\n\x05shape\x18\x07 \x01(\x0b\x32\x1d.tensorboard.TensorShapeProtoH\x00\x12*\n\x06tensor\x18\x08 \x01(\x0b\x32\x18.tensorboard.TensorProtoH\x00\x12\x30\n\x04list\x18\x01 \x01(\x0b\x32 .tensorboard.AttrValue.ListValueH\x00\x12)\n\x04\x66unc\x18\n \x01(\x0b\x32\x19.tensorboard.NameAttrListH\x00\x12\x15\n\x0bplaceholder\x18\t \x01(\tH\x00\x1a\xed\x01\n\tListValue\x12\t\n\x01s\x18\x02 \x03(\x0c\x12\r\n\x01i\x18\x03 \x03(\x03\x42\x02\x10\x01\x12\r\n\x01\x66\x18\x04 \x03(\x02\x42\x02\x10\x01\x12\r\n\x01\x62\x18\x05 \x03(\x08\x42\x02\x10\x01\x12\'\n\x04type\x18\x06 \x03(\x0e\x32\x15.tensorboard.DataTypeB\x02\x10\x01\x12,\n\x05shape\x18\x07 \x03(\x0b\x32\x1d.tensorboard.TensorShapeProto\x12(\n\x06tensor\x18\x08 \x03(\x0b\x32\x18.tensorboard.TensorProto\x12\'\n\x04\x66unc\x18\t \x03(\x0b\x32\x19.tensorboard.NameAttrListB\x07\n\x05value\"\x94\x01\n\x0cNameAttrList\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\x04\x61ttr\x18\x02 \x03(\x0b\x32#.tensorboard.NameAttrList.AttrEntry\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorboard.AttrValue:\x02\x38\x01\x42\x83\x01\n\x18org.tensorflow.frameworkB\x0f\x41ttrValueProtosP\x01ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/attr_value_go_proto\xf8\x01\x01\x62\x06proto3') 

21 

22 

23 

24_ATTRVALUE = DESCRIPTOR.message_types_by_name['AttrValue'] 

25_ATTRVALUE_LISTVALUE = _ATTRVALUE.nested_types_by_name['ListValue'] 

26_NAMEATTRLIST = DESCRIPTOR.message_types_by_name['NameAttrList'] 

27_NAMEATTRLIST_ATTRENTRY = _NAMEATTRLIST.nested_types_by_name['AttrEntry'] 

28AttrValue = _reflection.GeneratedProtocolMessageType('AttrValue', (_message.Message,), { 

29 

30 'ListValue' : _reflection.GeneratedProtocolMessageType('ListValue', (_message.Message,), { 

31 'DESCRIPTOR' : _ATTRVALUE_LISTVALUE, 

32 '__module__' : 'tensorboard.compat.proto.attr_value_pb2' 

33 # @@protoc_insertion_point(class_scope:tensorboard.AttrValue.ListValue) 

34 }) 

35 , 

36 'DESCRIPTOR' : _ATTRVALUE, 

37 '__module__' : 'tensorboard.compat.proto.attr_value_pb2' 

38 # @@protoc_insertion_point(class_scope:tensorboard.AttrValue) 

39 }) 

40_sym_db.RegisterMessage(AttrValue) 

41_sym_db.RegisterMessage(AttrValue.ListValue) 

42 

43NameAttrList = _reflection.GeneratedProtocolMessageType('NameAttrList', (_message.Message,), { 

44 

45 'AttrEntry' : _reflection.GeneratedProtocolMessageType('AttrEntry', (_message.Message,), { 

46 'DESCRIPTOR' : _NAMEATTRLIST_ATTRENTRY, 

47 '__module__' : 'tensorboard.compat.proto.attr_value_pb2' 

48 # @@protoc_insertion_point(class_scope:tensorboard.NameAttrList.AttrEntry) 

49 }) 

50 , 

51 'DESCRIPTOR' : _NAMEATTRLIST, 

52 '__module__' : 'tensorboard.compat.proto.attr_value_pb2' 

53 # @@protoc_insertion_point(class_scope:tensorboard.NameAttrList) 

54 }) 

55_sym_db.RegisterMessage(NameAttrList) 

56_sym_db.RegisterMessage(NameAttrList.AttrEntry) 

57 

58if _descriptor._USE_C_DESCRIPTORS == False: 

59 

60 DESCRIPTOR._options = None 

61 DESCRIPTOR._serialized_options = b'\n\030org.tensorflow.frameworkB\017AttrValueProtosP\001ZQgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/attr_value_go_proto\370\001\001' 

62 _ATTRVALUE_LISTVALUE.fields_by_name['i']._options = None 

63 _ATTRVALUE_LISTVALUE.fields_by_name['i']._serialized_options = b'\020\001' 

64 _ATTRVALUE_LISTVALUE.fields_by_name['f']._options = None 

65 _ATTRVALUE_LISTVALUE.fields_by_name['f']._serialized_options = b'\020\001' 

66 _ATTRVALUE_LISTVALUE.fields_by_name['b']._options = None 

67 _ATTRVALUE_LISTVALUE.fields_by_name['b']._serialized_options = b'\020\001' 

68 _ATTRVALUE_LISTVALUE.fields_by_name['type']._options = None 

69 _ATTRVALUE_LISTVALUE.fields_by_name['type']._serialized_options = b'\020\001' 

70 _NAMEATTRLIST_ATTRENTRY._options = None 

71 _NAMEATTRLIST_ATTRENTRY._serialized_options = b'8\001' 

72 _ATTRVALUE._serialized_start=181 

73 _ATTRVALUE._serialized_end=740 

74 _ATTRVALUE_LISTVALUE._serialized_start=494 

75 _ATTRVALUE_LISTVALUE._serialized_end=731 

76 _NAMEATTRLIST._serialized_start=743 

77 _NAMEATTRLIST._serialized_end=891 

78 _NAMEATTRLIST_ATTRENTRY._serialized_start=824 

79 _NAMEATTRLIST_ATTRENTRY._serialized_end=891 

80# @@protoc_insertion_point(module_scope)