提交 38f98bc9 authored 作者: Frederic's avatar Frederic

Fixed typo following code review.

上级 df4e0d80
...@@ -1114,10 +1114,10 @@ def _gemm_from_factored_list(lst): ...@@ -1114,10 +1114,10 @@ def _gemm_from_factored_list(lst):
""" """
# Make every pair in list have matching dtypes # Make every pair in list have matching dtypes
# sM can be a tuple of 2 elements of a theano variable # sM can be a tuple of 2 elements or a theano variable.
# We should not use __len__ as the theano variable don't support # We should not use __len__ as theano variables don't support
# it. I don't want to change this to ininstance(sM, tuple) # it. I don't want to change this to isinstance(sM, tuple)
# as I'm not able to make a test that triger # as I'm not able to make a test that triggers this case.
def is_pair(sM): def is_pair(sM):
try: try:
s, M = sM s, M = sM
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论