    def set_constants(self, constants: Dict[str, Any]):
        """
        Provide a dictionary to set the corresponding constant values.
        The constant value could be bytes/torch.Tensor/numpy.ndarray.
        """
        for k, v in constants.items():
            getattr(self, k)._bind_data(convert_to_ait_const(v))
Provide a dictionary to set the corresponding constant values.
The constant value could be bytes/torch.Tensor/numpy.ndarray.
python/aitemplate/utils/serialization/ait_program.py