Unverified Commit 47c2040e authored by moto's avatar moto Committed by GitHub
Browse files

Fbsync (#1121)

* Import torchaudio #1105 37692d8d

Summary: Import torchaudio up to #1105 37692d8d

Reviewed By: datumbox

Differential Revision: D25671497

fbshipit-source-id: 5af11c801321f2bb964245ac6ed74979310f4b5f
parent be442561
...@@ -15,7 +15,7 @@ target=$2 ...@@ -15,7 +15,7 @@ target=$2
echo "committing docs from ${src} to ${target}" echo "committing docs from ${src} to ${target}"
pushd $src pushd "${src}"
git checkout gh-pages git checkout gh-pages
mkdir -p ./"${target}" mkdir -p ./"${target}"
rm -rf ./"${target}"/* rm -rf ./"${target}"/*
......
...@@ -82,12 +82,12 @@ Code: ...@@ -82,12 +82,12 @@ Code:
```python ```python
waveform = common_utils.get_sinusoid( waveform = common_utils.get_sinusoid(
frequency=300, frequency=300,
sample_rate=16000, sample_rate=16000,
duration=1, # seconds duration=1, # seconds
n_channels=1, n_channels=1,
dtype="float32", dtype="float32",
device="cpu", device="cpu",
) )
``` ```
......
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