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 flax/nnx/bridge/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def _get_module_method(module, method: tp.Callable[..., Any] | str | None):
if not callable(method):
class_name = type(module).__name__
raise TypeError(
f"'{method}' must be a callable, got {type(method)}."
f"'{class_name}.{method}' must be a callable, got {type(method)}."
)

return method
Expand Down
Loading