code: def _BiasAddGradV1(unused_bias_op: ops.Operation, received_grad):
      """Return the gradients for the 2 inputs of bias_op.
  
      The first input of unused_bias_op is the tensor t, and its gradient is
      just the gradient the unused_bias_op received.
  
      The second input of unused_bias_op is the bias vector which has one fewer
      dimension than "received_grad" (the batch dimension.)  Its gradient is the
      received gradient Summed on the batch dimension, which is the first dimension.
  
      Args:
        unused_bias_op: The BiasOp for which we need to generate gradients.
        received_grad: Tensor.  The gradients passed to the BiasOp.
  
      Returns:
        Two tensors, the first one for the "tensor" input of the BiasOp,
        the second one for the "bias" input of the BiasOp.
      """
      reduction_dim_tensor = math_ops.range(
          array_ops.rank(received_grad) - 1
      )
      return (
          received_grad,
          math_ops.reduce_sum(received_grad, reduction_dim_tensor),
      )
  
imports: import functools
  import itertools
  import operator
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 17 for calling a global function with example usage: _BiasAddGradV1(unused_bias_op, received_grad) and returns: received_grad,  math_ops