docstr: Completes the configuration of the backbone
  
  # Arguments
      pretrained: If True, use a pretrained backbone (on COCO).
      By default it is set to True: this is generally used when training a new model (transfer learning).
      `pretrained = False`  is used during inference (prediction) for cases where the users have their own pretrained weights.
docstr_tok: ["Completes","the","configuration","of","the","backbone","#","Arguments","pretrained",":","If","True",",","use","a","pretrained","backbone","(","on","COCO",")",".","By","default","it","is","set","to","True",":","this","is","generally","used","when","training","a","new","model","(","transfer","learning",")",".","`","pretrained","=","False","`","is","used","during","inference","(","prediction",")","for","cases","where","the","users","have","their","own","pretrained","weights","."]
code: def __call__(self, pretrained: bool = True, **kwargs):
      """Completes the configuration of the backbone
  
      # Arguments
          pretrained: If True, use a pretrained backbone (on COCO).
          By default it is set to True: this is generally used when training a new model (transfer learning).
          `pretrained = False`  is used during inference (prediction) for cases where the users have their own pretrained weights.
      """
      self.pretrained = pretrained
  
      # kwargs passed to call overwrite kwargs from init
      kwargs = {**self.backbone_fn_kwargs, **kwargs}
      self.backbone = self.backbone_fn(pretrained=pretrained, **kwargs)
  
      return self
  
imports: from icevision.imports import *
  from icevision.models.backbone_config import BackboneConfig
label_desc: Use image node_id 2 for calling the TorchvisionBackboneConfig obj's underlying member method code with example usage: obj.__call__(pretrained) and returns: self