Пример #1
0
 def make_node(self, epsilon, obs_data, sim_data):
     epsilon = at.as_tensor_variable(epsilon)
     obs_data = at.as_tensor_variable(obs_data)
     sim_data = at.as_tensor_variable(sim_data)
     return Apply(self, [epsilon, obs_data, sim_data], [vectorX()])
Пример #2
0
 def make_node(self, x):
     x = at.as_tensor_variable(x)
     return Apply(self, [x], [vectorX()])