Skip to content

Commit 9a5adfa

Browse files
committed
Deprecate Nx.Defn.stream
1 parent 08e3330 commit 9a5adfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nx/lib/nx/defn.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ defmodule Nx.Defn do
558558
above and you will have to restructure your code to manipulate the
559559
input before streaming starts.
560560
"""
561+
@deprecated "Move the streaming loop to Elixir instead"
561562
def stream(fun, args, opts \\ [])
562563
when is_function(fun) and is_list(args) and is_list(opts) do
563564
if Nx.Defn.Compiler.current() do

0 commit comments

Comments
 (0)