code: def test_mutate_sample_categorical_single_candidate():
      mutator = _make_mutator(
          target=Target("llvm --num-cores=16"),
      )
      sch = Schedule(matmul, debug_mask="all")
      sch.sample_categorical(candidates=[1], probs=[1.0], decision=0)
  
      # The mutator finds the SampleCategorical has only one candidate, and thus skips it.
      trace = mutator.apply(sch.trace)
      assert trace is None
  
file_path: tvm/tests/python/meta_schedule/test_meta_schedule_mutator_mutate_tile_size.py
imports: import operator
  from functools import reduce
  from typing import List
  from tvm import meta_schedule
  from tvm.script import tir
  from tvm.target import Target
  from tvm.tir import Schedule
label_desc: Use image node_id 5 for calling a global function with example usage: test_mutate_sample_categorical_single_candidate() without return types