Home
last modified time | relevance | path

Searched refs:PyInt_FromLong (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader_wrapper.cc70 tensorflow::make_safe(PyInt_FromLong(src.dim_size(i)))); in cast()
91 tensorflow::make_safe(PyInt_FromLong(src))); in cast()
/external/pytorch/torch/csrc/
DTHP.h12 #define PyInt_FromLong PyLong_FromLong macro
Dutils.h68 #define THPUtils_newReal_INT(value) PyInt_FromLong(value)
/external/python/pyyaml/yaml/
D_yaml.h10 #define PyLong_FromUnsignedLongLong(z) PyInt_FromLong(i)
/external/libnl/python/netlink/genl/
Dcapi.i102 k = PyInt_FromLong((long)i); in py_genlmsg_parse()
/external/AFLplusplus/src/
Dafl-fuzz-python.c109 py_value = PyInt_FromLong(max_size); in fuzz_py()
326 py_value = PyInt_FromLong(seed); in init_py()
753 py_value = PyInt_FromLong(max_size); in havoc_mutation_py()
/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter_wrapper.cc28 #define PY_INT_FROM_LONG(x) (PyInt_FromLong(x))
Dop_def_util.cc34 #define PY_INT_FROM_LONG(x) (PyInt_FromLong(x))
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h160 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/
Dcext.h198 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc154 return PyInt_FromLong(l); in PyIntFromDataType()
634 return PyInt_FromLong(num_dims); in EagerTensor_rank()
Dpywrap_tfe_src.cc821 return PyInt_FromLong(num); in GetPythonObjectFromInt()
/external/pytorch/torch/csrc/autograd/
Dpython_variable.cpp991 return PyInt_FromLong(var._version()); in THPVariable_get_version()
1139 return PyInt_FromLong(output_nr); in THPVariable_get_output_nr()
1174 return PyInt_FromLong(THPVariable_Unpack(self).dim()); in THPVariable_get_ndim()
/external/libxml2/python/
Dtypes.c20 #define PY_IMPORT_INT PyInt_FromLong
/external/libnl/python/netlink/
Dcapi.i890 k = PyInt_FromLong((long)i); in py_nla_parse_nested()
/external/webp/swig/
Dlibwebp_python_wrap.c751 #define PyInt_FromLong(x) PyLong_FromLong(x) macro
920 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
3046 return PyInt_FromLong((long) value); in SWIG_From_int()
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx758 #define PyInt_FromLong(x) PyLong_FromLong(x) macro
2798 #define SWIG_From_long PyInt_FromLong
2846 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); in SWIG_From_unsigned_SS_long()
/external/tensorflow/tensorflow/python/
Dtfe_wrapper.cc981 PyObject* output_pyo = PyInt_FromLong(output); in PYBIND11_MODULE()