class_docstr: A Mixin to support handling the `out_features` and `out_indices` attributes for the backbone configurations.
class_docstr_tok: ["A","Mixin","to","support","handling","the","`","out_features","`","and","`","out_indices","`","attributes","for","the","backbone","configurations","."]
docstr: Serializes this instance to a Python dictionary. Override the default `to_dict()` from `PretrainedConfig` to
  include the `out_features` and `out_indices` attributes.
docstr_tok: ["Serializes","this","instance","to","a","Python","dictionary",".","Override","the","default","`","to_dict","(",")","`","from","`","PretrainedConfig","`","to","include","the","`","out_features","`","and","`","out_indices","`","attributes","."]
code: def to_dict(self):
      """
      Serializes this instance to a Python dictionary. Override the default `to_dict()` from `PretrainedConfig` to
      include the `out_features` and `out_indices` attributes.
      """
      output = super().to_dict()
      output["out_features"] = output.pop("_out_features")
      output["out_indices"] = output.pop("_out_indices")
      return output
  
imports: import enum
  import inspect
  from typing import Iterable, List, Optional, Tuple, Union
label_desc: Use image node_id 5 for calling the BackboneConfigMixin obj's underlying member method code with example usage: obj.to_dict() and returns: output