def METHOD_NAME(layout_str: str, dtype: str = "int32") -> Layout:
    """Create a layout node from a string.
    Parameters
    ----------
    layout_str : str
        A layout representation is composed of upper cases, lower cases and numbers,
        where upper case indicates a primal axis and
        the corresponding lower case with factor size indicates the subordinate axis.
        For example, NCHW16c can describe a 5-D tensor of
        [batch_size, channel, height, width, channel_block].
        Here subordinate axis channel_block=16 is the factor size of
        the primal axis C (channel).
    dtype : str
        The dtype of generated axes vars in the returned layout.
        It is required to be integer type.
    Returns
    -------
    layout : Layout
        The created layout
    """
    return _ffi_api.Layout(layout_str, dtype)  # type: ignore