File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -541,21 +541,21 @@ def add_tensors_by_dim_labels(
541
541
Parameters
542
542
----------
543
543
tensor: TensorVariable
544
- A statespace matrix to be summed with ``other_matrix ``.
544
+ A statespace matrix to be summed with ``other_tensor ``.
545
545
other_tensor: TensorVariable
546
- A statespace matrix to be summed with ``matrix ``.
546
+ A statespace matrix to be summed with ``tensor ``.
547
547
labels: list of str
548
- Dimension labels associated with ``matrix ``, on the ``labeled_axis`` dimension.
548
+ Dimension labels associated with ``tensor ``, on the ``labeled_axis`` dimension.
549
549
other_labels: list of str
550
- Dimension labels associated with ``other_matrix ``, on the ``labeled_axis`` dimension.
550
+ Dimension labels associated with ``other_tensor ``, on the ``labeled_axis`` dimension.
551
551
labeled_axis: int or tuple of int
552
- Dimension that is labeled by ``labels`` and ``other_labels``. ``matrix .shape[labeled_axis]`` must have the
552
+ Dimension that is labeled by ``labels`` and ``other_labels``. ``tensor .shape[labeled_axis]`` must have the
553
553
shape of ``len(labels)`` at runtime.
554
554
555
555
Returns
556
556
-------
557
557
result: TensorVariable
558
- Result of addition of ``matrix `` and ``other_matrix ``, along the ``labeled_axis`` dimension. The ordering of
558
+ Result of addition of ``tensor `` and ``other_tensor ``, along the ``labeled_axis`` dimension. The ordering of
559
559
the output will be ``labels + [label for label in other_labels if label not in labels]``. That is, ``labels``
560
560
come first, followed by any new labels introduced by ``other_labels``.
561
561
You can’t perform that action at this time.
0 commit comments