code: def stop_gradient(variable):
      """Stops gradient computation.
  
      Args:
          variable: A tensor variable for which the gradient
              computation is to be disabled.
  
      Returns:
          The variable with gradient computation disabled.
  
      Examples:
  
      >>> var = keras.backend.convert_to_tensor(
      ...     [1., 2., 3.],
      ...     dtype="float32"
      ... )
      >>> var = keras.ops.stop_gradient(var)
      """
      return backend.core.stop_gradient(variable)
  
imports: import numpy
  from keras import backend
  from keras.api_export import keras_export
  from keras.backend import KerasTensor
  from keras.backend import any_symbolic_tensors
  from keras.ops.operation import Operation
  from keras.utils import traceback_utils
label_desc: Use image node_id 6 for calling a global function with example usage: stop_gradient(variable) and returns: backend