# tfg.rendering.utils.dim_value

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/rendering/utils.py#L22-L23) |

    tfg.rendering.utils.dim_value(
        dim: Optional[int] = None
    ) -> int