Searched refs:type_num (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor_bridge.cc | 196 int type_num = -1; in ArrayFromMemory() local 198 TF_DataType_to_PyArray_TYPE(static_cast<TF_DataType>(dtype), &type_num); in ArrayFromMemory() 204 PyArray_SimpleNewFromData(dim_size, dims, type_num, data)); in ArrayFromMemory()
|
D | ndarray_tensor.cc | 351 int type_num = -1; in GetPyArrayDescrForTensor() local 353 TF_DataType_to_PyArray_TYPE(TF_TensorType(tensor), &type_num)); in GetPyArrayDescrForTensor() 354 *descr = PyArray_DescrFromType(type_num); in GetPyArrayDescrForTensor()
|
/external/python/cpython2/Lib/lib2to3/ |
D | btm_matcher.py | 160 def type_repr(type_num): argument 168 return _type_reprs.setdefault(type_num, type_num)
|
D | pytree.py | 22 def type_repr(type_num): argument 30 return _type_reprs.setdefault(type_num, type_num)
|
/external/python/cpython3/Lib/lib2to3/ |
D | btm_matcher.py | 155 def type_repr(type_num): argument 163 return _type_reprs.setdefault(type_num, type_num)
|
D | pytree.py | 21 def type_repr(type_num): argument 29 return _type_reprs.setdefault(type_num, type_num)
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | interpreter_wrapper.cc | 540 TfLiteTensor** tensor, int* type_num) { in CheckGetTensorArgs() argument 550 *type_num = python_utils::TfLiteTypeToPyArrayType((*tensor)->type); in CheckGetTensorArgs() 551 if (*type_num == -1) { in CheckGetTensorArgs() 613 int type_num = 0; in GetTensor() local 616 CheckGetTensorArgs(interpreter_.get(), i, &tensor, &type_num); in GetTensor() 635 PyArray_SimpleNewFromData(dims.size(), dims.data(), type_num, data); in GetTensor() 646 sparse_buffer_dims.size(), sparse_buffer_dims.data(), type_num, data); in GetTensor() 687 int type_num = 0; in tensor() local 690 CheckGetTensorArgs(interpreter_.get(), i, &tensor, &type_num); in tensor() 698 dims.size(), dims.data(), type_num, tensor->data.raw)); in tensor()
|
/external/python/pybind11/include/pybind11/ |
D | numpy.h | 58 int type_num; member
|