code: def test_multi_class_rbf_kernel():
      estimator = SVC(kernel="rbf", random_state=1, gamma=2.0)
  
      estimator.fit([[1], [2], [3]], [1, 2, 3])
  
      assembler = SklearnSVMModelAssembler(estimator)
      actual = assembler.assemble()
  
      kernels = [
          utils._svm_rbf_kernel_ast(estimator, float(i), to_reuse=True)
          for i in range(1, 4)
      ]
  
      expected = ast.VectorVal(
          [
              ast.BinNumExpr(
                  ast.BinNumExpr(
                      ast.NumVal(0.0),
                      ast.BinNumExpr(
                          kernels[1],
                          ast.NumVal(-1.0),
                          ast.BinNumOpType.MUL,
                      ),
                      ast.BinNumOpType.ADD,
                  ),
                  ast.BinNumExpr(
                      kernels[0], ast.NumVal(1.0), ast.BinNumOpType.MUL
                  ),
                  ast.BinNumOpType.ADD,
              ),
              ast.BinNumExpr(
                  ast.BinNumExpr(
                      ast.NumVal(0.0),
                      ast.BinNumExpr(
                          kernels[2],
                          ast.NumVal(-1.0),
                          ast.BinNumOpType.MUL,
                      ),
                      ast.BinNumOpType.ADD,
                  ),
                  ast.BinNumExpr(
                      kernels[0], ast.NumVal(1.0), ast.BinNumOpType.MUL
                  ),
                  ast.BinNumOpType.ADD,
              ),
              ast.BinNumExpr(
                  ast.BinNumExpr(
                      ast.NumVal(0.0),
                      ast.BinNumExpr(
                          kernels[2],
                          ast.NumVal(-1.0),
                          ast.BinNumOpType.MUL,
                      ),
                      ast.BinNumOpType.ADD,
                  ),
                  ast.BinNumExpr(
                      kernels[1], ast.NumVal(1.0), ast.BinNumOpType.MUL
                  ),
                  ast.BinNumOpType.ADD,
              ),
          ]
      )
  
      assert cmp_exprs(actual, expected)
  
file_path: m2cgen/tests/assemblers/test_svm_sklearn.py
imports: import numpy
  import pytest
  from sklearn.svm import SVC
  from m2cgen import ast
  from m2cgen.assemblers import SklearnSVMModelAssembler
  from tests.assemblers import utils
  from tests.utils import cmp_exprs
label_desc: Use image node_id 6 for calling a global function with example usage: test_multi_class_rbf_kernel() without return types