Skip to content

All flags are read-only? #1138

Closed
Closed

Description

@DrTodd13

Some of the flags in NumPy are modifiable, e.g., "writeable." It doesn't seem like dpctl.tensor._flags.Flags allows writeable to be changed.

Activity

  1. oleksandr-pavlyk commented on Mar 27, 2023

    @oleksandr-pavlyk
    Contributor

    @DrTodd13 I just implemented the feature. Use x.flags.writable = False to make the array read-only.

  2. DrTodd13 commented on Mar 27, 2023

    @DrTodd13
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtensor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions