Searched refs:warn_if_not_writeable (Results 1 – 2 of 2) sorted by relevance
9 at::Tensor tensor_from_numpy(PyObject* obj, bool warn_if_not_writeable = true);
15 bool warn_if_not_writeable /*=true*/) { in tensor_from_numpy() argument217 bool warn_if_not_writeable /*=true*/) { in tensor_from_numpy() argument230 if (!PyArray_ISWRITEABLE(array) && warn_if_not_writeable) { in tensor_from_numpy()