class_docstr: Stochastic Gradient Descent (SGD) module.
  
  Attributes:
    learning_rate: Learning rate.
docstr: Constructs an `SGD` module.
  
  Args:
    learning_rate: Learning rate.
    name: Name of the module.
docstr_tok: ["Constructs","an","`","SGD","`","module",".","Args",":","learning_rate",":","Learning","rate",".","name",":","Name","of","the","module","."]
code: def __init__(
      self,
      learning_rate: Union[types.FloatLike, tf.Variable],
      name: Optional[str] = None,
  ):
      """Constructs an `SGD` module.
  
      Args:
        learning_rate: Learning rate.
        name: Name of the module.
      """
      super().__init__(name)
      self.learning_rate = learning_rate
  
file_path: sonnet/sonnet/src/optimizers/sgd.py
imports: from typing import Optional, Sequence, Union
  from sonnet.src import base
  from sonnet.src import types
  from sonnet.src.optimizers import optimizer_utils
  import tensorflow
label_desc: Use image node_id 1 to create a new SGD object from inherited base classes: base with example: obj = SGD(learning_rate, name)