Skip to content

Instantly share code, notes, and snippets.

@bayerj
Created December 6, 2011 11:13
Show Gist options
  • Save bayerj/1437819 to your computer and use it in GitHub Desktop.
Save bayerj/1437819 to your computer and use it in GitHub Desktop.
import scipy
import theano, theano.tensor as T
# Create parameters.
#
# Parameters are first allocated in a long consecutive array as a shared
# variable. Afterwards, reshaped subtensors are used in the expressions in.
# Why? We want to be able to differentiate wrt groups of parameters which
# are in consecutive memory.
#
# The most of the following code is just bookkeeping.
# Dimensionality of the data
n_inpt, n_hidden = 1, 3
# We have 2 parameter groups with the following shapes.
W1shape = n_inpt, n_hidden
W2shape = n_hidden, n_hidden
n_pars = n_inpt * n_hidden + n_hidden**2
# Allocate big parameter array.
pars = theano.shared(scipy.empty(n_pars))
# Assign slices.
W1 = pars[:n_inpt * n_hidden].reshape(W1shape)
W2 = pars[-n_hidden * n_hidden:].reshape(W2shape)
# Define recurrent model. We are using a model where each input is a tensor
# of shape (T, B, D) where T is the number of timesteps, B is the number of
# sequences iterated over in parallel and D is the dimensionality of each
# item at a timestep.
inpt = T.tensor3('inpt')
# Make these flat in order to be able to use dot products instead of tensordot,
# which is slower.
inpt_flat = inpt.reshape((inpt.shape[0] * inpt.shape[1], inpt.shape[2]))
hidden_flat = T.dot(inpt_flat, W1)
hidden = hidden_flat.reshape((inpt.shape[0], inpt.shape[1], n_hidden))
transfer = lambda x: x
transfer = T.nnet.sigmoid
hidden_rec, _ = theano.scan(
lambda x, h_tm1: transfer(T.dot(h_tm1, W2) + x),
sequences=hidden,
outputs_info=[T.zeros_like(hidden[0])])
hidden_rec_flat = hidden_rec.reshape(
(hidden_rec.shape[0] * hidden_rec.shape[1], hidden_rec.shape[2]))
total = hidden_rec_flat.sum()
J_wrt_inpt = T.grad(total, inpt).flatten()
H_wrt_inpt, _ = theano.scan(
lambda i: T.grad(J_wrt_inpt[i], inpt),
T.arange(J_wrt_inpt.shape[0]))
H_sum = H_wrt_inpt.sum()
d_H_sum_wrt_pars = T.grad(H_sum, pars)
f = theano.function([inpt], (H_sum, d_H_sum_wrt_pars))
print f(scipy.ones((5, 3, n_inpt)))
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
[array(0.0), array([ 0., 0., 0., nan, nan, nan, nan, nan, nan, nan, nan,
nan])]
bayerj@Burny tmp$ py minimal.py
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Subtensor{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.gof.opt): Optimization failure due to: local_reshape_chain
ERROR:theano.gof.opt:Optimization failure due to: local_reshape_chain
ERROR (theano.gof.opt): TRACEBACK:
ERROR:theano.gof.opt:TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR:theano.gof.opt:Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/gof/opt.py", line 949, in process_node
env.replace_all_validate(repl_pairs, reason=lopt)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/toolbox.py", line 108, in replace_all_validate
env.replace(r, new_r, reason=reason)
File "/Users/bayerj/devel/third-party/Theano/theano/gof/env.py", line 399, in replace
raise TypeError("The type of the replacement must be the same as the type of the original Variable.", r, new_r, r.type, new_r.type, str(reason))
TypeError: ('The type of the replacement must be the same as the type of the original Variable.', Reshape{2}.0, Reshape{2}.0, TensorType(float64, col), TensorType(float64, matrix), 'local_reshape_chain')
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(), (TensorConstant{3}, TensorConstant{3})]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(Shape_i{2}.0, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR (theano.tensor.opt): Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
ERROR:theano.tensor.opt:Failed to infer_shape from Op dot.
Input shapes:[(TensorConstant{3}, Shape_i{1}.0), ()]
Exception encountered during infer_shape: <type 'exceptions.IndexError'>
Exception message: tuple index out of range
Traceback: Traceback (most recent call last):
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/opt.py", line 894, in on_import
[self.shape_of[r] for r in node.inputs])
File "/Users/bayerj/devel/third-party/Theano/theano/tensor/basic.py", line 5301, in infer_shape
return [(xshp[0], yshp[1])]
IndexError: tuple index out of range
Segmentation fault: 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment