mindformers.pet.pet_config.PetConfig
====================================

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.4.10/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindformers/blob/r1.3.0/docs/api/api_python/pet/mindformers.pet.pet_config.PetConfig.rst
    :alt: 查看源文件


.. py:class:: mindformers.pet.pet_config.PetConfig(pet_type: str = None, **kwargs)

    低参微调(Pet)算法的配置基类。

    参数:
        - **pet_type** (str, 可选) - Pet方法类型。默认值: ``None`` 。

    返回:
        PetConfig实例。