kd.typing.set_shape# kauldron.typing.set_shape( pattern: str, shape: int | collections.abc.Sequence[int], ) → None[source] Validates the given shape and sets any previously unknown shapes.