提交 ab45149f 编写于 作者: 开心的小妮's avatar 开心的小妮

test=develop

上级 886c231b
......@@ -65,7 +65,8 @@ class ClipByNormKernel : public framework::OpKernel<T> {
} else {
PADDLE_THROW(platform::errors::InvalidArgument(
"Invalid input variable type, only support LodTensor and "
"SelectedRows types."));
"SelectedRows types, but got type is %s.",
framework::ToTypeName(in_var->Type())));
}
PADDLE_ENFORCE_NOT_NULL(input,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册