@staticmethod
def infer(node):
    if (len(node.in_nodes()) == 2):
        gamma_vector = node.in_node(1)
        if np.all((gamma_vector.shape == [1])):
            node['channel_shared'] = 1
        else:
            node['channel_shared'] = 0
        node.in_node(1)['correct_data_type'] = True
    copy_shape_infer(node)
@staticmethod
def infer(node):
    if (len(node.in_nodes()) == 2):
        gamma_vector = node.in_node(1)
        if np.all((gamma_vector.shape == [1])):
            node['channel_shared'] = 1
        else:
            node['channel_shared'] = 0
        node.in_node(1)['correct_data_type'] = True
    copy_shape_infer(node)