[theano-users] About theano.function inside for loop

2017-07-12 Thread Chiu Chun Pang
for x in range(x_range): for y in range(y_range): t_test_set_x = theano_translation(test_set_x, x, y, borrow=True) predict_model = theano.function(inputs=[index], outputs=layer3.errors(y), givens={

[theano-users] About replace the given variables without create a new function

2017-05-08 Thread Chiu Chun Pang
for horizontal in range(-10, 11, 1): for vertical in range(-10, 11, 1): predicted_values = 0 predict_model = theano.function(inputs=[index], outputs=layer3.errors(y), givens={layer0.input: t_test_