Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
Mace
提交
5ad04cd0
Mace
项目概览
慢慢CG
/
Mace
与 Fork 源项目一致
Fork自
Xiaomi / Mace
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Mace
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
5ad04cd0
编写于
1月 04, 2018
作者:
L
liuqi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unused mace_pb2.py
上级
ef1837f6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
896 deletion
+0
-896
mace/python/tools/mace_pb2.py
mace/python/tools/mace_pb2.py
+0
-896
未找到文件。
mace/python/tools/mace_pb2.py
已删除
100755 → 0
浏览文件 @
ef1837f6
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mace/proto/mace.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf.internal
import
enum_type_wrapper
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'mace/proto/mace.proto'
,
package
=
'mace'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n\x15
mace/proto/mace.proto
\x12\x04
mace
\"\xf0\x01\n\x0b
TensorProto
\x12\x0c\n\x04\x64
ims
\x18\x01
\x03
(
\x03\x12
+
\n\t
data_type
\x18\x02
\x01
(
\x0e\x32\x0e
.mace.DataType:
\x08\x44
T_FLOAT
\x12\x16\n\n
float_data
\x18\x03
\x03
(
\x02\x42\x02\x10\x01\x12\x16\n\n
int32_data
\x18\x04
\x03
(
\x05\x42\x02\x10\x01\x12\x11\n\t
byte_data
\x18\x05
\x01
(
\x0c\x12\x13\n\x0b
string_data
\x18\x06
\x03
(
\x0c\x12\x17\n\x0b\x64
ouble_data
\x18\t
\x03
(
\x01\x42\x02\x10\x01\x12\x16\n\n
int64_data
\x18\n
\x03
(
\x03\x42\x02\x10\x01\x12\x0c\n\x04
name
\x18\x07
\x01
(
\t\x12\x0f\n\x07
node_id
\x18\x64
\x01
(
\r\"
h
\n\x08\x41
rgument
\x12\x0c\n\x04
name
\x18\x01
\x01
(
\t\x12\t\n\x01\x66\x18\x02
\x01
(
\x02\x12\t\n\x01
i
\x18\x03
\x01
(
\x03\x12\t\n\x01
s
\x18\x04
\x01
(
\x0c\x12\x0e\n\x06\x66
loats
\x18\x05
\x03
(
\x02\x12\x0c\n\x04
ints
\x18\x06
\x03
(
\x03\x12\x0f\n\x07
strings
\x18\x07
\x03
(
\x0c\"
1
\n\t
NodeInput
\x12\x0f\n\x07
node_id
\x18\x01
\x01
(
\x05\x12\x13\n\x0b
output_port
\x18\x02
\x01
(
\x05\"\x1b\n\x0b
OutputShape
\x12\x0c\n\x04\x64
ims
\x18\x01
\x03
(
\x03\"\xb8\x02\n\x0b
OperatorDef
\x12\r\n\x05
input
\x18\x01
\x03
(
\t\x12\x0e\n\x06
output
\x18\x02
\x03
(
\t\x12\x0c\n\x04
name
\x18\x03
\x01
(
\t\x12\x0c\n\x04
type
\x18\x04
\x01
(
\t\x12\x1b\n\x03\x61
rg
\x18\x05
\x03
(
\x0b\x32\x0e
.mace.Argument
\x12\'\n\x0c
output_shape
\x18\x06
\x03
(
\x0b\x32\x11
.mace.OutputShape
\x12
#
\n\x0b
output_type
\x18\x07
\x03
(
\x0e\x32\x0e
.mace.DataType
\x12\x12\n\x06
mem_id
\x18\n
\x01
(
\x05
:
\x02
-1
\x12\x0f\n\x07
node_id
\x18\x64
\x01
(
\r\x12\r\n\x05
op_id
\x18\x65
\x01
(
\r\x12\x0f\n\x07
padding
\x18\x66
\x01
(
\r\x12
#
\n\n
node_input
\x18
g
\x03
(
\x0b\x32\x0f
.mace.NodeInput
\x12\x19\n\x11
out_max_byte_size
\x18
h
\x03
(
\x05\"
3
\n\x0b
MemoryBlock
\x12\x0e\n\x06
mem_id
\x18\x01
\x01
(
\x05\x12\t\n\x01
x
\x18\x02
\x01
(
\r\x12\t\n\x01
y
\x18\x03
\x01
(
\r\"
3
\n\x0b
MemoryArena
\x12
$
\n\t
mem_block
\x18\x01
\x03
(
\x0b\x32\x11
.mace.MemoryBlock
\"
|
\n\t
InputInfo
\x12\x0c\n\x04
name
\x18\x01
\x01
(
\t\x12\x0f\n\x07
node_id
\x18\x02
\x01
(
\x05\x12\x0c\n\x04\x64
ims
\x18\x03
\x03
(
\x05\x12\x15\n\r
max_byte_size
\x18\x04
\x01
(
\x05\x12
+
\n\t
data_type
\x18\x05
\x01
(
\x0e\x32\x0e
.mace.DataType:
\x08\x44
T_FLOAT
\"
}
\n\n
OutputInfo
\x12\x0c\n\x04
name
\x18\x01
\x01
(
\t\x12\x0f\n\x07
node_id
\x18\x02
\x01
(
\x05\x12\x0c\n\x04\x64
ims
\x18\x03
\x03
(
\x05\x12\x15\n\r
max_byte_size
\x18\x04
\x01
(
\x05\x12
+
\n\t
data_type
\x18\x05
\x01
(
\x0e\x32\x0e
.mace.DataType:
\x08\x44
T_FLOAT
\"\xf9\x01\n\x06
NetDef
\x12\x0c\n\x04
name
\x18\x01
\x01
(
\t\x12\x1d\n\x02
op
\x18\x02
\x03
(
\x0b\x32\x11
.mace.OperatorDef
\x12\x0f\n\x07
version
\x18\x03
\x01
(
\t\x12\x1b\n\x03\x61
rg
\x18\x04
\x03
(
\x0b\x32\x0e
.mace.Argument
\x12\"\n\x07
tensors
\x18\x05
\x03
(
\x0b\x32\x11
.mace.TensorProto
\x12
$
\n\t
mem_arena
\x18\n
\x01
(
\x0b\x32\x11
.mace.MemoryArena
\x12
#
\n\n
input_info
\x18\x64
\x03
(
\x0b\x32\x0f
.mace.InputInfo
\x12
%
\n\x0b
output_info
\x18\x65
\x03
(
\x0b\x32\x10
.mace.OutputInfo*
\x1f\n\x07
NetMode
\x12\x08\n\x04
INIT
\x10\x00\x12\n\n\x06
NORMAL
\x10\x01
*+
\n\n
DeviceType
\x12\x07\n\x03\x43
PU
\x10\x00\x12\x08\n\x04
NEON
\x10\x01\x12\n\n\x06
OPENCL
\x10\x02
*
\xc3\x01\n\x08\x44\x61
taType
\x12\x0e\n\n
DT_INVALID
\x10\x00\x12\x0c\n\x08\x44
T_FLOAT
\x10\x01\x12\r\n\t
DT_DOUBLE
\x10\x02\x12\x0c\n\x08\x44
T_INT32
\x10\x03\x12\x0c\n\x08\x44
T_UINT8
\x10\x04\x12\x0c\n\x08\x44
T_INT16
\x10\x05\x12\x0b\n\x07\x44
T_INT8
\x10\x06\x12\r\n\t
DT_STRING
\x10\x07\x12\x0c\n\x08\x44
T_INT64
\x10\x08\x12\r\n\t
DT_UINT16
\x10\t\x12\x0b\n\x07\x44
T_BOOL
\x10\n\x12\x0b\n\x07\x44
T_HALF
\x10\x13\x12\r\n\t
DT_UINT32
\x10\x16
'
)
)
_NETMODE
=
_descriptor
.
EnumDescriptor
(
name
=
'NetMode'
,
full_name
=
'mace.NetMode'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'INIT'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'NORMAL'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1386
,
serialized_end
=
1417
,
)
_sym_db
.
RegisterEnumDescriptor
(
_NETMODE
)
NetMode
=
enum_type_wrapper
.
EnumTypeWrapper
(
_NETMODE
)
_DEVICETYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'DeviceType'
,
full_name
=
'mace.DeviceType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'CPU'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'NEON'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'OPENCL'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1419
,
serialized_end
=
1462
,
)
_sym_db
.
RegisterEnumDescriptor
(
_DEVICETYPE
)
DeviceType
=
enum_type_wrapper
.
EnumTypeWrapper
(
_DEVICETYPE
)
_DATATYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'DataType'
,
full_name
=
'mace.DataType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_INVALID'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_FLOAT'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_DOUBLE'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_INT32'
,
index
=
3
,
number
=
3
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_UINT8'
,
index
=
4
,
number
=
4
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_INT16'
,
index
=
5
,
number
=
5
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_INT8'
,
index
=
6
,
number
=
6
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_STRING'
,
index
=
7
,
number
=
7
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_INT64'
,
index
=
8
,
number
=
8
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_UINT16'
,
index
=
9
,
number
=
9
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_BOOL'
,
index
=
10
,
number
=
10
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_HALF'
,
index
=
11
,
number
=
19
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'DT_UINT32'
,
index
=
12
,
number
=
22
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1465
,
serialized_end
=
1660
,
)
_sym_db
.
RegisterEnumDescriptor
(
_DATATYPE
)
DataType
=
enum_type_wrapper
.
EnumTypeWrapper
(
_DATATYPE
)
INIT
=
0
NORMAL
=
1
CPU
=
0
NEON
=
1
OPENCL
=
2
DT_INVALID
=
0
DT_FLOAT
=
1
DT_DOUBLE
=
2
DT_INT32
=
3
DT_UINT8
=
4
DT_INT16
=
5
DT_INT8
=
6
DT_STRING
=
7
DT_INT64
=
8
DT_UINT16
=
9
DT_BOOL
=
10
DT_HALF
=
19
DT_UINT32
=
22
_TENSORPROTO
=
_descriptor
.
Descriptor
(
name
=
'TensorProto'
,
full_name
=
'mace.TensorProto'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'dims'
,
full_name
=
'mace.TensorProto.dims'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'mace.TensorProto.data_type'
,
index
=
1
,
number
=
2
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'float_data'
,
full_name
=
'mace.TensorProto.float_data'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'int32_data'
,
full_name
=
'mace.TensorProto.int32_data'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'byte_data'
,
full_name
=
'mace.TensorProto.byte_data'
,
index
=
4
,
number
=
5
,
type
=
12
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'string_data'
,
full_name
=
'mace.TensorProto.string_data'
,
index
=
5
,
number
=
6
,
type
=
12
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'double_data'
,
full_name
=
'mace.TensorProto.double_data'
,
index
=
6
,
number
=
9
,
type
=
1
,
cpp_type
=
5
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'int64_data'
,
full_name
=
'mace.TensorProto.int64_data'
,
index
=
7
,
number
=
10
,
type
=
3
,
cpp_type
=
2
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'mace.TensorProto.name'
,
index
=
8
,
number
=
7
,
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
=
'node_id'
,
full_name
=
'mace.TensorProto.node_id'
,
index
=
9
,
number
=
100
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
32
,
serialized_end
=
272
,
)
_ARGUMENT
=
_descriptor
.
Descriptor
(
name
=
'Argument'
,
full_name
=
'mace.Argument'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'mace.Argument.name'
,
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
=
'f'
,
full_name
=
'mace.Argument.f'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'i'
,
full_name
=
'mace.Argument.i'
,
index
=
2
,
number
=
3
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
's'
,
full_name
=
'mace.Argument.s'
,
index
=
3
,
number
=
4
,
type
=
12
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'floats'
,
full_name
=
'mace.Argument.floats'
,
index
=
4
,
number
=
5
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'ints'
,
full_name
=
'mace.Argument.ints'
,
index
=
5
,
number
=
6
,
type
=
3
,
cpp_type
=
2
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'strings'
,
full_name
=
'mace.Argument.strings'
,
index
=
6
,
number
=
7
,
type
=
12
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
274
,
serialized_end
=
378
,
)
_NODEINPUT
=
_descriptor
.
Descriptor
(
name
=
'NodeInput'
,
full_name
=
'mace.NodeInput'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'node_id'
,
full_name
=
'mace.NodeInput.node_id'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'output_port'
,
full_name
=
'mace.NodeInput.output_port'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
380
,
serialized_end
=
429
,
)
_OUTPUTSHAPE
=
_descriptor
.
Descriptor
(
name
=
'OutputShape'
,
full_name
=
'mace.OutputShape'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'dims'
,
full_name
=
'mace.OutputShape.dims'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
431
,
serialized_end
=
458
,
)
_OPERATORDEF
=
_descriptor
.
Descriptor
(
name
=
'OperatorDef'
,
full_name
=
'mace.OperatorDef'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'input'
,
full_name
=
'mace.OperatorDef.input'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'output'
,
full_name
=
'mace.OperatorDef.output'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'mace.OperatorDef.name'
,
index
=
2
,
number
=
3
,
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
=
'type'
,
full_name
=
'mace.OperatorDef.type'
,
index
=
3
,
number
=
4
,
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
=
'arg'
,
full_name
=
'mace.OperatorDef.arg'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'output_shape'
,
full_name
=
'mace.OperatorDef.output_shape'
,
index
=
5
,
number
=
6
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'output_type'
,
full_name
=
'mace.OperatorDef.output_type'
,
index
=
6
,
number
=
7
,
type
=
14
,
cpp_type
=
8
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mem_id'
,
full_name
=
'mace.OperatorDef.mem_id'
,
index
=
7
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=-
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'node_id'
,
full_name
=
'mace.OperatorDef.node_id'
,
index
=
8
,
number
=
100
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'op_id'
,
full_name
=
'mace.OperatorDef.op_id'
,
index
=
9
,
number
=
101
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'padding'
,
full_name
=
'mace.OperatorDef.padding'
,
index
=
10
,
number
=
102
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'node_input'
,
full_name
=
'mace.OperatorDef.node_input'
,
index
=
11
,
number
=
103
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'out_max_byte_size'
,
full_name
=
'mace.OperatorDef.out_max_byte_size'
,
index
=
12
,
number
=
104
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
461
,
serialized_end
=
773
,
)
_MEMORYBLOCK
=
_descriptor
.
Descriptor
(
name
=
'MemoryBlock'
,
full_name
=
'mace.MemoryBlock'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'mem_id'
,
full_name
=
'mace.MemoryBlock.mem_id'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'x'
,
full_name
=
'mace.MemoryBlock.x'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'y'
,
full_name
=
'mace.MemoryBlock.y'
,
index
=
2
,
number
=
3
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
775
,
serialized_end
=
826
,
)
_MEMORYARENA
=
_descriptor
.
Descriptor
(
name
=
'MemoryArena'
,
full_name
=
'mace.MemoryArena'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'mem_block'
,
full_name
=
'mace.MemoryArena.mem_block'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
828
,
serialized_end
=
879
,
)
_INPUTINFO
=
_descriptor
.
Descriptor
(
name
=
'InputInfo'
,
full_name
=
'mace.InputInfo'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'mace.InputInfo.name'
,
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
=
'node_id'
,
full_name
=
'mace.InputInfo.node_id'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'dims'
,
full_name
=
'mace.InputInfo.dims'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_byte_size'
,
full_name
=
'mace.InputInfo.max_byte_size'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'mace.InputInfo.data_type'
,
index
=
4
,
number
=
5
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
881
,
serialized_end
=
1005
,
)
_OUTPUTINFO
=
_descriptor
.
Descriptor
(
name
=
'OutputInfo'
,
full_name
=
'mace.OutputInfo'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'mace.OutputInfo.name'
,
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
=
'node_id'
,
full_name
=
'mace.OutputInfo.node_id'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'dims'
,
full_name
=
'mace.OutputInfo.dims'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_byte_size'
,
full_name
=
'mace.OutputInfo.max_byte_size'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'mace.OutputInfo.data_type'
,
index
=
4
,
number
=
5
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1007
,
serialized_end
=
1132
,
)
_NETDEF
=
_descriptor
.
Descriptor
(
name
=
'NetDef'
,
full_name
=
'mace.NetDef'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'mace.NetDef.name'
,
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
=
'op'
,
full_name
=
'mace.NetDef.op'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'version'
,
full_name
=
'mace.NetDef.version'
,
index
=
2
,
number
=
3
,
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
=
'arg'
,
full_name
=
'mace.NetDef.arg'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'tensors'
,
full_name
=
'mace.NetDef.tensors'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mem_arena'
,
full_name
=
'mace.NetDef.mem_arena'
,
index
=
5
,
number
=
10
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'input_info'
,
full_name
=
'mace.NetDef.input_info'
,
index
=
6
,
number
=
100
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'output_info'
,
full_name
=
'mace.NetDef.output_info'
,
index
=
7
,
number
=
101
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
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
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1135
,
serialized_end
=
1384
,
)
_TENSORPROTO
.
fields_by_name
[
'data_type'
].
enum_type
=
_DATATYPE
_OPERATORDEF
.
fields_by_name
[
'arg'
].
message_type
=
_ARGUMENT
_OPERATORDEF
.
fields_by_name
[
'output_shape'
].
message_type
=
_OUTPUTSHAPE
_OPERATORDEF
.
fields_by_name
[
'output_type'
].
enum_type
=
_DATATYPE
_OPERATORDEF
.
fields_by_name
[
'node_input'
].
message_type
=
_NODEINPUT
_MEMORYARENA
.
fields_by_name
[
'mem_block'
].
message_type
=
_MEMORYBLOCK
_INPUTINFO
.
fields_by_name
[
'data_type'
].
enum_type
=
_DATATYPE
_OUTPUTINFO
.
fields_by_name
[
'data_type'
].
enum_type
=
_DATATYPE
_NETDEF
.
fields_by_name
[
'op'
].
message_type
=
_OPERATORDEF
_NETDEF
.
fields_by_name
[
'arg'
].
message_type
=
_ARGUMENT
_NETDEF
.
fields_by_name
[
'tensors'
].
message_type
=
_TENSORPROTO
_NETDEF
.
fields_by_name
[
'mem_arena'
].
message_type
=
_MEMORYARENA
_NETDEF
.
fields_by_name
[
'input_info'
].
message_type
=
_INPUTINFO
_NETDEF
.
fields_by_name
[
'output_info'
].
message_type
=
_OUTPUTINFO
DESCRIPTOR
.
message_types_by_name
[
'TensorProto'
]
=
_TENSORPROTO
DESCRIPTOR
.
message_types_by_name
[
'Argument'
]
=
_ARGUMENT
DESCRIPTOR
.
message_types_by_name
[
'NodeInput'
]
=
_NODEINPUT
DESCRIPTOR
.
message_types_by_name
[
'OutputShape'
]
=
_OUTPUTSHAPE
DESCRIPTOR
.
message_types_by_name
[
'OperatorDef'
]
=
_OPERATORDEF
DESCRIPTOR
.
message_types_by_name
[
'MemoryBlock'
]
=
_MEMORYBLOCK
DESCRIPTOR
.
message_types_by_name
[
'MemoryArena'
]
=
_MEMORYARENA
DESCRIPTOR
.
message_types_by_name
[
'InputInfo'
]
=
_INPUTINFO
DESCRIPTOR
.
message_types_by_name
[
'OutputInfo'
]
=
_OUTPUTINFO
DESCRIPTOR
.
message_types_by_name
[
'NetDef'
]
=
_NETDEF
DESCRIPTOR
.
enum_types_by_name
[
'NetMode'
]
=
_NETMODE
DESCRIPTOR
.
enum_types_by_name
[
'DeviceType'
]
=
_DEVICETYPE
DESCRIPTOR
.
enum_types_by_name
[
'DataType'
]
=
_DATATYPE
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
TensorProto
=
_reflection
.
GeneratedProtocolMessageType
(
'TensorProto'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_TENSORPROTO
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.TensorProto)
))
_sym_db
.
RegisterMessage
(
TensorProto
)
Argument
=
_reflection
.
GeneratedProtocolMessageType
(
'Argument'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_ARGUMENT
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.Argument)
))
_sym_db
.
RegisterMessage
(
Argument
)
NodeInput
=
_reflection
.
GeneratedProtocolMessageType
(
'NodeInput'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_NODEINPUT
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.NodeInput)
))
_sym_db
.
RegisterMessage
(
NodeInput
)
OutputShape
=
_reflection
.
GeneratedProtocolMessageType
(
'OutputShape'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_OUTPUTSHAPE
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.OutputShape)
))
_sym_db
.
RegisterMessage
(
OutputShape
)
OperatorDef
=
_reflection
.
GeneratedProtocolMessageType
(
'OperatorDef'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_OPERATORDEF
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.OperatorDef)
))
_sym_db
.
RegisterMessage
(
OperatorDef
)
MemoryBlock
=
_reflection
.
GeneratedProtocolMessageType
(
'MemoryBlock'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_MEMORYBLOCK
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.MemoryBlock)
))
_sym_db
.
RegisterMessage
(
MemoryBlock
)
MemoryArena
=
_reflection
.
GeneratedProtocolMessageType
(
'MemoryArena'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_MEMORYARENA
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.MemoryArena)
))
_sym_db
.
RegisterMessage
(
MemoryArena
)
InputInfo
=
_reflection
.
GeneratedProtocolMessageType
(
'InputInfo'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_INPUTINFO
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.InputInfo)
))
_sym_db
.
RegisterMessage
(
InputInfo
)
OutputInfo
=
_reflection
.
GeneratedProtocolMessageType
(
'OutputInfo'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_OUTPUTINFO
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.OutputInfo)
))
_sym_db
.
RegisterMessage
(
OutputInfo
)
NetDef
=
_reflection
.
GeneratedProtocolMessageType
(
'NetDef'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_NETDEF
,
__module__
=
'mace.proto.mace_pb2'
# @@protoc_insertion_point(class_scope:mace.NetDef)
))
_sym_db
.
RegisterMessage
(
NetDef
)
_TENSORPROTO
.
fields_by_name
[
'float_data'
].
has_options
=
True
_TENSORPROTO
.
fields_by_name
[
'float_data'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))
_TENSORPROTO
.
fields_by_name
[
'int32_data'
].
has_options
=
True
_TENSORPROTO
.
fields_by_name
[
'int32_data'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))
_TENSORPROTO
.
fields_by_name
[
'double_data'
].
has_options
=
True
_TENSORPROTO
.
fields_by_name
[
'double_data'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))
_TENSORPROTO
.
fields_by_name
[
'int64_data'
].
has_options
=
True
_TENSORPROTO
.
fields_by_name
[
'int64_data'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\020\001
'
))
# @@protoc_insertion_point(module_scope)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录