def check_scale(self):
        """checking whether a number of scale is a power of 2"""
        for node in self.model.model.graph.node:
            if node.op_type in refine_op_type:
                scale = self.get_scale(node)
                new_scale = pos2scale(scale2pos(scale))
                self.set_scale(node, new_scale)
checking whether a number of scale is a power of 2
olive/passes/onnx/vitis_ai/refine.py