code: def test_basics(self):
      self.run_layer_test(
          layers.TimeDistributed,
          init_kwargs={"layer": layers.Dense(1, use_bias=False)},
          input_shape=(3, 2, 4),
          expected_output_shape=(3, 2, 1),
          expected_num_trainable_weights=1,
          expected_num_non_trainable_weights=0,
          supports_masking=True,
      )
  
file_path: keras/keras/layers/rnn/time_distributed_test.py
imports: import numpy
  import pytest
  from keras import backend
  from keras import initializers
  from keras import layers
  from keras import ops
  from keras import testing
label_desc: Use image node_id 1 for calling the TimeDistributedTest obj's underlying member method code with example usage: obj.test_basics() without return types