提交 710b5d77 authored 作者: Joseph Turian's avatar Joseph Turian

Small bug fix

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