code: def sample_inputs_sparse_reduction_sum(
      op_info, device, dtype, requires_grad, layout, **kwargs
  ):
      """Sample inputs for sum on sparse tensors."""
      yield from _sample_inputs_sparse(
          sample_inputs_sparse_reduction,
          _maybe_failing_sample_inputs_sparse_reduction_sum,
          _validate_sample_input_sparse_reduction,
          op_info,
          device,
          dtype,
          requires_grad,
          layout,
          **kwargs,
      )
  
imports: import os
  import torch
  from torch.testing import make_tensor
  from torch.testing._internal.opinfo.core import BinaryUfuncInfo, ErrorInput, generate_elementwise_binary_tensors, ReductionOpInfo, sample_inputs_reduction, SampleInput
label_desc: Use image node_id 9 for calling a global function with example usage: sample_inputs_sparse_reduction_sum(op_info, device, dtype, requires_grad, layout) without return types