code: def _svm_cosine_kernel_ast(sup_vec_value):
      feature_norm = ast.SqrtExpr(
          ast.BinNumExpr(
              ast.FeatureRef(0), ast.FeatureRef(0), ast.BinNumOpType.MUL
          ),
          to_reuse=True,
      )
      return ast.BinNumExpr(
          ast.BinNumExpr(
              ast.NumVal(sup_vec_value),
              ast.FeatureRef(0),
              ast.BinNumOpType.MUL,
          ),
          ast.IfExpr(
              ast.CompExpr(
                  feature_norm, ast.NumVal(0.0), ast.CompOpType.EQ
              ),
              ast.NumVal(1.0),
              feature_norm,
          ),
          ast.BinNumOpType.DIV,
      )
  
imports: from m2cgen import ast
label_desc: Use image node_id 3 for calling a global function with example usage: _svm_cosine_kernel_ast(sup_vec_value) and returns: ast