Skip to content

Implement math operators for meta tensors #55

@brandonwillard

Description

@brandonwillard

As a convenience, we should provide meta tensor implementations of the following:
__add__, __radd__, __sub__, __rsub__, __mul__, __rmul__, __div__, __rdiv__, __truediv__, __rtruediv__, __floordiv__, __rfloordiv__, __mod__, __rmod__, __lt__, __le__, __gt__, __ge__, __and__, __rand__, __or__, __ror__, __xor__, __rxor__, __getitem__, __pow__, __rpow__, __invert__, __neg__, __abs__, __matmul__, __rmatmul__.

Looks like some of these are specified for tf.Tensor in tensorflow.python.ops.math_ops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions