Skip to content

Commit 9ef4b93

Browse files
committed
Fix doc for expected output shape for get_triplet_data
1 parent 5e37904 commit 9ef4b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ivis/data/generators/triplet_generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def gen_negative_indices(self, neighbour_matrix):
107107

108108
def get_triplet_data(self, triplet_indices):
109109
"""Maps triplet indices to the actual data in internal data store.
110-
Returns a numpy array of shape (3, batch_size, *self.X.shape[0])."""
110+
Returns a numpy array of shape (3, batch_size, *self.X.shape[1])."""
111111
if self.batched_data:
112112
# Flatten triplets, get batch of data, then reshape back into triplets
113113
indices = list(itertools.chain.from_iterable(triplet_indices))

0 commit comments

Comments
 (0)