Exemple #1
0
 def make_node(self, path):
     if isinstance(path, str):
         path = Constant(Generic(), path)
     return gof.Apply(
         self, [path],
         [tensor(self.dtype, broadcastable=self.broadcastable)])
Exemple #2
0
 def make_node(self, path):
     if isinstance(path, str):
         path = Constant(Generic(), path)
     return gof.Apply(self, [path], [tensor(self.dtype,
                                     broadcastable=self.broadcastable)])
Exemple #3
0
 def make_node(self, request, data):
     return gof.Apply(
         self, [request, data],
         [tensor(data.dtype, broadcastable=data.broadcastable)])
Exemple #4
0
 def make_node(self):
     return gof.Apply(self, [], [
         theano.Variable(Generic()),
         tensor(self.dtype, broadcastable=self.broadcastable)
     ])
Exemple #5
0
 def make_node(self, request, data):
     return gof.Apply(self, [request, data],
                            [tensor(data.dtype,
                                    broadcastable=data.broadcastable)])
Exemple #6
0
 def make_node(self):
     return gof.Apply(self, [], [theano.Variable(Generic()),
                                 tensor(self.dtype,
                                        broadcastable=self.broadcastable)])