when we do somethon like this:
at::TensorOptions options ;
    options.requires_grad(false);
    options.is_variable(true);
    options.device(weights.device());
    options.dtype(weights.dtype());

Error happen :
error: ‘struct at::TensorOptions’ has no member named ‘is_variable
any suggest how change at::TensorOptions.is_variable attribute?
THX