Skip to content

Cast input data and testvalues to theano.config.floatX #1640

Closed
@twiecki

Description

@twiecki

When theano.config.floatX and the default numpy float dtype do not match (as is the case when you want to use the GPU and set floatX to float32 but numpy is on float64) it causes a lot of problems that require manual casting of all the parameters that get passed in. We should automatically cast everything that get's passed to floatX.

Not sure if there is a proper way to do that in theano, @nouiz?

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