goodfeli/Theano — comment on commit d9805320bbd1c970afb92a07304737ead326d885
File:  line 0
By goodfeli:

If I don't call as_tensor_variable then there is not guaranteed to be a .type field. @jaberg told me on theano-dev that the .type field was the right way to do this compatibility checking. Is there a way to make sure that I will get something that will have a .type field that will also work with sparse types?