Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
c69b0240
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c69b0240
编写于
2月 06, 2020
作者:
G
guru4elephant
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add go client
上级
2d46b7d7
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
227 addition
and
0 deletion
+227
-0
core/configure/proto/general_model_config.pb.go
core/configure/proto/general_model_config.pb.go
+227
-0
未找到文件。
core/configure/proto/general_model_config.pb.go
0 → 100644
浏览文件 @
c69b0240
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: general_model_config.proto
package
baidu_paddle_serving_configure
import
(
fmt
"fmt"
proto
"github.com/golang/protobuf/proto"
math
"math"
)
// Reference imports to suppress errors if they are not otherwise used.
var
_
=
proto
.
Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const
_
=
proto
.
ProtoPackageIsVersion3
// please upgrade the proto package
type
FeedVar
struct
{
Name
*
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
AliasName
*
string
`protobuf:"bytes,2,opt,name=alias_name,json=aliasName" json:"alias_name,omitempty"`
IsLodTensor
*
bool
`protobuf:"varint,3,opt,name=is_lod_tensor,json=isLodTensor,def=0" json:"is_lod_tensor,omitempty"`
FeedType
*
int32
`protobuf:"varint,4,opt,name=feed_type,json=feedType,def=0" json:"feed_type,omitempty"`
Shape
[]
int32
`protobuf:"varint,5,rep,name=shape" json:"shape,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
FeedVar
)
Reset
()
{
*
m
=
FeedVar
{}
}
func
(
m
*
FeedVar
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FeedVar
)
ProtoMessage
()
{}
func
(
*
FeedVar
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_efa52beffa29d37a
,
[]
int
{
0
}
}
func
(
m
*
FeedVar
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_FeedVar
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
FeedVar
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_FeedVar
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
FeedVar
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_FeedVar
.
Merge
(
m
,
src
)
}
func
(
m
*
FeedVar
)
XXX_Size
()
int
{
return
xxx_messageInfo_FeedVar
.
Size
(
m
)
}
func
(
m
*
FeedVar
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_FeedVar
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_FeedVar
proto
.
InternalMessageInfo
const
Default_FeedVar_IsLodTensor
bool
=
false
const
Default_FeedVar_FeedType
int32
=
0
func
(
m
*
FeedVar
)
GetName
()
string
{
if
m
!=
nil
&&
m
.
Name
!=
nil
{
return
*
m
.
Name
}
return
""
}
func
(
m
*
FeedVar
)
GetAliasName
()
string
{
if
m
!=
nil
&&
m
.
AliasName
!=
nil
{
return
*
m
.
AliasName
}
return
""
}
func
(
m
*
FeedVar
)
GetIsLodTensor
()
bool
{
if
m
!=
nil
&&
m
.
IsLodTensor
!=
nil
{
return
*
m
.
IsLodTensor
}
return
Default_FeedVar_IsLodTensor
}
func
(
m
*
FeedVar
)
GetFeedType
()
int32
{
if
m
!=
nil
&&
m
.
FeedType
!=
nil
{
return
*
m
.
FeedType
}
return
Default_FeedVar_FeedType
}
func
(
m
*
FeedVar
)
GetShape
()
[]
int32
{
if
m
!=
nil
{
return
m
.
Shape
}
return
nil
}
type
FetchVar
struct
{
Name
*
string
`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
AliasName
*
string
`protobuf:"bytes,2,opt,name=alias_name,json=aliasName" json:"alias_name,omitempty"`
Shape
[]
int32
`protobuf:"varint,3,rep,name=shape" json:"shape,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
FetchVar
)
Reset
()
{
*
m
=
FetchVar
{}
}
func
(
m
*
FetchVar
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FetchVar
)
ProtoMessage
()
{}
func
(
*
FetchVar
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_efa52beffa29d37a
,
[]
int
{
1
}
}
func
(
m
*
FetchVar
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_FetchVar
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
FetchVar
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_FetchVar
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
FetchVar
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_FetchVar
.
Merge
(
m
,
src
)
}
func
(
m
*
FetchVar
)
XXX_Size
()
int
{
return
xxx_messageInfo_FetchVar
.
Size
(
m
)
}
func
(
m
*
FetchVar
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_FetchVar
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_FetchVar
proto
.
InternalMessageInfo
func
(
m
*
FetchVar
)
GetName
()
string
{
if
m
!=
nil
&&
m
.
Name
!=
nil
{
return
*
m
.
Name
}
return
""
}
func
(
m
*
FetchVar
)
GetAliasName
()
string
{
if
m
!=
nil
&&
m
.
AliasName
!=
nil
{
return
*
m
.
AliasName
}
return
""
}
func
(
m
*
FetchVar
)
GetShape
()
[]
int32
{
if
m
!=
nil
{
return
m
.
Shape
}
return
nil
}
type
GeneralModelConfig
struct
{
FeedVar
[]
*
FeedVar
`protobuf:"bytes,1,rep,name=feed_var,json=feedVar" json:"feed_var,omitempty"`
FetchVar
[]
*
FetchVar
`protobuf:"bytes,2,rep,name=fetch_var,json=fetchVar" json:"fetch_var,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
GeneralModelConfig
)
Reset
()
{
*
m
=
GeneralModelConfig
{}
}
func
(
m
*
GeneralModelConfig
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GeneralModelConfig
)
ProtoMessage
()
{}
func
(
*
GeneralModelConfig
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_efa52beffa29d37a
,
[]
int
{
2
}
}
func
(
m
*
GeneralModelConfig
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_GeneralModelConfig
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
GeneralModelConfig
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_GeneralModelConfig
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
GeneralModelConfig
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_GeneralModelConfig
.
Merge
(
m
,
src
)
}
func
(
m
*
GeneralModelConfig
)
XXX_Size
()
int
{
return
xxx_messageInfo_GeneralModelConfig
.
Size
(
m
)
}
func
(
m
*
GeneralModelConfig
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_GeneralModelConfig
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_GeneralModelConfig
proto
.
InternalMessageInfo
func
(
m
*
GeneralModelConfig
)
GetFeedVar
()
[]
*
FeedVar
{
if
m
!=
nil
{
return
m
.
FeedVar
}
return
nil
}
func
(
m
*
GeneralModelConfig
)
GetFetchVar
()
[]
*
FetchVar
{
if
m
!=
nil
{
return
m
.
FetchVar
}
return
nil
}
func
init
()
{
proto
.
RegisterType
((
*
FeedVar
)(
nil
),
"baidu.paddle_serving.configure.FeedVar"
)
proto
.
RegisterType
((
*
FetchVar
)(
nil
),
"baidu.paddle_serving.configure.FetchVar"
)
proto
.
RegisterType
((
*
GeneralModelConfig
)(
nil
),
"baidu.paddle_serving.configure.GeneralModelConfig"
)
}
func
init
()
{
proto
.
RegisterFile
(
"general_model_config.proto"
,
fileDescriptor_efa52beffa29d37a
)
}
var
fileDescriptor_efa52beffa29d37a
=
[]
byte
{
// 282 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x90
,
0x41
,
0x4b
,
0xc3
,
0x30
,
0x14
,
0xc7
,
0xc9
,
0xba
,
0xb2
,
0xf5
,
0x0d
,
0x2f
,
0xc1
,
0x43
,
0x11
,
0x1c
,
0x65
,
0x17
,
0xe3
,
0xa5
,
0x88
,
0xc7
,
0x1d
,
0x15
,
0xe7
,
0x45
,
0x3d
,
0xd4
,
0xe1
,
0x35
,
0x3c
,
0x9b
,
0xd7
,
0x36
,
0x90
,
0x35
,
0x25
,
0xe9
,
0x06
,
0xfb
,
0x30
,
0xe2
,
0x57
,
0x95
,
0xa6
,
0x43
,
0x3c
,
0x29
,
0x78
,
0x7b
,
0x79
,
0xff
,
0xf0
,
0xe3
,
0x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0x83
,
0xb2
,
0xfb
,
0xa0
,
0x83
,
0xdf
,
0x41
,
0xb8
,
0x46
,
0x1e
,
0xd0
,
0xa5
,
0x2c
,
0x8b
,
0xc4
,
0xe2
,
0xf6
,
0x2a
,
0xff
,
0x5d
,
0x5f
,
0x7e
,
0x52
,
0x57
,
0xcc
,
0xaa
,
0x93
,
0xc3
,
0x87
,
0xa1
,
0x65
,
0x5f
,
0x36
,
0x01
,
0x32
,
0x09
,
0x10
,
0xf1
,
0x37
,
0x64
,
0x2c
,
0x38
,
0xc8
,
0x18
,
0xa7
,
0xaf
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xc8
,
0x64
,
0xb6
,
0xc9
,
0xd3
,
0x01
,
0x00
,
0x00
,
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录