Skip to content

Commit bf83a8b

Browse files
committed
chore: update deps and fix docs
1 parent dc3deba commit bf83a8b

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

lib/nx_signal.ex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defmodule NxSignal do
2727
2828
where $m$ assumes all values in the interval $[0, M - 1]$
2929
30-
See also: `NxSignal.Windows`, `istft/3`
30+
See also: `NxSignal.Windows`, `istft/3`, `stft_to_mel/3`
3131
3232
## Options
3333
@@ -446,7 +446,7 @@ defmodule NxSignal do
446446
@doc """
447447
Generates weights for converting an STFT representation into MEL-scale.
448448
449-
See also: `stft/3`, `istft/3`, `stft_to_mel/2`
449+
See also: `stft/3`, `istft/3`, `stft_to_mel/3`
450450
451451
## Arguments
452452
@@ -527,7 +527,7 @@ defmodule NxSignal do
527527
@doc """
528528
Converts a given STFT time-frequency spectrum into a MEL-scale time-frequency spectrum.
529529
530-
See also: `stft/3`, `istft/3`, `mel_filters/1`
530+
See also: `stft/3`, `istft/3`, `mel_filters/4`
531531
532532
## Arguments
533533
@@ -595,10 +595,12 @@ defmodule NxSignal do
595595
Keyword.take(opts, [:max_mel, :mel_frequency_spacing, :type])
596596
end
597597

598-
@doc """
598+
@doc ~S"""
599599
Computes the Inverse Short-Time Fourier Transform of a tensor.
600+
600601
Returns a tensor of M time-domain frames of length `fft_length`.
601-
See also: `NxSignal.Windows`, `Nx.Signal.stft`
602+
603+
See also: `NxSignal.Windows`, `stft/3`
602604
603605
## Options
604606
@@ -718,6 +720,7 @@ defmodule NxSignal do
718720
Performs the overlap-and-add algorithm over
719721
an M by N tensor, where M is the number of
720722
windows and N is the window size.
723+
721724
The tensor is zero-padded on the right so
722725
the last window fully appears in the result.
723726

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ defmodule NxSignal.MixProject do
4949
# Run "mix help deps" to learn about dependencies.
5050
defp deps do
5151
[
52-
{:nx, "~> 0.4", github: "elixir-nx/nx", sparse: "nx"},
53-
{:ex_doc, "~> 0.29.0", only: :docs}
52+
{:nx, "~> 0.5"},
53+
{:ex_doc, "~> 0.29", only: :docs}
5454
]
5555
end
5656

mix.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
%{
2-
"complex": {:hex, :complex, "0.4.3", "84db4aad241099a8785446ac6eacf498bf3a60634a0e45c7745d875714ddbf98", [:mix], [], "hexpm", "2ceda96ebddcc22697974f1a2666d4cc5dfdd34f8cd8c4f9dced037bcb41eeb5"},
2+
"complex": {:hex, :complex, "0.5.0", "af2d2331ff6170b61bb738695e481b27a66780e18763e066ee2cd863d0b1dd92", [:mix], [], "hexpm", "2683bd3c184466cfb94fad74cbfddfaa94b860e27ad4ca1bffe3bff169d91ef1"},
33
"earmark_parser": {:hex, :earmark_parser, "1.4.29", "149d50dcb3a93d9f3d6f3ecf18c918fb5a2d3c001b5d3305c926cddfbd33355b", [:mix], [], "hexpm", "4902af1b3eb139016aed210888748db8070b8125c2342ce3dcae4f38dcc63503"},
44
"elixir_make": {:hex, :elixir_make, "0.7.3", "c37fdae1b52d2cc51069713a58c2314877c1ad40800a57efb213f77b078a460d", [:mix], [{:castore, "~> 0.1", [hex: :castore, repo: "hexpm", optional: true]}], "hexpm", "24ada3e3996adbed1fa024ca14995ef2ba3d0d17b678b0f3f2b1f66e6ce2b274"},
55
"ex_doc": {:hex, :ex_doc, "0.29.1", "b1c652fa5f92ee9cf15c75271168027f92039b3877094290a75abcaac82a9f77", [:mix], [{:earmark_parser, "~> 1.4.19", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "b7745fa6374a36daf484e2a2012274950e084815b936b1319aeebcf7809574f6"},
66
"makeup": {:hex, :makeup, "1.1.0", "6b67c8bc2882a6b6a445859952a602afc1a41c2e08379ca057c0f525366fc3ca", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "0a45ed501f4a8897f580eabf99a2e5234ea3e75a4373c8a52824f6e873be57a6"},
77
"makeup_elixir": {:hex, :makeup_elixir, "0.16.0", "f8c570a0d33f8039513fbccaf7108c5d750f47d8defd44088371191b76492b0b", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "28b2cbdc13960a46ae9a8858c4bebdec3c9a6d7b4b9e7f4ed1502f8159f338e7"},
88
"makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"},
99
"nimble_parsec": {:hex, :nimble_parsec, "1.2.3", "244836e6e3f1200c7f30cb56733fd808744eca61fd182f731eac4af635cc6d0b", [:mix], [], "hexpm", "c8d789e39b9131acf7b99291e93dae60ab48ef14a7ee9d58c6964f59efb570b0"},
10-
"nx": {:git, "https://github.com/elixir-nx/nx.git", "dea341d802731fdec57759b6c0409ba0f67c4596", [sparse: "nx"]},
10+
"nx": {:hex, :nx, "0.5.0", "c5e62e82606ff372d986e72cce505c98421bb4305ce9cc8e439fe6cc1966c6ad", [:mix], [{:complex, "~> 0.5", [hex: :complex, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4.0 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "b29c246318181c3ebfcf0f230a0d33783ac4c92dfa34ca3aa5b9b38ae58c187e"},
1111
"telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"},
1212
"xla": {:hex, :xla, "0.4.3", "cf6201aaa44d990298996156a83a16b9a87c5fbb257758dbf4c3e83c5e1c4b96", [:make, :mix], [{:elixir_make, "~> 0.4", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm", "caae164b56dcaec6fbcabcd7dea14303afde07623b0cfa4a3cd2576b923105f5"},
1313
}

0 commit comments

Comments
 (0)