You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bf2d551
Browse filesBrowse the repository at this point in the historyBrowse files
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L48" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
20703
-
<div class="api-detail" id="e381"><span class="dtag badge-f">function</span><h2><code>load_bytes(input)</code></h2><div class="dmod">funasr.utils.load_utils · <a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L194" target="_blank">View on GitHub ↗</a></div><div class="ddoc"><p>Convert audio bytes to numpy array.</p>
20703
+
<div class="api-detail" id="e381"><span class="dtag badge-f">function</span><h2><code>load_bytes(input)</code></h2><div class="dmod">funasr.utils.load_utils · <a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L207" target="_blank">View on GitHub ↗</a></div><div class="ddoc"><p>Convert audio bytes to numpy array.</p>
20704
20704
<h4>Args:</h4>
20705
20705
<ul>
20706
20706
<li><code>input (bytes)</code> — Raw audio bytes.</li>
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L194" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L207" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L227" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
20780
-
<div class="api-detail" id="e383"><span class="dtag badge-f">function</span><h2><code>extract_fbank(data, data_len, data_type, frontend, **kwargs)</code></h2><div class="dmod">funasr.utils.load_utils · <a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L264" target="_blank">View on GitHub ↗</a></div><div class="ddoc"><p>Extract filter-bank features from audio data.</p>
20779
+
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L240" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
20780
+
<div class="api-detail" id="e383"><span class="dtag badge-f">function</span><h2><code>extract_fbank(data, data_len, data_type, frontend, **kwargs)</code></h2><div class="dmod">funasr.utils.load_utils · <a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L277" target="_blank">View on GitHub ↗</a></div><div class="ddoc"><p>Extract filter-bank features from audio data.</p>
20781
20781
<h4>Args:</h4>
20782
20782
<ul>
20783
20783
<li><code>data</code> — Audio samples (list of numpy arrays or tensors).</li>
@@ -20819,7 +20819,7 @@ <h4>Returns:</h4>
20819
20819
for data_i in data:
20820
20820
if isinstance(data_i, np.ndarray):
20821
20821
data_i = torch.from_numpy(data_i)
20822
-
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L264" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
20822
+
</code></pre><a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/load_utils.py#L277" target="_blank" class="src-more">View full source on GitHub →</a></details></div>
20823
20823
<div class="api-detail" id="e384"><span class="dtag badge-f">function</span><h2><code>statistic_model_parameters(model, prefix)</code></h2><div class="dmod">funasr.utils.misc · <a href="https://github.com/modelscope/FunASR/blob/main/funasr/utils/misc.py#L10" target="_blank">View on GitHub ↗</a></div><div class="ddoc"><p>Statistic model parameters.</p>
0 commit comments