Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleHub
提交
0b792a5e
P
PaddleHub
项目概览
PaddlePaddle
/
PaddleHub
大约 2 年 前同步成功
通知
285
Star
12117
Fork
2091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
200
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleHub
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
200
Issue
200
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0b792a5e
编写于
4月 08, 2019
作者:
W
wuzewu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update proto
上级
2ec7a71e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
124 addition
and
193 deletion
+124
-193
paddlehub/finetune/checkpoint.proto
paddlehub/finetune/checkpoint.proto
+1
-1
paddlehub/finetune/checkpoint_pb2.py
paddlehub/finetune/checkpoint_pb2.py
+18
-20
paddlehub/module/check_info.proto
paddlehub/module/check_info.proto
+1
-1
paddlehub/module/check_info_pb2.py
paddlehub/module/check_info_pb2.py
+35
-34
paddlehub/module/module_desc.proto
paddlehub/module/module_desc.proto
+1
-6
paddlehub/module/module_desc_pb2.py
paddlehub/module/module_desc_pb2.py
+68
-131
未找到文件。
paddlehub/finetune/checkpoint.proto
浏览文件 @
0b792a5e
...
@@ -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
paddle
hub
.
task.
checkpoint
;
message
CheckPoint
{
message
CheckPoint
{
int64
current_epoch
=
1
;
int64
current_epoch
=
1
;
...
...
paddlehub/finetune/checkpoint_pb2.py
浏览文件 @
0b792a5e
...
@@ -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
=
'paddle
hub.task.
checkpoint'
,
syntax
=
'proto3'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'H
\003
'
),
serialized_pb
=
_b
(
serialized_pb
=
_b
(
'
\n\x10\x63
heckpoint.proto
\x12\x1
e
paddle_hub_finetune_
checkpoint
\"
R
\n\n
CheckPoint
\x12\x15\n\r
current_epoch
\x18\x01
\x01
(
\x03\x12\x13\n\x0b
global_step
\x18\x02
\x01
(
\x03\x12\x18\n\x10
latest_model_dir
\x18\x03
\x01
(
\t
B
\x02
H
\x03\x62\x06
proto3'
'
\n\x10\x63
heckpoint.proto
\x12\x1
9
paddlehub.task.
checkpoint
\"
R
\n\n
CheckPoint
\x12\x15\n\r
current_epoch
\x18\x01
\x01
(
\x03\x12\x13\n\x0b
global_step
\x18\x02
\x01
(
\x03\x12\x18\n\x10
latest_model_dir
\x18\x03
\x01
(
\t
B
\x02
H
\x03\x62\x06
proto3'
))
))
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_CHECKPOINT
=
_descriptor
.
Descriptor
(
_CHECKPOINT
=
_descriptor
.
Descriptor
(
name
=
'CheckPoint'
,
name
=
'CheckPoint'
,
full_name
=
'paddle
_hub_finetune_
checkpoint.CheckPoint'
,
full_name
=
'paddle
hub.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
=
'paddle
hub.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
=
'paddle
hub.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
=
1
34
,
serialized_end
=
1
29
,
)
)
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:paddle
hub.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)
paddlehub/module/check_info.proto
浏览文件 @
0b792a5e
...
@@ -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
paddle
hub
.
module.check
info
;
enum
FILE_TYPE
{
enum
FILE_TYPE
{
FILE
=
0
;
FILE
=
0
;
...
...
paddlehub/module/check_info_pb2.py
浏览文件 @
0b792a5e
...
@@ -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
=
'paddle
hub.module.check
info'
,
syntax
=
'proto3'
,
syntax
=
'proto3'
,
serialized_pb
=
_b
(
serialized_pb
=
_b
(
'
\n\x10\x63
heck_info.proto
\x12\x1
5
paddle_hub_check_info
\"\x80\x01\n\x08\x46
ileInfo
\x12\x11\n\t
file_name
\x18\x01
\x01
(
\t\x12
.
\n\x04
type
\x18\x02
\x01
(
\x0e\x32
.paddle_hub_check_info.FILE_TYPE
\x12\x0f\n\x07
is_need
\x18\x03
\x01
(
\x08\x12\x0b\n\x03
md5
\x18\x04
\x01
(
\t\x12\x13\n\x0b\x64\x65
scription
\x18\x05
\x01
(
\t\"\x7f\n\x08
Requires
\x12\x39\n\x0c
require_type
\x18\x01
\x01
(
\x0e\x32
#.paddle_hub_check_info.REQUIRE_TYPE
\x12\x0f\n\x07
version
\x18\x02
\x01
(
\t\x12\x12\n\n
great_than
\x18\x03
\x01
(
\x08\x12\x13\n\x0b\x64\x65
scription
\x18\x04
\x01
(
\t\"\xbe\x01\n\t
CheckInfo
\x12\x16\n\x0e
paddle_version
\x18\x01
\x01
(
\t\x12\x13\n\x0b
hub_version
\x18\x02
\x01
(
\t\x12\x1c\n\x14
module_proto_version
\x18\x03
\x01
(
\t\x12\x33\n\n
file_infos
\x18\x04
\x03
(
\x0b\x32\x1f
.paddle_hub_check_info.FileInfo
\x12\x31\n\x08
requires
\x18\x05
\x03
(
\x0b\x32\x1f
.paddle_hub_check_
info.Requires*
\x1e\n\t
FILE_TYPE
\x12\x08\n\x04\x46
ILE
\x10\x00\x12\x07\n\x03\x44
IR
\x10\x01
*[
\n\x0c
REQUIRE_TYPE
\x12\x12\n\x0e
PYTHON_PACKAGE
\x10\x00\x12\x0e\n\n
HUB_MODULE
\x10\x01\x12\n\n\x06
SYSTEM
\x10\x02\x12\x0b\n\x07\x43
OMMAND
\x10\x03\x12\x0e\n\n
PY_VERSION
\x10\x04\x42\x02
H
\x03\x62\x06
proto3'
'
\n\x10\x63
heck_info.proto
\x12\x1
a
paddlehub.module.checkinfo
\"\x85\x01\n\x08\x46
ileInfo
\x12\x11\n\t
file_name
\x18\x01
\x01
(
\t\x12\x33\n\x04
type
\x18\x02
\x01
(
\x0e\x32
%.paddlehub.module.checkinfo.FILE_TYPE
\x12\x0f\n\x07
is_need
\x18\x03
\x01
(
\x08\x12\x0b\n\x03
md5
\x18\x04
\x01
(
\t\x12\x13\n\x0b\x64\x65
scription
\x18\x05
\x01
(
\t\"\x84\x01\n\x08
Requires
\x12
>
\n\x0c
require_type
\x18\x01
\x01
(
\x0e\x32
(.paddlehub.module.checkinfo.REQUIRE_TYPE
\x12\x0f\n\x07
version
\x18\x02
\x01
(
\t\x12\x12\n\n
great_than
\x18\x03
\x01
(
\x08\x12\x13\n\x0b\x64\x65
scription
\x18\x04
\x01
(
\t\"\xc8\x01\n\t
CheckInfo
\x12\x16\n\x0e
paddle_version
\x18\x01
\x01
(
\t\x12\x13\n\x0b
hub_version
\x18\x02
\x01
(
\t\x12\x1c\n\x14
module_proto_version
\x18\x03
\x01
(
\t\x12\x38\n\n
file_infos
\x18\x04
\x03
(
\x0b\x32
$.paddlehub.module.checkinfo.FileInfo
\x12\x36\n\x08
requires
\x18\x05
\x03
(
\x0b\x32
$.paddlehub.module.check
info.Requires*
\x1e\n\t
FILE_TYPE
\x12\x08\n\x04\x46
ILE
\x10\x00\x12\x07\n\x03\x44
IR
\x10\x01
*[
\n\x0c
REQUIRE_TYPE
\x12\x12\n\x0e
PYTHON_PACKAGE
\x10\x00\x12\x0e\n\n
HUB_MODULE
\x10\x01\x12\n\n\x06
SYSTEM
\x10\x02\x12\x0b\n\x07\x43
OMMAND
\x10\x03\x12\x0e\n\n
PY_VERSION
\x10\x04\x42\x02
H
\x03\x62\x06
proto3'
))
))
_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
=
'paddle
hub.module.check
info.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
=
5
26
,
serialized_end
=
5
52
,
)
)
_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
=
'paddle
hub.module.check
info.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
=
5
28
,
serialized_start
=
5
54
,
serialized_end
=
6
19
,
serialized_end
=
6
45
,
)
)
_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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
4
4
,
serialized_start
=
4
9
,
serialized_end
=
1
7
2
,
serialized_end
=
1
8
2
,
)
)
_REQUIRES
=
_descriptor
.
Descriptor
(
_REQUIRES
=
_descriptor
.
Descriptor
(
name
=
'Requires'
,
name
=
'Requires'
,
full_name
=
'paddle
_hub_check_
info.Requires'
,
full_name
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
1
74
,
serialized_start
=
1
85
,
serialized_end
=
3
01
,
serialized_end
=
3
17
,
)
)
_CHECKINFO
=
_descriptor
.
Descriptor
(
_CHECKINFO
=
_descriptor
.
Descriptor
(
name
=
'CheckInfo'
,
name
=
'CheckInfo'
,
full_name
=
'paddle
_hub_check_
info.CheckInfo'
,
full_name
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
'paddle
hub.module.check
info.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
=
3
04
,
serialized_start
=
3
20
,
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:paddle
hub.module.check
info.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:paddle
hub.module.check
info.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:paddle
hub.module.check
info.CheckInfo)
))
))
_sym_db
.
RegisterMessage
(
CheckInfo
)
_sym_db
.
RegisterMessage
(
CheckInfo
)
...
...
paddlehub/module/module_desc.proto
浏览文件 @
0b792a5e
...
@@ -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
paddle
hub
.
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.
...
...
paddlehub/module/module_desc_pb2.py
浏览文件 @
0b792a5e
...
@@ -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
=
'module_desc.proto'
,
name
=
'module_desc.proto'
,
package
=
'paddle
_hub_module
'
,
package
=
'paddle
hub.module.desc
'
,
syntax
=
'proto3'
,
syntax
=
'proto3'
,
serialized_pb
=
_b
(
serialized_pb
=
_b
(
'
\n\x11
module_desc.proto
\x12\x1
1
paddle_hub_module
\"\x8e\x02\n\x06
KVData
\x12\x38\n\x08
key_type
\x18\x01
\x03
(
\x0b\x32
&.paddle_hub_module.KVData.KeyTypeEntry
\x12\x31\n\x04\x64\x61
ta
\x18\x02
\x03
(
\x0b\x32
#.paddle_hub_module.KVData.DataEntry
\x1a
K
\n\x0c
KeyTypeEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
*
\n\x05
value
\x18\x02
\x01
(
\x0e\x32\x1b
.paddle_hub_module.DataType:
\x02\x38\x01\x1a
J
\n\t
DataEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
,
\n\x05
value
\x18\x02
\x01
(
\x0b\x32\x1d
.paddle_hub_module.ModuleAttr:
\x02\x38\x01\"\xa3\x02\n\n
ModuleAttr
\x12
)
\n\x04
type
\x18\x01
\x01
(
\x0e\x32\x1b
.paddle_hub_module.DataType
\x12\t\n\x01
i
\x18\x02
\x01
(
\x03\x12\t\n\x01\x66\x18\x03
\x01
(
\x01\x12\t\n\x01\x62\x18\x04
\x01
(
\x08\x12\t\n\x01
s
\x18\x05
\x01
(
\t\x12
&
\n\x03
map
\x18\x06
\x01
(
\x0b\x32\x19
.paddle_hub_module.KVData
\x12\'\n\x04
list
\x18\x07
\x01
(
\x0b\x32\x19
.paddle_hub_module.KVData
\x12
&
\n\x03
set
\x18\x08
\x01
(
\x0b\x32\x19
.paddle_hub_module.KVData
\x12
)
\n\x06
object
\x18\t
\x01
(
\x0b\x32\x19
.paddle_hub_module.KVData
\x12\x0c\n\x04
name
\x18\n
\x01
(
\t\x12\x0c\n\x04
info
\x18\x0b
\x01
(
\t\"
+
\n\x08\x46\x65\x65\x64\x44\x65
sc
\x12\x10\n\x08
var_name
\x18\x01
\x01
(
\t\x12\r\n\x05\x61
lias
\x18\x02
\x01
(
\t\"
,
\n\t
FetchDesc
\x12\x10\n\x08
var_name
\x18\x01
\x01
(
\t\x12\r\n\x05\x61
lias
\x18\x02
\x01
(
\t\"
m
\n\t
ModuleVar
\x12\x30\n\n
fetch_desc
\x18\x01
\x03
(
\x0b\x32\x1c
.paddle_hub_module.FetchDesc
\x12
.
\n\t
feed_desc
\x18\x02
\x03
(
\x0b\x32\x1b
.paddle_hub_module.FeedDesc
\"
7
\n\x08\x41
uthInfo
\x12\x16\n\x0e
paddle_version
\x18\x01
\x01
(
\t\x12\x13\n\x0b
hub_version
\x18\x02
\x01
(
\t\"\xc7\x01\n\n
ModuleDesc
\x12
=
\n\x08
sign2var
\x18\x02
\x03
(
\x0b\x32
+.paddle_hub_module.ModuleDesc.Sign2varEntry
\x12
+
\n\x04\x61
ttr
\x18\x03
\x01
(
\x0b\x32\x1d
.paddle_hub_module.ModuleAttr
\x1a
M
\n\r
Sign2varEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
+
\n\x05
value
\x18\x02
\x01
(
\x0b\x32\x1c
.paddle_hub_module
.ModuleVar:
\x02\x38\x01
*i
\n\x08\x44\x61
taType
\x12\x08\n\x04
NONE
\x10\x00\x12\x07\n\x03
INT
\x10\x01\x12\t\n\x05\x46
LOAT
\x10\x02\x12\n\n\x06
STRING
\x10\x03\x12\x0b\n\x07\x42
OOLEAN
\x10\x04\x12\x08\n\x04
LIST
\x10\x05\x12\x07\n\x03
MAP
\x10\x06\x12\x07\n\x03
SET
\x10\x07\x12\n\n\x06
OBJECT
\x10\x08\x42\x02
H
\x03\x62\x06
proto3'
'
\n\x11
module_desc.proto
\x12\x1
5
paddlehub.module.desc
\"\x9e\x02\n\x06
KVData
\x12
<
\n\x08
key_type
\x18\x01
\x03
(
\x0b\x32
*.paddlehub.module.desc.KVData.KeyTypeEntry
\x12\x35\n\x04\x64\x61
ta
\x18\x02
\x03
(
\x0b\x32\'
.paddlehub.module.desc.KVData.DataEntry
\x1a
O
\n\x0c
KeyTypeEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
.
\n\x05
value
\x18\x02
\x01
(
\x0e\x32\x1f
.paddlehub.module.desc.DataType:
\x02\x38\x01\x1a
N
\n\t
DataEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\x30\n\x05
value
\x18\x02
\x01
(
\x0b\x32
!.paddlehub.module.desc.ModuleAttr:
\x02\x38\x01\"\xb7\x02\n\n
ModuleAttr
\x12
-
\n\x04
type
\x18\x01
\x01
(
\x0e\x32\x1f
.paddlehub.module.desc.DataType
\x12\t\n\x01
i
\x18\x02
\x01
(
\x03\x12\t\n\x01\x66\x18\x03
\x01
(
\x01\x12\t\n\x01\x62\x18\x04
\x01
(
\x08\x12\t\n\x01
s
\x18\x05
\x01
(
\t\x12
*
\n\x03
map
\x18\x06
\x01
(
\x0b\x32\x1d
.paddlehub.module.desc.KVData
\x12
+
\n\x04
list
\x18\x07
\x01
(
\x0b\x32\x1d
.paddlehub.module.desc.KVData
\x12
*
\n\x03
set
\x18\x08
\x01
(
\x0b\x32\x1d
.paddlehub.module.desc.KVData
\x12
-
\n\x06
object
\x18\t
\x01
(
\x0b\x32\x1d
.paddlehub.module.desc.KVData
\x12\x0c\n\x04
name
\x18\n
\x01
(
\t\x12\x0c\n\x04
info
\x18\x0b
\x01
(
\t\"
+
\n\x08\x46\x65\x65\x64\x44\x65
sc
\x12\x10\n\x08
var_name
\x18\x01
\x01
(
\t\x12\r\n\x05\x61
lias
\x18\x02
\x01
(
\t\"
,
\n\t
FetchDesc
\x12\x10\n\x08
var_name
\x18\x01
\x01
(
\t\x12\r\n\x05\x61
lias
\x18\x02
\x01
(
\t\"
u
\n\t
ModuleVar
\x12\x34\n\n
fetch_desc
\x18\x01
\x03
(
\x0b\x32
.paddlehub.module.desc.FetchDesc
\x12\x32\n\t
feed_desc
\x18\x02
\x03
(
\x0b\x32\x1f
.paddlehub.module.desc.FeedDesc
\"\xd3\x01\n\n
ModuleDesc
\x12\x41\n\x08
sign2var
\x18\x02
\x03
(
\x0b\x32
/.paddlehub.module.desc.ModuleDesc.Sign2varEntry
\x12
/
\n\x04\x61
ttr
\x18\x03
\x01
(
\x0b\x32
!.paddlehub.module.desc.ModuleAttr
\x1a
Q
\n\r
Sign2varEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
/
\n\x05
value
\x18\x02
\x01
(
\x0b\x32
.paddlehub.module.desc
.ModuleVar:
\x02\x38\x01
*i
\n\x08\x44\x61
taType
\x12\x08\n\x04
NONE
\x10\x00\x12\x07\n\x03
INT
\x10\x01\x12\t\n\x05\x46
LOAT
\x10\x02\x12\n\n\x06
STRING
\x10\x03\x12\x0b\n\x07\x42
OOLEAN
\x10\x04\x12\x08\n\x04
LIST
\x10\x05\x12\x07\n\x03
MAP
\x10\x06\x12\x07\n\x03
SET
\x10\x07\x12\n\n\x06
OBJECT
\x10\x08\x42\x02
H
\x03\x62\x06
proto3'
))
))
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_DATATYPE
=
_descriptor
.
EnumDescriptor
(
_DATATYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'DataType'
,
name
=
'DataType'
,
full_name
=
'paddle
_hub_module
.DataType'
,
full_name
=
'paddle
hub.module.desc
.DataType'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
values
=
[
values
=
[
...
@@ -49,8 +49,8 @@ _DATATYPE = _descriptor.EnumDescriptor(
...
@@ -49,8 +49,8 @@ _DATATYPE = _descriptor.EnumDescriptor(
],
],
containing_type
=
None
,
containing_type
=
None
,
options
=
None
,
options
=
None
,
serialized_start
=
10
68
,
serialized_start
=
10
71
,
serialized_end
=
117
3
,
serialized_end
=
117
6
,
)
)
_sym_db
.
RegisterEnumDescriptor
(
_DATATYPE
)
_sym_db
.
RegisterEnumDescriptor
(
_DATATYPE
)
...
@@ -67,14 +67,14 @@ OBJECT = 8
...
@@ -67,14 +67,14 @@ OBJECT = 8
_KVDATA_KEYTYPEENTRY
=
_descriptor
.
Descriptor
(
_KVDATA_KEYTYPEENTRY
=
_descriptor
.
Descriptor
(
name
=
'KeyTypeEntry'
,
name
=
'KeyTypeEntry'
,
full_name
=
'paddle
_hub_module
.KVData.KeyTypeEntry'
,
full_name
=
'paddle
hub.module.desc
.KVData.KeyTypeEntry'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
name
=
'key'
,
full_name
=
'paddle
_hub_module
.KVData.KeyTypeEntry.key'
,
full_name
=
'paddle
hub.module.desc
.KVData.KeyTypeEntry.key'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
9
,
type
=
9
,
...
@@ -90,7 +90,7 @@ _KVDATA_KEYTYPEENTRY = _descriptor.Descriptor(
...
@@ -90,7 +90,7 @@ _KVDATA_KEYTYPEENTRY = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
name
=
'value'
,
full_name
=
'paddle
_hub_module
.KVData.KeyTypeEntry.value'
,
full_name
=
'paddle
hub.module.desc
.KVData.KeyTypeEntry.value'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
14
,
type
=
14
,
...
@@ -114,20 +114,20 @@ _KVDATA_KEYTYPEENTRY = _descriptor.Descriptor(
...
@@ -114,20 +114,20 @@ _KVDATA_KEYTYPEENTRY = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
1
60
,
serialized_start
=
1
72
,
serialized_end
=
2
35
,
serialized_end
=
2
51
,
)
)
_KVDATA_DATAENTRY
=
_descriptor
.
Descriptor
(
_KVDATA_DATAENTRY
=
_descriptor
.
Descriptor
(
name
=
'DataEntry'
,
name
=
'DataEntry'
,
full_name
=
'paddle
_hub_module
.KVData.DataEntry'
,
full_name
=
'paddle
hub.module.desc
.KVData.DataEntry'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
name
=
'key'
,
full_name
=
'paddle
_hub_module
.KVData.DataEntry.key'
,
full_name
=
'paddle
hub.module.desc
.KVData.DataEntry.key'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
9
,
type
=
9
,
...
@@ -143,7 +143,7 @@ _KVDATA_DATAENTRY = _descriptor.Descriptor(
...
@@ -143,7 +143,7 @@ _KVDATA_DATAENTRY = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
name
=
'value'
,
full_name
=
'paddle
_hub_module
.KVData.DataEntry.value'
,
full_name
=
'paddle
hub.module.desc
.KVData.DataEntry.value'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
11
,
type
=
11
,
...
@@ -167,20 +167,20 @@ _KVDATA_DATAENTRY = _descriptor.Descriptor(
...
@@ -167,20 +167,20 @@ _KVDATA_DATAENTRY = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
2
37
,
serialized_start
=
2
53
,
serialized_end
=
3
1
1
,
serialized_end
=
3
3
1
,
)
)
_KVDATA
=
_descriptor
.
Descriptor
(
_KVDATA
=
_descriptor
.
Descriptor
(
name
=
'KVData'
,
name
=
'KVData'
,
full_name
=
'paddle
_hub_module
.KVData'
,
full_name
=
'paddle
hub.module.desc
.KVData'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'key_type'
,
name
=
'key_type'
,
full_name
=
'paddle
_hub_module
.KVData.key_type'
,
full_name
=
'paddle
hub.module.desc
.KVData.key_type'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
11
,
type
=
11
,
...
@@ -196,7 +196,7 @@ _KVDATA = _descriptor.Descriptor(
...
@@ -196,7 +196,7 @@ _KVDATA = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'data'
,
name
=
'data'
,
full_name
=
'paddle
_hub_module
.KVData.data'
,
full_name
=
'paddle
hub.module.desc
.KVData.data'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
11
,
type
=
11
,
...
@@ -222,20 +222,20 @@ _KVDATA = _descriptor.Descriptor(
...
@@ -222,20 +222,20 @@ _KVDATA = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
4
1
,
serialized_start
=
4
5
,
serialized_end
=
3
1
1
,
serialized_end
=
3
3
1
,
)
)
_MODULEATTR
=
_descriptor
.
Descriptor
(
_MODULEATTR
=
_descriptor
.
Descriptor
(
name
=
'ModuleAttr'
,
name
=
'ModuleAttr'
,
full_name
=
'paddle
_hub_module
.ModuleAttr'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'type'
,
name
=
'type'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.type'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.type'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
14
,
type
=
14
,
...
@@ -251,7 +251,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -251,7 +251,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'i'
,
name
=
'i'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.i'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.i'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
3
,
type
=
3
,
...
@@ -267,7 +267,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -267,7 +267,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'f'
,
name
=
'f'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.f'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.f'
,
index
=
2
,
index
=
2
,
number
=
3
,
number
=
3
,
type
=
1
,
type
=
1
,
...
@@ -283,7 +283,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -283,7 +283,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'b'
,
name
=
'b'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.b'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.b'
,
index
=
3
,
index
=
3
,
number
=
4
,
number
=
4
,
type
=
8
,
type
=
8
,
...
@@ -299,7 +299,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -299,7 +299,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
's'
,
name
=
's'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.s'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.s'
,
index
=
4
,
index
=
4
,
number
=
5
,
number
=
5
,
type
=
9
,
type
=
9
,
...
@@ -315,7 +315,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -315,7 +315,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'map'
,
name
=
'map'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.map'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.map'
,
index
=
5
,
index
=
5
,
number
=
6
,
number
=
6
,
type
=
11
,
type
=
11
,
...
@@ -331,7 +331,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -331,7 +331,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'list'
,
name
=
'list'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.list'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.list'
,
index
=
6
,
index
=
6
,
number
=
7
,
number
=
7
,
type
=
11
,
type
=
11
,
...
@@ -347,7 +347,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -347,7 +347,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'set'
,
name
=
'set'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.set'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.set'
,
index
=
7
,
index
=
7
,
number
=
8
,
number
=
8
,
type
=
11
,
type
=
11
,
...
@@ -363,7 +363,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -363,7 +363,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'object'
,
name
=
'object'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.object'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.object'
,
index
=
8
,
index
=
8
,
number
=
9
,
number
=
9
,
type
=
11
,
type
=
11
,
...
@@ -379,7 +379,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -379,7 +379,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
name
=
'name'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.name'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.name'
,
index
=
9
,
index
=
9
,
number
=
10
,
number
=
10
,
type
=
9
,
type
=
9
,
...
@@ -395,7 +395,7 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -395,7 +395,7 @@ _MODULEATTR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'info'
,
name
=
'info'
,
full_name
=
'paddle
_hub_module
.ModuleAttr.info'
,
full_name
=
'paddle
hub.module.desc
.ModuleAttr.info'
,
index
=
10
,
index
=
10
,
number
=
11
,
number
=
11
,
type
=
9
,
type
=
9
,
...
@@ -418,20 +418,20 @@ _MODULEATTR = _descriptor.Descriptor(
...
@@ -418,20 +418,20 @@ _MODULEATTR = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
3
1
4
,
serialized_start
=
3
3
4
,
serialized_end
=
6
0
5
,
serialized_end
=
6
4
5
,
)
)
_FEEDDESC
=
_descriptor
.
Descriptor
(
_FEEDDESC
=
_descriptor
.
Descriptor
(
name
=
'FeedDesc'
,
name
=
'FeedDesc'
,
full_name
=
'paddle
_hub_module
.FeedDesc'
,
full_name
=
'paddle
hub.module.desc
.FeedDesc'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'var_name'
,
name
=
'var_name'
,
full_name
=
'paddle
_hub_module
.FeedDesc.var_name'
,
full_name
=
'paddle
hub.module.desc
.FeedDesc.var_name'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
9
,
type
=
9
,
...
@@ -447,7 +447,7 @@ _FEEDDESC = _descriptor.Descriptor(
...
@@ -447,7 +447,7 @@ _FEEDDESC = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'alias'
,
name
=
'alias'
,
full_name
=
'paddle
_hub_module
.FeedDesc.alias'
,
full_name
=
'paddle
hub.module.desc
.FeedDesc.alias'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
9
,
type
=
9
,
...
@@ -470,20 +470,20 @@ _FEEDDESC = _descriptor.Descriptor(
...
@@ -470,20 +470,20 @@ _FEEDDESC = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
6
0
7
,
serialized_start
=
6
4
7
,
serialized_end
=
6
5
0
,
serialized_end
=
6
9
0
,
)
)
_FETCHDESC
=
_descriptor
.
Descriptor
(
_FETCHDESC
=
_descriptor
.
Descriptor
(
name
=
'FetchDesc'
,
name
=
'FetchDesc'
,
full_name
=
'paddle
_hub_module
.FetchDesc'
,
full_name
=
'paddle
hub.module.desc
.FetchDesc'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'var_name'
,
name
=
'var_name'
,
full_name
=
'paddle
_hub_module
.FetchDesc.var_name'
,
full_name
=
'paddle
hub.module.desc
.FetchDesc.var_name'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
9
,
type
=
9
,
...
@@ -499,7 +499,7 @@ _FETCHDESC = _descriptor.Descriptor(
...
@@ -499,7 +499,7 @@ _FETCHDESC = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'alias'
,
name
=
'alias'
,
full_name
=
'paddle
_hub_module
.FetchDesc.alias'
,
full_name
=
'paddle
hub.module.desc
.FetchDesc.alias'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
9
,
type
=
9
,
...
@@ -522,20 +522,20 @@ _FETCHDESC = _descriptor.Descriptor(
...
@@ -522,20 +522,20 @@ _FETCHDESC = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
6
5
2
,
serialized_start
=
6
9
2
,
serialized_end
=
69
6
,
serialized_end
=
73
6
,
)
)
_MODULEVAR
=
_descriptor
.
Descriptor
(
_MODULEVAR
=
_descriptor
.
Descriptor
(
name
=
'ModuleVar'
,
name
=
'ModuleVar'
,
full_name
=
'paddle
_hub_module
.ModuleVar'
,
full_name
=
'paddle
hub.module.desc
.ModuleVar'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'fetch_desc'
,
name
=
'fetch_desc'
,
full_name
=
'paddle
_hub_module
.ModuleVar.fetch_desc'
,
full_name
=
'paddle
hub.module.desc
.ModuleVar.fetch_desc'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
11
,
type
=
11
,
...
@@ -551,7 +551,7 @@ _MODULEVAR = _descriptor.Descriptor(
...
@@ -551,7 +551,7 @@ _MODULEVAR = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'feed_desc'
,
name
=
'feed_desc'
,
full_name
=
'paddle
_hub_module
.ModuleVar.feed_desc'
,
full_name
=
'paddle
hub.module.desc
.ModuleVar.feed_desc'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
11
,
type
=
11
,
...
@@ -574,72 +574,20 @@ _MODULEVAR = _descriptor.Descriptor(
...
@@ -574,72 +574,20 @@ _MODULEVAR = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
698
,
serialized_start
=
738
,
serialized_end
=
807
,
serialized_end
=
855
,
)
_AUTHINFO
=
_descriptor
.
Descriptor
(
name
=
'AuthInfo'
,
full_name
=
'paddle_hub_module.AuthInfo'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'paddle_version'
,
full_name
=
'paddle_hub_module.AuthInfo.paddle_version'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'hub_version'
,
full_name
=
'paddle_hub_module.AuthInfo.hub_version'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[],
nested_types
=
[],
enum_types
=
[],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[],
serialized_start
=
809
,
serialized_end
=
864
,
)
)
_MODULEDESC_SIGN2VARENTRY
=
_descriptor
.
Descriptor
(
_MODULEDESC_SIGN2VARENTRY
=
_descriptor
.
Descriptor
(
name
=
'Sign2varEntry'
,
name
=
'Sign2varEntry'
,
full_name
=
'paddle
_hub_module
.ModuleDesc.Sign2varEntry'
,
full_name
=
'paddle
hub.module.desc
.ModuleDesc.Sign2varEntry'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
name
=
'key'
,
full_name
=
'paddle
_hub_module
.ModuleDesc.Sign2varEntry.key'
,
full_name
=
'paddle
hub.module.desc
.ModuleDesc.Sign2varEntry.key'
,
index
=
0
,
index
=
0
,
number
=
1
,
number
=
1
,
type
=
9
,
type
=
9
,
...
@@ -655,7 +603,7 @@ _MODULEDESC_SIGN2VARENTRY = _descriptor.Descriptor(
...
@@ -655,7 +603,7 @@ _MODULEDESC_SIGN2VARENTRY = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
name
=
'value'
,
full_name
=
'paddle
_hub_module
.ModuleDesc.Sign2varEntry.value'
,
full_name
=
'paddle
hub.module.desc
.ModuleDesc.Sign2varEntry.value'
,
index
=
1
,
index
=
1
,
number
=
2
,
number
=
2
,
type
=
11
,
type
=
11
,
...
@@ -679,20 +627,20 @@ _MODULEDESC_SIGN2VARENTRY = _descriptor.Descriptor(
...
@@ -679,20 +627,20 @@ _MODULEDESC_SIGN2VARENTRY = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
98
9
,
serialized_start
=
98
8
,
serialized_end
=
106
6
,
serialized_end
=
106
9
,
)
)
_MODULEDESC
=
_descriptor
.
Descriptor
(
_MODULEDESC
=
_descriptor
.
Descriptor
(
name
=
'ModuleDesc'
,
name
=
'ModuleDesc'
,
full_name
=
'paddle
_hub_module
.ModuleDesc'
,
full_name
=
'paddle
hub.module.desc
.ModuleDesc'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'sign2var'
,
name
=
'sign2var'
,
full_name
=
'paddle
_hub_module
.ModuleDesc.sign2var'
,
full_name
=
'paddle
hub.module.desc
.ModuleDesc.sign2var'
,
index
=
0
,
index
=
0
,
number
=
2
,
number
=
2
,
type
=
11
,
type
=
11
,
...
@@ -708,7 +656,7 @@ _MODULEDESC = _descriptor.Descriptor(
...
@@ -708,7 +656,7 @@ _MODULEDESC = _descriptor.Descriptor(
options
=
None
),
options
=
None
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'attr'
,
name
=
'attr'
,
full_name
=
'paddle
_hub_module
.ModuleDesc.attr'
,
full_name
=
'paddle
hub.module.desc
.ModuleDesc.attr'
,
index
=
1
,
index
=
1
,
number
=
3
,
number
=
3
,
type
=
11
,
type
=
11
,
...
@@ -733,8 +681,8 @@ _MODULEDESC = _descriptor.Descriptor(
...
@@ -733,8 +681,8 @@ _MODULEDESC = _descriptor.Descriptor(
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[],
oneofs
=
[],
serialized_start
=
8
67
,
serialized_start
=
8
58
,
serialized_end
=
106
6
,
serialized_end
=
106
9
,
)
)
_KVDATA_KEYTYPEENTRY
.
fields_by_name
[
'value'
].
enum_type
=
_DATATYPE
_KVDATA_KEYTYPEENTRY
.
fields_by_name
[
'value'
].
enum_type
=
_DATATYPE
...
@@ -759,7 +707,6 @@ DESCRIPTOR.message_types_by_name['ModuleAttr'] = _MODULEATTR
...
@@ -759,7 +707,6 @@ DESCRIPTOR.message_types_by_name['ModuleAttr'] = _MODULEATTR
DESCRIPTOR
.
message_types_by_name
[
'FeedDesc'
]
=
_FEEDDESC
DESCRIPTOR
.
message_types_by_name
[
'FeedDesc'
]
=
_FEEDDESC
DESCRIPTOR
.
message_types_by_name
[
'FetchDesc'
]
=
_FETCHDESC
DESCRIPTOR
.
message_types_by_name
[
'FetchDesc'
]
=
_FETCHDESC
DESCRIPTOR
.
message_types_by_name
[
'ModuleVar'
]
=
_MODULEVAR
DESCRIPTOR
.
message_types_by_name
[
'ModuleVar'
]
=
_MODULEVAR
DESCRIPTOR
.
message_types_by_name
[
'AuthInfo'
]
=
_AUTHINFO
DESCRIPTOR
.
message_types_by_name
[
'ModuleDesc'
]
=
_MODULEDESC
DESCRIPTOR
.
message_types_by_name
[
'ModuleDesc'
]
=
_MODULEDESC
DESCRIPTOR
.
enum_types_by_name
[
'DataType'
]
=
_DATATYPE
DESCRIPTOR
.
enum_types_by_name
[
'DataType'
]
=
_DATATYPE
...
@@ -773,7 +720,7 @@ KVData = _reflection.GeneratedProtocolMessageType(
...
@@ -773,7 +720,7 @@ KVData = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_KVDATA_KEYTYPEENTRY
,
DESCRIPTOR
=
_KVDATA_KEYTYPEENTRY
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.KVData.KeyTypeEntry)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.KVData.KeyTypeEntry)
)),
)),
DataEntry
=
_reflection
.
GeneratedProtocolMessageType
(
DataEntry
=
_reflection
.
GeneratedProtocolMessageType
(
'DataEntry'
,
'DataEntry'
,
...
@@ -781,11 +728,11 @@ KVData = _reflection.GeneratedProtocolMessageType(
...
@@ -781,11 +728,11 @@ KVData = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_KVDATA_DATAENTRY
,
DESCRIPTOR
=
_KVDATA_DATAENTRY
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.KVData.DataEntry)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.KVData.DataEntry)
)),
)),
DESCRIPTOR
=
_KVDATA
,
DESCRIPTOR
=
_KVDATA
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.KVData)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.KVData)
))
))
_sym_db
.
RegisterMessage
(
KVData
)
_sym_db
.
RegisterMessage
(
KVData
)
_sym_db
.
RegisterMessage
(
KVData
.
KeyTypeEntry
)
_sym_db
.
RegisterMessage
(
KVData
.
KeyTypeEntry
)
...
@@ -797,7 +744,7 @@ ModuleAttr = _reflection.GeneratedProtocolMessageType(
...
@@ -797,7 +744,7 @@ ModuleAttr = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_MODULEATTR
,
DESCRIPTOR
=
_MODULEATTR
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.ModuleAttr)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.ModuleAttr)
))
))
_sym_db
.
RegisterMessage
(
ModuleAttr
)
_sym_db
.
RegisterMessage
(
ModuleAttr
)
...
@@ -807,7 +754,7 @@ FeedDesc = _reflection.GeneratedProtocolMessageType(
...
@@ -807,7 +754,7 @@ FeedDesc = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_FEEDDESC
,
DESCRIPTOR
=
_FEEDDESC
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.FeedDesc)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.FeedDesc)
))
))
_sym_db
.
RegisterMessage
(
FeedDesc
)
_sym_db
.
RegisterMessage
(
FeedDesc
)
...
@@ -817,7 +764,7 @@ FetchDesc = _reflection.GeneratedProtocolMessageType(
...
@@ -817,7 +764,7 @@ FetchDesc = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_FETCHDESC
,
DESCRIPTOR
=
_FETCHDESC
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.FetchDesc)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.FetchDesc)
))
))
_sym_db
.
RegisterMessage
(
FetchDesc
)
_sym_db
.
RegisterMessage
(
FetchDesc
)
...
@@ -827,20 +774,10 @@ ModuleVar = _reflection.GeneratedProtocolMessageType(
...
@@ -827,20 +774,10 @@ ModuleVar = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_MODULEVAR
,
DESCRIPTOR
=
_MODULEVAR
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.ModuleVar)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.ModuleVar)
))
))
_sym_db
.
RegisterMessage
(
ModuleVar
)
_sym_db
.
RegisterMessage
(
ModuleVar
)
AuthInfo
=
_reflection
.
GeneratedProtocolMessageType
(
'AuthInfo'
,
(
_message
.
Message
,
),
dict
(
DESCRIPTOR
=
_AUTHINFO
,
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle_hub_module.AuthInfo)
))
_sym_db
.
RegisterMessage
(
AuthInfo
)
ModuleDesc
=
_reflection
.
GeneratedProtocolMessageType
(
ModuleDesc
=
_reflection
.
GeneratedProtocolMessageType
(
'ModuleDesc'
,
'ModuleDesc'
,
(
_message
.
Message
,
),
(
_message
.
Message
,
),
...
@@ -851,11 +788,11 @@ ModuleDesc = _reflection.GeneratedProtocolMessageType(
...
@@ -851,11 +788,11 @@ ModuleDesc = _reflection.GeneratedProtocolMessageType(
dict
(
dict
(
DESCRIPTOR
=
_MODULEDESC_SIGN2VARENTRY
,
DESCRIPTOR
=
_MODULEDESC_SIGN2VARENTRY
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.ModuleDesc.Sign2varEntry)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.ModuleDesc.Sign2varEntry)
)),
)),
DESCRIPTOR
=
_MODULEDESC
,
DESCRIPTOR
=
_MODULEDESC
,
__module__
=
'module_desc_pb2'
__module__
=
'module_desc_pb2'
# @@protoc_insertion_point(class_scope:paddle
_hub_module
.ModuleDesc)
# @@protoc_insertion_point(class_scope:paddle
hub.module.desc
.ModuleDesc)
))
))
_sym_db
.
RegisterMessage
(
ModuleDesc
)
_sym_db
.
RegisterMessage
(
ModuleDesc
)
_sym_db
.
RegisterMessage
(
ModuleDesc
.
Sign2varEntry
)
_sym_db
.
RegisterMessage
(
ModuleDesc
.
Sign2varEntry
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录