提交 99d1446a 编写于 作者: J JiabinYang

test=develop

上级 db06568e
...@@ -4412,7 +4412,7 @@ def hsigmoid(input, ...@@ -4412,7 +4412,7 @@ def hsigmoid(input,
out = helper.create_variable_for_type_inference(dtype) out = helper.create_variable_for_type_inference(dtype)
pre_out = helper.create_variable_for_type_inference(dtype) pre_out = helper.create_variable_for_type_inference(dtype)
dim = input.shape[1] dim = input.shape[1]
if ((num_classes < 2) or (num_classes is None)) and (not is_costum): if ((num_classes is None) or (num_classes < 2)) and (not is_costum):
raise ValueError( raise ValueError(
"num_classes must not be less than 2 with default tree") "num_classes must not be less than 2 with default tree")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册