Home
last modified time | relevance | path

Searched refs:warn_if_not_writeable (Results 1 – 2 of 2) sorted by relevance

/external/pytorch/torch/csrc/utils/
Dtensor_numpy.h9 at::Tensor tensor_from_numpy(PyObject* obj, bool warn_if_not_writeable = true);
Dtensor_numpy.cpp15 bool warn_if_not_writeable /*=true*/) { in tensor_from_numpy() argument
217 bool warn_if_not_writeable /*=true*/) { in tensor_from_numpy() argument
230 if (!PyArray_ISWRITEABLE(array) && warn_if_not_writeable) { in tensor_from_numpy()