code: def assert_equal_tokenization_outputs(hf_output, cudf_output):
      assert (
          np.sum(
              hf_output["input_ids"] != cudf_output["input_ids"].get()
          )
          == 0
      )
      assert (
          np.sum(
              hf_output["attention_mask"]
              != cudf_output["attention_mask"].get()
          )
          == 0
      )
  
file_path: cudf/python/cudf/cudf/tests/text/test_subword_tokenizer.py
imports: import os
  import cupy
  import numpy
  import pytest
  import cudf
  from cudf.core.subword_tokenizer import SubwordTokenizer
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 2 for calling a global function with example usage: assert_equal_tokenization_outputs(hf_output, cudf_output) without return types