Searched refs:ConvertScalar (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 242 static const char* ConvertScalar(PyObject* v, T* out); 272 const char* error = ConverterTraits<T>::ConvertScalar(scalar, *buf); in Helper() 288 *error = ConverterTraits<T>::ConvertScalar(scalar, &value); in Convert() 328 static const char* ConvertScalar(PyObject* v, int64* out) { in ConvertScalar() function 348 return ConvertScalar(as_int.get(), out); in ConvertScalar() 368 static const char* ConvertScalar(PyObject* v, uint64* out) { in ConvertScalar() function 385 return ConvertScalar(as_int.get(), out); in ConvertScalar() 405 static const char* ConvertScalar(PyObject* v, int32* out) { in ConvertScalar() function 423 return ConvertScalar(as_int.get(), out); in ConvertScalar() 512 static const char* ConvertScalar(PyObject* v, float* out) { in ConvertScalar() function [all …]
|