Searched refs:TF_RESOURCE (Results 1 – 9 of 9) sorted by relevance
90 return TF_RESOURCE; in GetTensorFlowDataType()124 case TF_RESOURCE: in GetTensorFlowLiteType()
123 EXPECT_EQ(TF_RESOURCE, GetTensorFlowDataType(kTfLiteResource)); in TEST()140 EXPECT_EQ(kTfLiteResource, GetTensorFlowLiteType(TF_RESOURCE)); in TEST()
102 *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()
158 case TF_RESOURCE: in TF_DataType_to_PyArray_TYPE()
68 TF_RESOURCE = 20, enumerator
105 if (dtype != TF_STRING && dtype != TF_RESOURCE && in TF_NewTensor()282 TF_Tensor* t = TF_AllocateTensor(TF_RESOURCE, {}, 0, str.size()); in TF_TensorFromTensor()
178 EXPECT_EQ(TFE_TensorHandleDataType(packed_handle), TF_RESOURCE); in TestFunctionWithPackedInput()
51 if (TFE_TensorHandleDataType(handle) == TF_RESOURCE) { in TFE_TensorHandleToNumpy()
1203 .value("TF_RESOURCE", TF_RESOURCE) in PYBIND11_MODULE()