Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nx/lib/nx/defn/expr.ex
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ defmodule Nx.Defn.Expr do
tuple when is_tuple(tuple) ->
raise ArgumentError,
"defn functions expects either numbers or tensors as arguments. " <>
"If you want to pass a tuple, you must explicitly pattern match on the tuple in the signature" <>
"If you want to pass a tuple, you must explicitly pattern match on the tuple in the signature " <>
"Got: #{inspect(tuple)}"

other ->
Expand Down