Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hehl2
Torchaudio
Commits
55778e46
"vscode:/vscode.git/clone" did not exist on "b1f7d549dc1d3be088eecd1f8de682d17eb090e3"
Unverified
Commit
55778e46
authored
Sep 11, 2019
by
Vincent QB
Committed by
GitHub
Sep 11, 2019
Browse files
fix version import. (#276)
parent
f720aec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
torchaudio/__init__.py
torchaudio/__init__.py
+5
-1
No files found.
torchaudio/__init__.py
View file @
55778e46
...
...
@@ -4,9 +4,13 @@ import os.path
import
torch
import
_torch_sox
from
.version
import
__version__
,
git_version
from
torchaudio
import
transforms
,
datasets
,
kaldi_io
,
sox_effects
,
compliance
,
_docs
try
:
from
.version
import
__version__
,
git_version
# noqa: F401
except
ImportError
:
pass
def
check_input
(
src
):
if
not
torch
.
is_tensor
(
src
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment