Exception handling for _last_brick_called
check_theano_variable to accept dtype prefix
Add LookupTable brick