<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/vision/ops/preprocess_ops_3d.py#L307-L336) |

Resizes frames so that min(`height`, `width`) is equal to `min_resize`.

    tfm.vision.preprocess_ops_3d.resize_smallest(
        frames: tf.Tensor, min_resize: int
    ) -> tf.Tensor

This function will not do anything if the min(`height`, `width`) is already
equal to `min_resize`. This allows to save compute time.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `frames` | A Tensor of dimension \[timesteps, input_h, input_w, channels\]. |
| `min_resize` | Minimum size of the final image dimensions. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A Tensor of shape \[timesteps, output_h, output_w, channels\] of type frames.dtype where min(output_h, output_w) = min_resize. ||

<br />