tf.raw_ops.ResizeNearestNeigrGrad

Computes the gradient of nearest neigr interpolation.

gradsA Tensor. Must be one of the following types: uint8, int8, int32, half, float32, float64, bfloat16. 4-D with shape [batch, height, width, channels].
sizeA 1-D int32 Tensor of 2 elements: orig_height, orig_width. The original input size.
align_cornersAn optional bool. Defaults to False. If true, the centers of the 4 corner pixels of the input and grad tensors are aligned. Defaults to false.
half_pixel_centersAn optional bool. Defaults to False.
nameA name for the operation (optional).

A Tensor. Has the same type as grads.