code: def squared_error(a, b):
      """Computes the element-wise squared difference between two tensors.
  
      .. math:: L = (p - t)^2
  
      Parameters
      ----------
      a, b : Theano tensor
          The tensors to compute the squared difference between.
  
      Returns
      -------
      Theano tensor
          An expression for the element-wise squared difference.
  
      Notes
      -----
      This is the loss function of choice for many regression problems
      or auto-encoders with linear output units.
      """
      a, b = align_targets(a, b)
      return theano.tensor.square(a - b)
  
file_path: Lasagne/lasagne/objectives.py
imports: import theano.tensor
  from .utils import as_theano_expression
label_desc: Use image node_id 4 for calling a global function with example usage: squared_error(a, b) and returns: theano