首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用tensorflow.contrib.framework.python.ops.audio_ops.audio_spectrogram生成谱图

用tensorflow.contrib.framework.python.ops.audio_ops.audio_spectrogram生成谱图
EN

Stack Overflow用户
提问于 2018-02-07 17:39:38
回答 1查看 507关注 0票数 1

如何改变FFT的长度?

代码语言:javascript
复制
  Args:
    input: A `Tensor` of type `float32`. Float representation of audio data.
    window_size: An `int`.
      How wide the input window is in samples. For the highest efficiency
      this should be a power of two, but other values are accepted.
    stride: An `int`.
      How widely apart the center of adjacent sample windows should be.
    magnitude_squared: An optional `bool`. Defaults to `False`.
      Whether to return the squared magnitude or just the
      magnitude. Using squared magnitude can avoid extra calculations.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `float32`.
    3D representation of the audio frequencies as an image.

上面是函数的参数和返回值。

EN

回答 1

Stack Overflow用户

发布于 2018-03-30 16:43:29

输入张量的形状是FFT长度

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48660391

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档