Searched refs:PyInt_FromLong (Results 1 – 18 of 18) sorted by relevance
70 tensorflow::make_safe(PyInt_FromLong(src.dim_size(i)))); in cast()91 tensorflow::make_safe(PyInt_FromLong(src))); in cast()
12 #define PyInt_FromLong PyLong_FromLong macro
68 #define THPUtils_newReal_INT(value) PyInt_FromLong(value)
10 #define PyLong_FromUnsignedLongLong(z) PyInt_FromLong(i)
102 k = PyInt_FromLong((long)i); in py_genlmsg_parse()
109 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()
28 #define PY_INT_FROM_LONG(x) (PyInt_FromLong(x))
34 #define PY_INT_FROM_LONG(x) (PyInt_FromLong(x))
160 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
198 #define PyInt_FromSsize_t(arg) PyInt_FromLong((long)arg)
154 return PyInt_FromLong(l); in PyIntFromDataType()634 return PyInt_FromLong(num_dims); in EagerTensor_rank()
821 return PyInt_FromLong(num); in GetPythonObjectFromInt()
991 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()
20 #define PY_IMPORT_INT PyInt_FromLong
890 k = PyInt_FromLong((long)i); in py_nla_parse_nested()
751 #define PyInt_FromLong(x) PyLong_FromLong(x) macro920 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)3046 return PyInt_FromLong((long) value); in SWIG_From_int()
758 #define PyInt_FromLong(x) PyLong_FromLong(x) macro2798 #define SWIG_From_long PyInt_FromLong 2846 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); in SWIG_From_unsigned_SS_long()
981 PyObject* output_pyo = PyInt_FromLong(output); in PYBIND11_MODULE()