Skip to content

Commit

Permalink
Fix misleading documentation in montage functions
Browse files Browse the repository at this point in the history
Tweaked the documentation of `utils.montage` and `utils.montage_batch` to inform that the input is a numpy array, not a tensor.
  • Loading branch information
Enet4 authored Nov 10, 2016
1 parent dba8a76 commit d58c15b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/libs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def montage_batch(images):
Parameters
----------
batch : Tensor
Input tensor to create montage of.
batch : numpy.ndarray
Input array to create montage of.
Returns
-------
Expand Down Expand Up @@ -44,8 +44,8 @@ def montage(W):
Parameters
----------
W : Tensor
Input tensor to create montage of.
W : numpy.ndarray
Input array to create montage of.
Returns
-------
Expand Down

0 comments on commit d58c15b

Please sign in to comment.