parameters: (ex_rois, gt_rois)
return_statement: return bbox_transform(ex_rois, gt_rois[:, :4]).astype(
          np.float32, copy=False)
docstring: Compute bounding-box regression targets for an image.
docstring_summary: Compute bounding-box regression targets for an image.
docstring_tokens: Compute bounding - box regression targets for an image .
function: def _compute_targets(ex_rois, gt_rois):
      """Compute bounding-box regression targets for an image."""
  
      assert ex_rois.shape[0] == gt_rois.shape[0]
      assert ex_rois.shape[1] == 4
      assert gt_rois.shape[1] == 5
  
      return bbox_transform(ex_rois, gt_rois[:, :4]).astype(
          np.float32, copy=False)
function_tokens: def _compute_targets ( ex_rois , gt_rois ) : assert ex_rois . shape [ 0 ] == gt_rois . shape [ 0 ] assert ex_rois . shape [ 1 ] == 4 assert gt_rois . shape [ 1 ] == 5 return bbox_transform ( ex_rois , gt_rois [ : , : 4 ] ) . astype ( np . float32 , copy = False )