提交 b49c9baa 编写于 作者: D dongzhihong

"remove unuse comment"

上级 80d91504
......@@ -51,7 +51,6 @@ func newOptimizer(paramWithConfigs ParameterWithConfig) *optimizer {
}
func (o *optimizer) GetWeights() []byte {
// FIXME: get weigths from optimizer has bug
var buffer unsafe.Pointer
buffer_len := C.paddle_optimizer_get_weights(o.opt, &buffer)
return cArrayToSlice(buffer, int(buffer_len))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册