Skip to content

Commit d58c15b

Browse files
authored
Fix misleading documentation in montage functions
Tweaked the documentation of `utils.montage` and `utils.montage_batch` to inform that the input is a numpy array, not a tensor.
1 parent dba8a76 commit d58c15b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

python/libs/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def montage_batch(images):
1212
1313
Parameters
1414
----------
15-
batch : Tensor
16-
Input tensor to create montage of.
15+
batch : numpy.ndarray
16+
Input array to create montage of.
1717
1818
Returns
1919
-------
@@ -44,8 +44,8 @@ def montage(W):
4444
4545
Parameters
4646
----------
47-
W : Tensor
48-
Input tensor to create montage of.
47+
W : numpy.ndarray
48+
Input array to create montage of.
4949
5050
Returns
5151
-------

0 commit comments

Comments
 (0)