예제 #1
0
 def __init__(self, output_type, inplace=False):
     Op.__init__(self)
     self.output_type = output_type
     self.inplace=inplace
     if inplace:
         self.destroy_map = {0:[0]}
     self.warned_numpy_version = False
예제 #2
0
 def __init__(self, output_type, inplace=False):
     Op.__init__(self)
     self.output_type = output_type
     self.inplace = inplace
     if inplace:
         self.destroy_map = {0: [0]}
     self.warned_numpy_version = False
예제 #3
0
 def perform(self, node, ins, outs):
     # The perform from parent don't work with CudaNdarray.  We
     # don't need it as DebugMode will test again it as an
     # optimization insert the GPU op.
     return Op.perform(self, node, ins, outs)
예제 #4
0
 def perform(self, node, ins, outs):
     # The perform from parent don't work with CudaNdarray.  We
     # don't need it as DebugMode will test again it as an
     # optimization insert the GPU op.
     return Op.perform(self, node, ins, outs)
예제 #5
0
파일: nnet.py 프로젝트: EricChanBD/Theano
 def __init__(self, **kwargs):
     Op.__init__(self, **kwargs)
예제 #6
0
파일: nnet.py 프로젝트: takuhironoda/Theano
 def __init__(self, **kwargs):
     Op.__init__(self, **kwargs)
예제 #7
0
 def perform(self, node, inp, out):
     return Op.perform(self, node, inp, out)
예제 #8
0
 def perform(self, node, inp, out, ctx):
     # Disable the perform method from the CPU version
     Op.perform(self, node, inp, out, ctx)
예제 #9
0
 def perform(self, node, inp, out, ctx):
     # Disable the perform method from the CPU version
     Op.perform(self, node, inp, out, ctx)
예제 #10
0
 def perform(self, node, inp, out):
     return Op.perform(self, node, inp, out)
예제 #11
0
파일: sp.py 프로젝트: amishtal/Theano
 def __init__(self, inplace=False, *args, **kwargs):
     Op.__init__(self, *args, **kwargs)
     self.inplace = inplace
     if self.inplace:
         self.destroy_map = {0: [0]}
예제 #12
0
 def perform(self, node, ins, outs):
     return Op.perform(node, ins, outs)