Added make_gray option in ResizeLayer.