Skip to content

Keyword 'order' not recognized. Expecting 'C' or 'F', got f #890

Closed
@npolina4

Description

@npolina4

I can use uppercase and lowercase letters in some function.
For example:

dpt.ones((2,2), order='f')
dpt.ones((2,2), order='F')

But I cannot use lowercase letter in dpt.reshape() function.

import dpctl.tensor as dpt
a = dpt.ones((3,2))
dpt.reshape(a, (2,3), order='f')
ValueError: Keyword 'order' not recognized. Expecting 'C' or 'F', got f

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