docstr: Instantiates a kernel from a config dictionary.
  
  Parameters
  ----------
  config
      A kernel config dictionary.
docstr_tok: ["Instantiates","a","kernel","from","a","config","dictionary",".","Parameters","--","--","--","--","--","config","A","kernel","config","dictionary","."]
code: def from_config(cls, config):
      """
      Instantiates a kernel from a config dictionary.
  
      Parameters
      ----------
      config
          A kernel config dictionary.
      """
      config.pop("flavour")
      return cls(**config)
  
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 5 for calling the GaussianRBF obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls