Home
last modified time | relevance | path

Searched refs:TF_RESOURCE (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc60 *out_tf_datatype = TF_RESOURCE; in PyArrayDescr_to_TF_DataType()
269 if (TF_TensorType(tensor) == TF_RESOURCE) { in GetPyArrayDimensionsForTensor()
286 if (TF_TensorType(tensor) == TF_RESOURCE) { in GetPyArrayDescrForTensor()
397 if (dtype == TF_RESOURCE) { in PyArrayToTF_Tensor()
Dndarray_tensor_bridge.cc157 case TF_RESOURCE: in TF_DataType_to_PyArray_TYPE()
/external/tensorflow/tensorflow/c/
Dc_api.h119 TF_RESOURCE = 20, enumerator
Dc_api.cc197 if (dtype != TF_STRING && dtype != TF_RESOURCE && in TF_NewTensor()
463 if (src->dtype == TF_RESOURCE) { in TF_TensorToTensor()
556 TF_Tensor* t = TF_AllocateTensor(TF_RESOURCE, {}, 0, str.size()); in TF_TensorFromTensor()