parameters: (op, grad)
return_statement: return [grad0, None]
docstring: The derivatives for bicubic resizing.
  
    Args:
      op: The ResizeBicubic op.
      grad: The tensor representing the gradient w.r.t. the output.
  
    Returns:
      The gradients w.r.t. the input.
docstring_summary: The derivatives for bicubic resizing.
docstring_tokens: The derivatives for bicubic resizing .
function: def _ResizeBicubicGrad(op, grad):
    """The derivatives for bicubic resizing.
  
    Args:
      op: The ResizeBicubic op.
      grad: The tensor representing the gradient w.r.t. the output.
  
    Returns:
      The gradients w.r.t. the input.
    """
    allowed_types = [dtypes.float32, dtypes.float64]
    grad0 = None
    if op.inputs[0].dtype in allowed_types:
      # pylint: disable=protected-access
      grad0 = gen_image_ops._resize_bicubic_grad(
          grad, op.inputs[0], align_corners=op.get_attr("align_corners"))
      # pylint: enable=protected-access
    return [grad0, None]
function_tokens: def _ResizeBicubicGrad ( op , grad ) : allowed_types = [ dtypes . float32 , dtypes . float64 ] grad0 = None if op . inputs [ 0 ] . dtype in allowed_types : # pylint: disable=protected-access grad0 = gen_image_ops . _resize_bicubic_grad ( grad , op . inputs [ 0 ] , align_corners = op . get_attr ( "align_corners" ) ) # pylint: enable=protected-access return [ grad0 , None ]