Skip to content

Mix & match behavior of array objects from different libraries #399

Description

@leofang

This question was raised by @shwina during an internal discussion: If I create two array objects, one from cupy.array_api and another from numpy.array_api, if I do a+b or b+a what would happen? I think we should obviously return TypeError following Python's convention, so the question is which page should we document this expectation?

Activity

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

    QuestionGeneral question.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions