.. Copyright 2022 The Inseq Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Main Functions ======================================================================================================================= The functions described in this section can be called from the top level of the `inseq` library and implement the base functionalities required for its usage. .. currentmodule:: inseq .. autofunction:: get_version .. autofunction:: explain .. autofunction:: load_model .. autofunction:: register_step_function .. autofunction:: register_model_config .. autofunction:: list_feature_attribution_methods .. autofunction:: list_aggregators .. autofunction:: list_step_functions .. autofunction:: list_aggregation_functions .. autofunction:: show_attributions .. autofunction:: show_granular_attributions .. autofunction:: show_token_attributions .. autofunction:: merge_attributions