unitaria.Add¶
- class unitaria.Add(A: Node, B: Node)[source]¶
Bases:
ProxyNodeNode for computing the sum of two vectors or matrices.
Both summands must have matching
Add.dimension_inandAdd.dimension_out.- Parameters:
A – The first summand
B – The second summand
- Raises:
ValueError – If the dimensions of the summands do not match.