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
5 changes: 4 additions & 1 deletion keras/src/utils/image_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,10 @@ def smart_resize(
Defaults to `"bilinear"`.
data_format: `"channels_last"` or `"channels_first"`.
backend_module: Backend module to use (if different from the default
backend).
backend). This parameter is for internal use and should typically
be left as None. When None, defaults to `keras.src.backend`.
Note: This does NOT allow switching between TensorFlow/JAX/PyTorch
backends - use `keras.config.set_backend()` for that purpose.

Returns:
Array with shape `(size[0], size[1], channels)`.
Expand Down