code: def check_args(hidden_dim, inner_dim, vocab_size, min_bsz, max_bsz):
      assert (
          hidden_dim is not None
          and (inner_dim is not None or vocab_size is not None)
          and hidden_dim > 0
          and (inner_dim is None or inner_dim > 0)
          and (vocab_size is None or vocab_size > 0)
          and 1 <= min_bsz <= max_bsz
      )
  
file_path: lightseq/lightseq/training/ops/pytorch/gemm_test.py
imports: import os
  import functools
  from dataclasses import dataclass
  from copy import deepcopy
  from tqdm import tqdm
  from lightseq.training.ops.pytorch.builder import KernelBuilder
label_desc: Use image node_id 7 for calling a global function with example usage: check_args(hidden_dim, inner_dim, vocab_size, min_bsz, max_bsz) without return types