docstr: Returns a serializable config dict (excluding the input_sigma_fn, which is serialized in alibi_detect.saving).
docstr_tok: ["Returns","a","serializable","config","dict","(","excluding","the","input_sigma_fn",",","which","is","serialized","in","alibi_detect.saving",")","."]
code: def get_config(self) -> dict:
      """
      Returns a serializable config dict (excluding the input_sigma_fn, which is serialized in alibi_detect.saving).
      """
      cfg = self.config.copy()
      if isinstance(cfg["sigma"], torch.Tensor):
          cfg["sigma"] = cfg["sigma"].detach().cpu().numpy().tolist()
      cfg.update({"flavour": Framework.PYTORCH.value})
      return cfg
  
imports: import numpy
  import torch
  from torch import nn
  from .None import distance
  from typing import Optional, Union, Callable
  from alibi_detect.utils.frameworks import Framework
label_desc: Use image node_id 4 for calling the GaussianRBF obj's underlying member method code with example usage: obj.get_config() and returns: cfg