<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/sampling_ops.py#L37-L57) |

Returns a list containing static and dynamic values for the dimensions.

    tfm.vision.sampling_ops.combined_static_and_dynamic_shape(
        tensor
    )

Returns a list of static and dynamic values for shape dimensions. This is
useful to preserve static shapes when available in reshape operation.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `tensor` | A tensor of any type. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of size tensor.shape.ndims containing integers or a scalar tensor. ||

<br />