Home
last modified time | relevance | path

Searched refs:TF_STRING (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/flex/
Dutil.cc86 return TF_STRING; in GetTensorFlowDataType()
120 case TF_STRING: in GetTensorFlowLiteType()
Dutil_test.cc121 EXPECT_EQ(TF_STRING, GetTensorFlowDataType(kTfLiteString)); in TEST()
138 EXPECT_EQ(kTfLiteString, GetTensorFlowLiteType(TF_STRING)); in TEST()
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc161 *out_tf_datatype = TF_STRING; in PyArray_TYPE_to_TF_DataType()
277 DCHECK_EQ(TF_STRING, TF_TensorType(src)); in CopyTF_TensorStringsToPyArray()
400 if (dtype == TF_STRING || dtype == TF_RESOURCE) { in TF_TensorToMaybeAliasedPyArray()
453 if (TF_TensorType(tensor.get()) == TF_STRING) { in TF_TensorToPyArray()
510 } else if (dtype != TF_STRING) { in NdarrayToTensor()
Dndarray_tensor_bridge.cc155 case TF_STRING: in TF_DataType_to_PyArray_TYPE()
/external/tensorflow/tensorflow/c/
Dtf_datatype.h54 TF_STRING = 7, enumerator
Dtf_tensor.cc105 if (dtype != TF_STRING && dtype != TF_RESOURCE && in TF_NewTensor()
Dc_api_test.cc302 EXPECT_EQ(TF_STRING, static_cast<TF_DataType>(tensorflow::DT_STRING)); in TEST()
318 EXPECT_EQ(TF_DataTypeSize(TF_STRING), in TEST()
2330 unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0], in TEST_F()
2347 EXPECT_EQ(TF_STRING, TF_TensorType(t_out)); in TEST_F()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc330 TF_Tensor* t = TF_AllocateTensor(TF_STRING, nullptr, 0, sizeof(TF_TString)); in Java_org_tensorflow_Tensor_allocateScalarBytes()
403 TF_Tensor* t = TF_AllocateTensor(TF_STRING, dims, num_dims, in Java_org_tensorflow_Tensor_allocateNonScalarBytes()
519 if (TF_TensorType(t) != TF_STRING) { in Java_org_tensorflow_Tensor_scalarBytes()
545 if (dtype == TF_STRING) { in Java_org_tensorflow_Tensor_readNDArray()
/external/tensorflow/tensorflow/go/
Dtensor.go53 String DataType = C.TF_STRING
400 {reflect.TypeOf(""), C.TF_STRING},
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc1683 #define TF_STRING(s) TF_XSTRING(s) in GetSupportedCudaComputeCapabilities() macro
1684 string extra_cuda_caps = TF_STRING(TF_EXTRA_CUDA_CAPABILITIES); in GetSupportedCudaComputeCapabilities()
1685 #undef TF_STRING in GetSupportedCudaComputeCapabilities()
/external/tensorflow/tensorflow/c/eager/
Dc_api_test_util.cc46 TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_STRING, nullptr, 0, status); in TestScalarTensorHandle()
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc1189 .value("TF_STRING", TF_STRING) in PYBIND11_MODULE()