diff --git a/src/operator/image/image_random.cc b/src/operator/image/image_random.cc index fc6b17c0b1ca..810bffbdd7bb 100644 --- a/src/operator/image/image_random.cc +++ b/src/operator/image/image_random.cc @@ -98,10 +98,6 @@ with values in the range [0, 1) .set_attr("FInferShape", ToTensorShape) .set_attr("FInferType", ToTensorType) .set_attr("FCompute", ToTensorOpForward) -.set_attr("FInplaceOption", - [](const NodeAttrs& attrs) { - return std::vector >{{0, 0}}; - }) .set_attr("FGradient", ElemwiseGradUseNone{ "_copy" }) .add_argument("data", "NDArray-or-Symbol", "Input ndarray");