code: def from_config(cls, config):
      return cls(**config)
  
file_path: alibi-detect/alibi_detect/cd/tensorflow/tests/test_learned_kernel_tf.py
imports: from itertools import product
  import numpy
  import pytest
  import tensorflow
  from tensorflow.keras.layers import Dense
  from typing import Union
  from alibi_detect.cd.tensorflow.learned_kernel import LearnedKernelDriftTF
label_desc: Use image node_id 4 for calling the MyKernel obj's underlying member method code with example usage: obj.from_config(cls, config) and returns: cls