def METHOD_NAME(node: NNCFNode) -> LayoutDescriptor:
    """
    Return weights layout descriptor of the given node if it is possible and None otherwise.
    Only convolutional and linear nodes are supported.
    :param node: NNCFNode to get layout descriptor from.
    :return: Weights layout descriptor of the given node if it is possible and None otherwise.
    """