提交 5bd7cc2c authored 作者: Joseph Turian's avatar Joseph Turian

Small change to exception

上级 9f379ab1
......@@ -1594,7 +1594,7 @@ def concatenate(tensor_list, axis=0):
if not isinstance(tensor_list, (tuple, list)):
raise TypeError("The 'tensors' argument must be either a tuple "
"or a list, make sure you did not forget () or [] around "
"arguments of concatenate.", tensors)
"arguments of concatenate.", tensor_list)
return join(axis, *tensor_list)
def get_vector_length(v):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论