"examples/vscode:/vscode.git/clone" did not exist on "f77ff561589ae3684be7fbed4bef1129bb72cc7f"
Commit 28192ff4 authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

Fix style issue in io module (#3190)

Summary:
Fixes the issue
https://app.circleci.com/pipelines/github/pytorch/audio/15501/workflows/ebaa2c87-efc3-44a8-b86d-5a3b99870588/jobs/1164478

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

Reviewed By: nateanl

Differential Revision: D44263564

Pulled By: mthrok

fbshipit-source-id: e610be3a91888c859ebdc31081b2d1ba9d61737e
parent 9640757f
......@@ -567,8 +567,10 @@ class StreamReader:
Returns:
InputStreamTypes:
Information about the source stream.
If the source stream is audio type, then :class:`~torchaudio.io._stream_reader.SourceAudioStream` returned.
If it is video type, then :class:`~torchaudio.io._stream_reader.SourceVideoStream` is returned.
If the source stream is audio type, then
:class:`~torchaudio.io._stream_reader.SourceAudioStream` is returned.
If it is video type, then
:class:`~torchaudio.io._stream_reader.SourceVideoStream` is returned.
Otherwise :class:`~torchaudio.io._stream_reader.SourceStream` class is returned.
"""
return _parse_si(self._be.get_src_stream_info(i))
......@@ -581,8 +583,10 @@ class StreamReader:
Returns:
OutputStreamTypes
Information about the output stream.
If the output stream is audio type, then :class:`~torchaudio.io._stream_reader.OutputAudioStream` returned.
If it is video type, then :class:`~torchaudio.io._stream_reader.OutputVideoStream` is returned.
If the output stream is audio type, then
:class:`~torchaudio.io._stream_reader.OutputAudioStream` is returned.
If it is video type, then
:class:`~torchaudio.io._stream_reader.OutputVideoStream` is returned.
"""
info = self._be.get_out_stream_info(i)
return _parse_oi(info)
......
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