提交 bdc6aef3 authored 作者: gdesjardins's avatar gdesjardins

typo

上级 c6f6c6ae
...@@ -51,7 +51,7 @@ class CudaNdarrayType(Type): ...@@ -51,7 +51,7 @@ class CudaNdarrayType(Type):
def __init__(self, broadcastable, name=None, dtype=None): def __init__(self, broadcastable, name=None, dtype=None):
if dtype != None and dtype != 'float32': if dtype != None and dtype != 'float32':
raise TypeError(self.__class__.__name__+' only support dtype float32 for now. Tryed to use dtype %s'%dtype) raise TypeError(self.__class__.__name__+' only support dtype float32 for now. Tried to use dtype %s'%dtype)
self.broadcastable = tuple(broadcastable) self.broadcastable = tuple(broadcastable)
self.name = name self.name = name
self.dtype_specs() # error checking is done there self.dtype_specs() # error checking is done there
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论