def METHOD_NAME(cls, input_masks: List[SymbolicMask]) -> SymbolicMask:
    """
    Assemble output mask for elementwise pruning operation from given input masks.
    In case input_masks have different shape don't propagate any masks.
    :param input_masks: Given input masks.
    :return: Elementwise pruning operation output mask.
    """
    producers = SymbolicMaskProducer.merge_producers(input_masks)
    for input_mask in input_masks[1:]:
        if not input_masks[0].shape == input_mask.shape:
            return AmbiguousSymbolicMask(producers)
    return SymbolicMask(input_masks[0].shape[0], producers)