提交 60944113 编写于 作者: G guru4elephant

fix imdb go client

上级 63fe777b
...@@ -126,13 +126,13 @@ func Predict(handle Handle, int_feed_map map[string][]int64, fetch []string) map ...@@ -126,13 +126,13 @@ func Predict(handle Handle, int_feed_map map[string][]int64, fetch []string) map
inst.TensorArray = tensor_array inst.TensorArray = tensor_array
var profiletime bool var profile_server bool
profiletime = false profile_server = false
req := &Request{ req := &Request{
Insts: []FeedInst{inst}, Insts: []FeedInst{inst},
FetchVarNames: fetch, FetchVarNames: fetch,
ProfileTime: profiletime} ProfileServer: profile_server}
b, err := json.Marshal(req) b, err := json.Marshal(req)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册