class_docstr: This nnabla function is used for the very end of a computational graph in the grad function.
      
class_docstr_tok: ["This","nnabla","function","is","used","for","the","very","end","of","a","computational","graph","in","the","grad","function","."]
code: def setup_impl(self, inputs, outputs):
      i = inputs[0]
      o = outputs[0]
      o.reset_shape(i.shape, True)
  
imports: import numpy
  from collections import OrderedDict
  import nnabla
  import nnabla.functions
  from nnabla.function import PythonFunction
  from .backward_functions import registry
label_desc: Use image node_id 5 for calling the GradEndFunction obj's underlying member method code with example usage: obj.setup_impl(inputs, outputs) without return types