提交 0b792a5e 编写于 作者: W wuzewu

update proto

上级 2ec7a71e
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
syntax = "proto3"; syntax = "proto3";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
package paddle_hub_finetune_checkpoint; package paddlehub.task.checkpoint;
message CheckPoint { message CheckPoint {
int64 current_epoch = 1; int64 current_epoch = 1;
......
...@@ -7,29 +7,30 @@ from google.protobuf import descriptor as _descriptor ...@@ -7,29 +7,30 @@ from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message from google.protobuf import message as _message
from google.protobuf import reflection as _reflection from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports) # @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default() _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor( DESCRIPTOR = _descriptor.FileDescriptor(
name='checkpoint.proto', name='checkpoint.proto',
package='paddle_hub_finetune_checkpoint', package='paddlehub.task.checkpoint',
syntax='proto3', syntax='proto3',
serialized_options=_b('H\003'),
serialized_pb=_b( serialized_pb=_b(
'\n\x10\x63heckpoint.proto\x12\x1epaddle_hub_finetune_checkpoint\"R\n\nCheckPoint\x12\x15\n\rcurrent_epoch\x18\x01 \x01(\x03\x12\x13\n\x0bglobal_step\x18\x02 \x01(\x03\x12\x18\n\x10latest_model_dir\x18\x03 \x01(\tB\x02H\x03\x62\x06proto3' '\n\x10\x63heckpoint.proto\x12\x19paddlehub.task.checkpoint\"R\n\nCheckPoint\x12\x15\n\rcurrent_epoch\x18\x01 \x01(\x03\x12\x13\n\x0bglobal_step\x18\x02 \x01(\x03\x12\x18\n\x10latest_model_dir\x18\x03 \x01(\tB\x02H\x03\x62\x06proto3'
)) ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_CHECKPOINT = _descriptor.Descriptor( _CHECKPOINT = _descriptor.Descriptor(
name='CheckPoint', name='CheckPoint',
full_name='paddle_hub_finetune_checkpoint.CheckPoint', full_name='paddlehub.task.checkpoint.CheckPoint',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
containing_type=None, containing_type=None,
fields=[ fields=[
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='current_epoch', name='current_epoch',
full_name='paddle_hub_finetune_checkpoint.CheckPoint.current_epoch', full_name='paddlehub.task.checkpoint.CheckPoint.current_epoch',
index=0, index=0,
number=1, number=1,
type=3, type=3,
...@@ -42,11 +43,10 @@ _CHECKPOINT = _descriptor.Descriptor( ...@@ -42,11 +43,10 @@ _CHECKPOINT = _descriptor.Descriptor(
containing_type=None, containing_type=None,
is_extension=False, is_extension=False,
extension_scope=None, extension_scope=None,
serialized_options=None, options=None),
file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='global_step', name='global_step',
full_name='paddle_hub_finetune_checkpoint.CheckPoint.global_step', full_name='paddlehub.task.checkpoint.CheckPoint.global_step',
index=1, index=1,
number=2, number=2,
type=3, type=3,
...@@ -59,12 +59,10 @@ _CHECKPOINT = _descriptor.Descriptor( ...@@ -59,12 +59,10 @@ _CHECKPOINT = _descriptor.Descriptor(
containing_type=None, containing_type=None,
is_extension=False, is_extension=False,
extension_scope=None, extension_scope=None,
serialized_options=None, options=None),
file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='latest_model_dir', name='latest_model_dir',
full_name= full_name='paddlehub.task.checkpoint.CheckPoint.latest_model_dir',
'paddle_hub_finetune_checkpoint.CheckPoint.latest_model_dir',
index=2, index=2,
number=3, number=3,
type=9, type=9,
...@@ -77,23 +75,21 @@ _CHECKPOINT = _descriptor.Descriptor( ...@@ -77,23 +75,21 @@ _CHECKPOINT = _descriptor.Descriptor(
containing_type=None, containing_type=None,
is_extension=False, is_extension=False,
extension_scope=None, extension_scope=None,
serialized_options=None, options=None),
file=DESCRIPTOR),
], ],
extensions=[], extensions=[],
nested_types=[], nested_types=[],
enum_types=[], enum_types=[],
serialized_options=None, options=None,
is_extendable=False, is_extendable=False,
syntax='proto3', syntax='proto3',
extension_ranges=[], extension_ranges=[],
oneofs=[], oneofs=[],
serialized_start=52, serialized_start=47,
serialized_end=134, serialized_end=129,
) )
DESCRIPTOR.message_types_by_name['CheckPoint'] = _CHECKPOINT DESCRIPTOR.message_types_by_name['CheckPoint'] = _CHECKPOINT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
CheckPoint = _reflection.GeneratedProtocolMessageType( CheckPoint = _reflection.GeneratedProtocolMessageType(
'CheckPoint', 'CheckPoint',
...@@ -101,9 +97,11 @@ CheckPoint = _reflection.GeneratedProtocolMessageType( ...@@ -101,9 +97,11 @@ CheckPoint = _reflection.GeneratedProtocolMessageType(
dict( dict(
DESCRIPTOR=_CHECKPOINT, DESCRIPTOR=_CHECKPOINT,
__module__='checkpoint_pb2' __module__='checkpoint_pb2'
# @@protoc_insertion_point(class_scope:paddle_hub_finetune_checkpoint.CheckPoint) # @@protoc_insertion_point(class_scope:paddlehub.task.checkpoint.CheckPoint)
)) ))
_sym_db.RegisterMessage(CheckPoint) _sym_db.RegisterMessage(CheckPoint)
DESCRIPTOR._options = None DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(),
_b('H\003'))
# @@protoc_insertion_point(module_scope) # @@protoc_insertion_point(module_scope)
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
syntax = "proto3"; syntax = "proto3";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
package paddle_hub_check_info; package paddlehub.module.checkinfo;
enum FILE_TYPE { enum FILE_TYPE {
FILE=0; FILE=0;
......
...@@ -15,16 +15,16 @@ _sym_db = _symbol_database.Default() ...@@ -15,16 +15,16 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor( DESCRIPTOR = _descriptor.FileDescriptor(
name='check_info.proto', name='check_info.proto',
package='paddle_hub_check_info', package='paddlehub.module.checkinfo',
syntax='proto3', syntax='proto3',
serialized_pb=_b( serialized_pb=_b(
'\n\x10\x63heck_info.proto\x12\x15paddle_hub_check_info\"\x80\x01\n\x08\x46ileInfo\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12.\n\x04type\x18\x02 \x01(\x0e\x32 .paddle_hub_check_info.FILE_TYPE\x12\x0f\n\x07is_need\x18\x03 \x01(\x08\x12\x0b\n\x03md5\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\"\x7f\n\x08Requires\x12\x39\n\x0crequire_type\x18\x01 \x01(\x0e\x32#.paddle_hub_check_info.REQUIRE_TYPE\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x12\n\ngreat_than\x18\x03 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"\xbe\x01\n\tCheckInfo\x12\x16\n\x0epaddle_version\x18\x01 \x01(\t\x12\x13\n\x0bhub_version\x18\x02 \x01(\t\x12\x1c\n\x14module_proto_version\x18\x03 \x01(\t\x12\x33\n\nfile_infos\x18\x04 \x03(\x0b\x32\x1f.paddle_hub_check_info.FileInfo\x12\x31\n\x08requires\x18\x05 \x03(\x0b\x32\x1f.paddle_hub_check_info.Requires*\x1e\n\tFILE_TYPE\x12\x08\n\x04\x46ILE\x10\x00\x12\x07\n\x03\x44IR\x10\x01*[\n\x0cREQUIRE_TYPE\x12\x12\n\x0ePYTHON_PACKAGE\x10\x00\x12\x0e\n\nHUB_MODULE\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0b\n\x07\x43OMMAND\x10\x03\x12\x0e\n\nPY_VERSION\x10\x04\x42\x02H\x03\x62\x06proto3' '\n\x10\x63heck_info.proto\x12\x1apaddlehub.module.checkinfo\"\x85\x01\n\x08\x46ileInfo\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12\x33\n\x04type\x18\x02 \x01(\x0e\x32%.paddlehub.module.checkinfo.FILE_TYPE\x12\x0f\n\x07is_need\x18\x03 \x01(\x08\x12\x0b\n\x03md5\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\"\x84\x01\n\x08Requires\x12>\n\x0crequire_type\x18\x01 \x01(\x0e\x32(.paddlehub.module.checkinfo.REQUIRE_TYPE\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x12\n\ngreat_than\x18\x03 \x01(\x08\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\"\xc8\x01\n\tCheckInfo\x12\x16\n\x0epaddle_version\x18\x01 \x01(\t\x12\x13\n\x0bhub_version\x18\x02 \x01(\t\x12\x1c\n\x14module_proto_version\x18\x03 \x01(\t\x12\x38\n\nfile_infos\x18\x04 \x03(\x0b\x32$.paddlehub.module.checkinfo.FileInfo\x12\x36\n\x08requires\x18\x05 \x03(\x0b\x32$.paddlehub.module.checkinfo.Requires*\x1e\n\tFILE_TYPE\x12\x08\n\x04\x46ILE\x10\x00\x12\x07\n\x03\x44IR\x10\x01*[\n\x0cREQUIRE_TYPE\x12\x12\n\x0ePYTHON_PACKAGE\x10\x00\x12\x0e\n\nHUB_MODULE\x10\x01\x12\n\n\x06SYSTEM\x10\x02\x12\x0b\n\x07\x43OMMAND\x10\x03\x12\x0e\n\nPY_VERSION\x10\x04\x42\x02H\x03\x62\x06proto3'
)) ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR) _sym_db.RegisterFileDescriptor(DESCRIPTOR)
_FILE_TYPE = _descriptor.EnumDescriptor( _FILE_TYPE = _descriptor.EnumDescriptor(
name='FILE_TYPE', name='FILE_TYPE',
full_name='paddle_hub_check_info.FILE_TYPE', full_name='paddlehub.module.checkinfo.FILE_TYPE',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
values=[ values=[
...@@ -35,15 +35,15 @@ _FILE_TYPE = _descriptor.EnumDescriptor( ...@@ -35,15 +35,15 @@ _FILE_TYPE = _descriptor.EnumDescriptor(
], ],
containing_type=None, containing_type=None,
options=None, options=None,
serialized_start=496, serialized_start=522,
serialized_end=526, serialized_end=552,
) )
_sym_db.RegisterEnumDescriptor(_FILE_TYPE) _sym_db.RegisterEnumDescriptor(_FILE_TYPE)
FILE_TYPE = enum_type_wrapper.EnumTypeWrapper(_FILE_TYPE) FILE_TYPE = enum_type_wrapper.EnumTypeWrapper(_FILE_TYPE)
_REQUIRE_TYPE = _descriptor.EnumDescriptor( _REQUIRE_TYPE = _descriptor.EnumDescriptor(
name='REQUIRE_TYPE', name='REQUIRE_TYPE',
full_name='paddle_hub_check_info.REQUIRE_TYPE', full_name='paddlehub.module.checkinfo.REQUIRE_TYPE',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
values=[ values=[
...@@ -60,8 +60,8 @@ _REQUIRE_TYPE = _descriptor.EnumDescriptor( ...@@ -60,8 +60,8 @@ _REQUIRE_TYPE = _descriptor.EnumDescriptor(
], ],
containing_type=None, containing_type=None,
options=None, options=None,
serialized_start=528, serialized_start=554,
serialized_end=619, serialized_end=645,
) )
_sym_db.RegisterEnumDescriptor(_REQUIRE_TYPE) _sym_db.RegisterEnumDescriptor(_REQUIRE_TYPE)
...@@ -76,14 +76,14 @@ PY_VERSION = 4 ...@@ -76,14 +76,14 @@ PY_VERSION = 4
_FILEINFO = _descriptor.Descriptor( _FILEINFO = _descriptor.Descriptor(
name='FileInfo', name='FileInfo',
full_name='paddle_hub_check_info.FileInfo', full_name='paddlehub.module.checkinfo.FileInfo',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
containing_type=None, containing_type=None,
fields=[ fields=[
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='file_name', name='file_name',
full_name='paddle_hub_check_info.FileInfo.file_name', full_name='paddlehub.module.checkinfo.FileInfo.file_name',
index=0, index=0,
number=1, number=1,
type=9, type=9,
...@@ -99,7 +99,7 @@ _FILEINFO = _descriptor.Descriptor( ...@@ -99,7 +99,7 @@ _FILEINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='type', name='type',
full_name='paddle_hub_check_info.FileInfo.type', full_name='paddlehub.module.checkinfo.FileInfo.type',
index=1, index=1,
number=2, number=2,
type=14, type=14,
...@@ -115,7 +115,7 @@ _FILEINFO = _descriptor.Descriptor( ...@@ -115,7 +115,7 @@ _FILEINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='is_need', name='is_need',
full_name='paddle_hub_check_info.FileInfo.is_need', full_name='paddlehub.module.checkinfo.FileInfo.is_need',
index=2, index=2,
number=3, number=3,
type=8, type=8,
...@@ -131,7 +131,7 @@ _FILEINFO = _descriptor.Descriptor( ...@@ -131,7 +131,7 @@ _FILEINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='md5', name='md5',
full_name='paddle_hub_check_info.FileInfo.md5', full_name='paddlehub.module.checkinfo.FileInfo.md5',
index=3, index=3,
number=4, number=4,
type=9, type=9,
...@@ -147,7 +147,7 @@ _FILEINFO = _descriptor.Descriptor( ...@@ -147,7 +147,7 @@ _FILEINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='description', name='description',
full_name='paddle_hub_check_info.FileInfo.description', full_name='paddlehub.module.checkinfo.FileInfo.description',
index=4, index=4,
number=5, number=5,
type=9, type=9,
...@@ -170,20 +170,20 @@ _FILEINFO = _descriptor.Descriptor( ...@@ -170,20 +170,20 @@ _FILEINFO = _descriptor.Descriptor(
syntax='proto3', syntax='proto3',
extension_ranges=[], extension_ranges=[],
oneofs=[], oneofs=[],
serialized_start=44, serialized_start=49,
serialized_end=172, serialized_end=182,
) )
_REQUIRES = _descriptor.Descriptor( _REQUIRES = _descriptor.Descriptor(
name='Requires', name='Requires',
full_name='paddle_hub_check_info.Requires', full_name='paddlehub.module.checkinfo.Requires',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
containing_type=None, containing_type=None,
fields=[ fields=[
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='require_type', name='require_type',
full_name='paddle_hub_check_info.Requires.require_type', full_name='paddlehub.module.checkinfo.Requires.require_type',
index=0, index=0,
number=1, number=1,
type=14, type=14,
...@@ -199,7 +199,7 @@ _REQUIRES = _descriptor.Descriptor( ...@@ -199,7 +199,7 @@ _REQUIRES = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='version', name='version',
full_name='paddle_hub_check_info.Requires.version', full_name='paddlehub.module.checkinfo.Requires.version',
index=1, index=1,
number=2, number=2,
type=9, type=9,
...@@ -215,7 +215,7 @@ _REQUIRES = _descriptor.Descriptor( ...@@ -215,7 +215,7 @@ _REQUIRES = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='great_than', name='great_than',
full_name='paddle_hub_check_info.Requires.great_than', full_name='paddlehub.module.checkinfo.Requires.great_than',
index=2, index=2,
number=3, number=3,
type=8, type=8,
...@@ -231,7 +231,7 @@ _REQUIRES = _descriptor.Descriptor( ...@@ -231,7 +231,7 @@ _REQUIRES = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='description', name='description',
full_name='paddle_hub_check_info.Requires.description', full_name='paddlehub.module.checkinfo.Requires.description',
index=3, index=3,
number=4, number=4,
type=9, type=9,
...@@ -254,20 +254,20 @@ _REQUIRES = _descriptor.Descriptor( ...@@ -254,20 +254,20 @@ _REQUIRES = _descriptor.Descriptor(
syntax='proto3', syntax='proto3',
extension_ranges=[], extension_ranges=[],
oneofs=[], oneofs=[],
serialized_start=174, serialized_start=185,
serialized_end=301, serialized_end=317,
) )
_CHECKINFO = _descriptor.Descriptor( _CHECKINFO = _descriptor.Descriptor(
name='CheckInfo', name='CheckInfo',
full_name='paddle_hub_check_info.CheckInfo', full_name='paddlehub.module.checkinfo.CheckInfo',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
containing_type=None, containing_type=None,
fields=[ fields=[
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='paddle_version', name='paddle_version',
full_name='paddle_hub_check_info.CheckInfo.paddle_version', full_name='paddlehub.module.checkinfo.CheckInfo.paddle_version',
index=0, index=0,
number=1, number=1,
type=9, type=9,
...@@ -283,7 +283,7 @@ _CHECKINFO = _descriptor.Descriptor( ...@@ -283,7 +283,7 @@ _CHECKINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='hub_version', name='hub_version',
full_name='paddle_hub_check_info.CheckInfo.hub_version', full_name='paddlehub.module.checkinfo.CheckInfo.hub_version',
index=1, index=1,
number=2, number=2,
type=9, type=9,
...@@ -299,7 +299,8 @@ _CHECKINFO = _descriptor.Descriptor( ...@@ -299,7 +299,8 @@ _CHECKINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='module_proto_version', name='module_proto_version',
full_name='paddle_hub_check_info.CheckInfo.module_proto_version', full_name=
'paddlehub.module.checkinfo.CheckInfo.module_proto_version',
index=2, index=2,
number=3, number=3,
type=9, type=9,
...@@ -315,7 +316,7 @@ _CHECKINFO = _descriptor.Descriptor( ...@@ -315,7 +316,7 @@ _CHECKINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='file_infos', name='file_infos',
full_name='paddle_hub_check_info.CheckInfo.file_infos', full_name='paddlehub.module.checkinfo.CheckInfo.file_infos',
index=3, index=3,
number=4, number=4,
type=11, type=11,
...@@ -331,7 +332,7 @@ _CHECKINFO = _descriptor.Descriptor( ...@@ -331,7 +332,7 @@ _CHECKINFO = _descriptor.Descriptor(
options=None), options=None),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='requires', name='requires',
full_name='paddle_hub_check_info.CheckInfo.requires', full_name='paddlehub.module.checkinfo.CheckInfo.requires',
index=4, index=4,
number=5, number=5,
type=11, type=11,
...@@ -354,8 +355,8 @@ _CHECKINFO = _descriptor.Descriptor( ...@@ -354,8 +355,8 @@ _CHECKINFO = _descriptor.Descriptor(
syntax='proto3', syntax='proto3',
extension_ranges=[], extension_ranges=[],
oneofs=[], oneofs=[],
serialized_start=304, serialized_start=320,
serialized_end=494, serialized_end=520,
) )
_FILEINFO.fields_by_name['type'].enum_type = _FILE_TYPE _FILEINFO.fields_by_name['type'].enum_type = _FILE_TYPE
...@@ -374,7 +375,7 @@ FileInfo = _reflection.GeneratedProtocolMessageType( ...@@ -374,7 +375,7 @@ FileInfo = _reflection.GeneratedProtocolMessageType(
dict( dict(
DESCRIPTOR=_FILEINFO, DESCRIPTOR=_FILEINFO,
__module__='check_info_pb2' __module__='check_info_pb2'
# @@protoc_insertion_point(class_scope:paddle_hub_check_info.FileInfo) # @@protoc_insertion_point(class_scope:paddlehub.module.checkinfo.FileInfo)
)) ))
_sym_db.RegisterMessage(FileInfo) _sym_db.RegisterMessage(FileInfo)
...@@ -384,7 +385,7 @@ Requires = _reflection.GeneratedProtocolMessageType( ...@@ -384,7 +385,7 @@ Requires = _reflection.GeneratedProtocolMessageType(
dict( dict(
DESCRIPTOR=_REQUIRES, DESCRIPTOR=_REQUIRES,
__module__='check_info_pb2' __module__='check_info_pb2'
# @@protoc_insertion_point(class_scope:paddle_hub_check_info.Requires) # @@protoc_insertion_point(class_scope:paddlehub.module.checkinfo.Requires)
)) ))
_sym_db.RegisterMessage(Requires) _sym_db.RegisterMessage(Requires)
...@@ -394,7 +395,7 @@ CheckInfo = _reflection.GeneratedProtocolMessageType( ...@@ -394,7 +395,7 @@ CheckInfo = _reflection.GeneratedProtocolMessageType(
dict( dict(
DESCRIPTOR=_CHECKINFO, DESCRIPTOR=_CHECKINFO,
__module__='check_info_pb2' __module__='check_info_pb2'
# @@protoc_insertion_point(class_scope:paddle_hub_check_info.CheckInfo) # @@protoc_insertion_point(class_scope:paddlehub.module.checkinfo.CheckInfo)
)) ))
_sym_db.RegisterMessage(CheckInfo) _sym_db.RegisterMessage(CheckInfo)
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
syntax = "proto3"; syntax = "proto3";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
package paddle_hub_module; package paddlehub.module.desc;
enum DataType { enum DataType {
NONE = 0; NONE = 0;
...@@ -70,11 +70,6 @@ message ModuleVar { ...@@ -70,11 +70,6 @@ message ModuleVar {
repeated FeedDesc feed_desc = 2; repeated FeedDesc feed_desc = 2;
} }
message AuthInfo {
string paddle_version = 1;
string hub_version = 2;
}
// A Hub Module is stored in a directory with a file 'module_desc.pb' // A Hub Module is stored in a directory with a file 'module_desc.pb'
// containing a serialized protocol message of this type. The further contents // containing a serialized protocol message of this type. The further contents
// of the directory depend on the storage format described by the message. // of the directory depend on the storage format described by the message.
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册