optimizer_v2.py in the screenshot you shared has the base class tensorflow/optimizer_v2.py at v2.5.0 · tensorflow/tensorflow · GitHub 3 . As it says in the doc string: "  You should not use this class directly, but instead instantiate one of its subclasses such as tf.keras.optimizers.SGD, tf.keras.optimizers.Adam, etc."
You can use a number of built-in optimizers from this list of APIs:

  
      

      TensorFlow
  

  
    

Module: tf.keras.optimizers  |  TensorFlow Core v2.5.0 10

  Built-in optimizer classes.


  

  
    
    
  

  



  
      

      keras.io
  

  
    

Keras documentation: Optimizers 4



  

  
    
    
  

  


Hope this helps