I solved my problem.
torch::AutoGradMode enable_grad(false);

but I wonder that below result
data = data.set_requires_grad(false);
auto req_grad = data.requires_grad(); // flase

data = conv1(data);
auto req_grad = data.requires_grad(); // true