code: def _OptionalFromValueGrad(op, grad):
      return gen_optional_ops.optional_get_value(
          grad,
          [t.dtype for t in op.inputs],
          [t.shape for t in op.inputs],
      )
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.ops import gen_optional_ops
label_desc: Use image node_id 1 for calling a global function with example usage: _OptionalFromValueGrad(op, grad) and returns: gen_optional_ops