def METHOD_NAME(self, node, feed_dict):
    inp1 = feed_dict[node.input[0]]
    if self.graph.opset < 13:
        axes = node.get_attr_value("axes")
    else:
        axes = feed_dict[node.input[1]].tolist()
    shape = inp1.shape
    handler = self.compute_unsqueeze_shape if node.type == "Unsqueeze" else self.compute_squeeze_shape
    new_shape = handler(shape, axes)
    return [inp1.reshape(new_shape)]