Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/flex/
Dutil.cc90 return TF_RESOURCE; in GetTensorFlowDataType()
124 case TF_RESOURCE: in GetTensorFlowLiteType()
Dutil_test.cc123 EXPECT_EQ(TF_RESOURCE, GetTensorFlowDataType(kTfLiteResource)); in TEST()
140 EXPECT_EQ(kTfLiteResource, GetTensorFlowLiteType(TF_RESOURCE)); in TEST()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc102 *out_tf_datatype = TF_RESOURCE; in PyArrayDescr_to_TF_DataType()
311 if (TF_TensorType(tensor) == TF_RESOURCE) { in GetPyArrayDimensionsForTensor()
332 if (TF_TensorType(tensor) == TF_RESOURCE) { in GetPyArrayDescrForTensor()
400 if (dtype == TF_STRING || dtype == TF_RESOURCE) { in TF_TensorToMaybeAliasedPyArray()
497 if (dtype == TF_RESOURCE) { in NdarrayToTensor()
Dndarray_tensor_bridge.cc158 case TF_RESOURCE: in TF_DataType_to_PyArray_TYPE()
/external/tensorflow/tensorflow/c/
Dtf_datatype.h68 TF_RESOURCE = 20, enumerator
Dtf_tensor.cc105 if (dtype != TF_STRING && dtype != TF_RESOURCE && in TF_NewTensor()
282 TF_Tensor* t = TF_AllocateTensor(TF_RESOURCE, {}, 0, str.size()); in TF_TensorFromTensor()
/external/tensorflow/tensorflow/c/eager/
Dc_api_distributed_test.cc178 EXPECT_EQ(TFE_TensorHandleDataType(packed_handle), TF_RESOURCE); in TestFunctionWithPackedInput()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc51 if (TFE_TensorHandleDataType(handle) == TF_RESOURCE) { in TFE_TensorHandleToNumpy()
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc1203 .value("TF_RESOURCE", TF_RESOURCE) in PYBIND11_MODULE()