class_docstr: The gradient of DiagonalSubtensor.
code: def perform(self, node, inputs, output_storage):
      x, i0, i1, amt = inputs
      if not self.inplace:
          x = x.copy()
      xview = get_diagonal_subtensor_view(x, i0, i1)
      xview += amt
      output_storage[0][0] = x
  
imports: from __future__ import absolute_import, print_function, division
  import theano
  from theano.gradient import DisconnectedType
  from theano.gof import Op, Apply, TopoOptimizer
  from theano.gof.opt import copy_stack_trace
  from theano import tensor
label_desc: Use image node_id 4 for calling the IncDiagonalSubtensor obj's underlying member method code with example usage: obj.perform(node, inputs, output_storage) without return types