Skip to content

Using theano.In breaks SdA #139

Closed
Closed
@benjaminirving

Description

@benjaminirving

Hi,

Commit b701733 breaks SdA.py and the tests with error:

Traceback (most recent call last):
File "", line 1, in
File "SdA.py", line 382, in test_SdA
batch_size=batch_size)
File "SdA.py", line 226, in pretraining_functions
self.x: train_set_x[batch_begin: batch_end]
File "/local/lib/python2.7/site-packages/theano/compile/function.py", line 248, in function
"In() instances and tuple inputs trigger the old "
NotImplementedError: In() instances and tuple inputs trigger the old semantics, which disallow using updates and givens

Perhaps consider making these optional function arguments mandatory by removing theano.In

I can submit a pull request if it helps.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions