提交 0f6d7699 authored 作者: Frederic Bastien's avatar Frederic Bastien

Check less inputs to compile less c code.

上级 779c7e6c
......@@ -21,6 +21,7 @@ class CpuContiguous(theano.Op):
__props__ = ()
view_map = {0: [0]}
check_input = False
def make_node(self, x):
x_ = theano.tensor.as_tensor_variable(x)
......@@ -82,6 +83,7 @@ class SearchsortedOp(theano.Op):
params_type = Generic()
__props__ = ("side", )
check_input = False
def __init__(self, side='left'):
if side == 'left' or side == 'right':
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论