提交 96bc63cf authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor typo fix

上级 47b389ff
......@@ -352,8 +352,8 @@ class CudaNdarrayType(Type):
return ret
# Register CudaNdarrayType to the OutputGuard list of know type
# to have OutputGuard generate c code for this type
# Register CudaNdarrayType to the OutputGuard list of known types
# to have OutputGuard generate C code for this type.
theano.compile.mode.register_OutputGuard_c_code(CudaNdarrayType)
......
......@@ -326,8 +326,8 @@ class SparseType(gof.Type):
def is_valid_value(self, a):
return scipy.sparse.issparse(a) and (a.format == self.format)
# Register CudaNdarrayType to the OutputGuard list of know type
# to have OutputGuard generate c code for this type
# Register CudaNdarrayType to the OutputGuard list of known types
# to have OutputGuard generate C code for this type.
theano.compile.mode.register_OutputGuard_c_code(SparseType)
......
......@@ -910,8 +910,8 @@ class TensorType(Type):
else:
return ()
# Register CudaNdarrayType to the OutputGuard list of know type
# to have OutputGuard generate c code for this type
# Register CudaNdarrayType to the OutputGuard list of known types
# to have OutputGuard generate C code for this type.
theano.compile.mode.register_OutputGuard_c_code(TensorType)
# Easy constructors
......
......@@ -53,8 +53,8 @@ class RandomStateType(gof.Type):
return False
return True
# Register CudaNdarrayType to the OutputGuard list of know type
# to have OutputGuard generate c code for this type
# Register CudaNdarrayType to the OutputGuard list of known types
# to have OutputGuard generate C code for this type.
theano.compile.mode.register_OutputGuard_c_code(RandomStateType)
random_state_type = RandomStateType()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论