code: def test_basics(self):
      self.run_layer_test(
          layers.HashedCrossing,
          init_kwargs={
              "num_bins": 3,
              "output_mode": "int",
          },
          input_data=(np.array([1, 2]), np.array([4, 5])),
          expected_output_shape=(2,),
          expected_num_trainable_weights=0,
          expected_num_non_trainable_weights=0,
          expected_num_seed_generators=0,
          expected_num_losses=0,
          supports_masking=False,
          run_training_check=False,
          # Incomplete op support on tensorflow.
          run_mixed_precision_check=False,
      )
      self.run_layer_test(
          layers.HashedCrossing,
          init_kwargs={"num_bins": 4, "output_mode": "one_hot"},
          input_data=(np.array([1, 2]), np.array([4, 5])),
          expected_output_shape=(2, 4),
          expected_num_trainable_weights=0,
          expected_num_non_trainable_weights=0,
          expected_num_seed_generators=0,
          expected_num_losses=0,
          supports_masking=False,
          run_training_check=False,
          # Incomplete op support on tensorflow.
          run_mixed_precision_check=False,
      )
  
file_path: keras/keras/layers/preprocessing/hashed_crossing_test.py
imports: import numpy
  import pytest
  import tensorflow
  from keras import backend
  from keras import layers
  from keras import testing
label_desc: Use image node_id 1 for calling the HashedCrossingTest obj's underlying member method code with example usage: obj.test_basics() without return types