Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

algebraic operations for BaseNode #292

@mganahl

Description

@mganahl

It would be convenient to have addition, subtraction, multiplication by scalar and division by scalar for BaseNodes:

a, b =tn.Node(np.random.rand(3,3)), tn.Node(np.random.rand(3,3))
c=a + b
d = a*10
e = a/5

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions