    def append(self, operation):
        """
        Inserts the operation.
        operation_kind -> configuration_name -> []
        """
        if self.filter(operation):
            self.selected_kernels.append(str(operation))

            self.operations_by_name[str(operation)] = operation

            # add the configuration
            configuration_name = str(operation)

            if operation.operation_kind not in self.operations.keys():
                self.operations[operation.operation_kind] = {}
            if (
                operation.extra_kind
                not in self.operations[operation.operation_kind].keys()
            ):
                self.operations[operation.operation_kind][operation.extra_kind] = {}

            if (
                configuration_name
                not in self.operations[operation.operation_kind][
                    operation.extra_kind
                ].keys()
            ):
                self.operations[operation.operation_kind][operation.extra_kind][
                    configuration_name
                ] = []

            self.operations[operation.operation_kind][operation.extra_kind][
                configuration_name
            ].append(operation)
            self.operation_count += 1
Inserts the operation.
operation_kind -> configuration_name -> []
python/aitemplate/utils/mk_ck_lib/manifest.py