Skip to content

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

Closed
@leofang

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?

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