code: def __init__(
      self,
      units,
      *,
      kernel_regularizer=None,
      kernel_initializer=None,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self._units = units
      self._kernel_regularizer = kernel_regularizer
      self._kernel_initializer = kernel_initializer
  
imports: import json
  import numpy
  import pytest
  import keras
  from keras import ops
  from keras import testing
  from keras.saving import serialization_lib
label_desc: Use image node_id 1 to create a new MyDense object from inherited base classes: keras.layers with example: obj = MyDense(units)