Skip to content
Open
Changes from 1 commit
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
7 changes: 5 additions & 2 deletions keras/src/utils/image_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,11 @@ def smart_resize(
`"lanczos3"`, `"lanczos5"`.
Defaults to `"bilinear"`.
data_format: `"channels_last"` or `"channels_first"`.
backend_module: Backend module to use (if different from the default
backend).
Backend module to use (if different from the default
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