code: def _check_the_same(all_required_inputs, inputs_in_datasets):
      inputs_not_in_dataset = [
          i for i in all_required_inputs if i not in inputs_in_datasets
      ]
      if inputs_not_in_dataset:
          raise ValueError(
              "You should not use any placeholder that are not defined in dataset, "
              + "found %s" % inputs_not_in_dataset
          )
      if len(inputs_in_datasets) != len(all_required_inputs):
          inputs_not_require_by_loss = [
              i
              for i in inputs_in_datasets
              if i not in all_required_inputs
          ]
          raise ValueError(
              "You should use all the placeholders that are defined in dataset, "
              + "%s are not used" % inputs_not_require_by_loss
          )
  
imports: import sys
  import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: _check_the_same(all_required_inputs, inputs_in_datasets) without return types