def init_orthant_cov_dict(model, layer_index, group_size, model_layer_dict):
    layer = model.layers[layer_index]
    if (('flatten' in layer.name) or ('input' in layer.name)):
        print('error in init_dict: layer_index points to the wrong layer')
    for neuron_group in combinations(range(layer.output_shape[(- 1)]), group_size):
        for orthant in range((2 ^ (group_size - 1))):
            model_layer_dict[(neuron_group, orthant)] = False
def init_orthant_cov_dict(model, layer_index, group_size, model_layer_dict):
    layer = model.layers[layer_index]
    if (('flatten' in layer.name) or ('input' in layer.name)):
        print('error in init_dict: layer_index points to the wrong layer')
    for neuron_group in combinations(range(layer.output_shape[(- 1)]), group_size):
        for orthant in range((2 ^ (group_size - 1))):
            model_layer_dict[(neuron_group, orthant)] = False