docstr: Subtract a value from a variable.
  
  This should be used in optimizers instead of
  `variable.assign_sub(value)` to support backend specific optimizations.
  Note that the variable can be a model variable or an optimizer variable;
  it can be a backend native variable or a Keras variable.
  
  Args:
      variable: The variable to update.
      value: The value to add to the variable.
docstr_tok: ["Subtract","a","value","from","a","variable",".","This","should","be","used","in","optimizers","instead","of","`","variable.assign_sub","(","value",")","`","to","support","backend","specific","optimizations",".","Note","that","the","variable","can","be","a","model","variable","or","an","optimizer","variable",";","it","can","be","a","backend","native","variable","or","a","Keras","variable",".","Args",":","variable",":","The","variable","to","update",".","value",":","The","value","to","add","to","the","variable","."]
code: def assign_sub(self, variable, value):
      """Subtract a value from a variable.
  
      This should be used in optimizers instead of
      `variable.assign_sub(value)` to support backend specific optimizations.
      Note that the variable can be a model variable or an optimizer variable;
      it can be a backend native variable or a Keras variable.
  
      Args:
          variable: The variable to update.
          value: The value to add to the variable.
      """
      variable.assign_sub(value)
  
imports: import re
  import warnings
  import numpy
  from keras import backend
  from keras import initializers
  from keras import ops
  from keras.optimizers.schedules import learning_rate_schedule
  from keras.saving import serialization_lib
  from keras.utils import tracking
  from keras.utils.naming import auto_name
label_desc: Use image node_id 12 for calling the BaseOptimizer obj's underlying member method code with example usage: obj.assign_sub(variable, value) without return types