Skip to content

Bilinear casts to float64 #744

@mrava87

Description

@mrava87

This line may explain why Bilinear produces fp64 outputs even if its dtype is set to np.float32 and the input is also np.float32:

self.iava_t = ncp.floor(iava[0]).astype(int)

Should recast self.weights_tb and self.weights_lr to the chosen dtype.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions