code: def test_upsampling_1d(self):
      self.run_layer_test(
          layers.UpSampling1D,
          init_kwargs={"size": 2},
          input_shape=(3, 5, 4),
          expected_output_shape=(3, 10, 4),
          expected_output_dtype="float32",
          expected_num_trainable_weights=0,
          expected_num_non_trainable_weights=0,
          expected_num_seed_generators=0,
          expected_num_losses=0,
          supports_masking=False,
      )
  
file_path: keras/keras/layers/reshaping/up_sampling1d_test.py
imports: import numpy
  import pytest
  from keras import layers
  from keras import testing
  from keras.backend.common.keras_tensor import KerasTensor
label_desc: Use image node_id 1 for calling the UpSamplingTest obj's underlying member method code with example usage: obj.test_upsampling_1d() without return types