Commit 733ca909 authored by Sean Kim's avatar Sean Kim Committed by Facebook GitHub Bot
Browse files

Fix dataset docs parsing issue with extra spaces (#2607)

Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2607

Reviewed By: carolineechen, nateanl

Differential Revision: D38522606

Pulled By: skim0514

fbshipit-source-id: 2c38b8dcb343bcf624bfda1bfa2afd91abf2e668
parent 03a0d68e
......@@ -79,6 +79,7 @@ class LibriLightLimited(Dataset):
def __getitem__(self, n: int) -> Tuple[Tensor, int, str, int, int, int]:
"""Load the n-th sample from the dataset.
Args:
n (int): The index of the sample to be loaded
Returns:
......
......@@ -77,6 +77,7 @@ class LibriMix(Dataset):
def __getitem__(self, key: int) -> SampleType:
"""Load the n-th sample from the dataset.
Args:
key (int): The index of the sample to be loaded
Returns:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment