Skip to content

Pytaco API: Bad operand type for unary -: 'tensor' #342

@ByzanTine

Description

@ByzanTine

I am simply doing

>>> import pytaco as pt
>>> a = pt.tensor()
>>> -a
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: bad operand type for unary -: 'tensor'

Any hassle on supporting the unary operator?

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