Searched refs:TF_STRING (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | util.cc | 76 return TF_STRING; in GetTensorFlowDataType() 98 case TF_STRING: in GetTensorFlowLiteType()
|
D | util_test.cc | 117 EXPECT_EQ(TF_STRING, GetTensorFlowDataType(kTfLiteString)); in TEST() 128 EXPECT_EQ(kTfLiteString, GetTensorFlowLiteType(TF_STRING)); in TEST()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 119 *out_tf_datatype = TF_STRING; in PyArray_TYPE_to_TF_DataType() 226 DCHECK_EQ(TF_STRING, TF_TensorType(src)); in CopyTF_TensorStringsToPyArray() 395 if (TF_TensorType(tensor.get()) == TF_STRING) { in TF_TensorToPyArray() 446 } else if (dtype != TF_STRING) { in PyArrayToTF_Tensor()
|
D | ndarray_tensor_bridge.cc | 155 case TF_STRING: in TF_DataType_to_PyArray_TYPE()
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | tensor_jni.cc | 371 TF_Tensor* t = TF_AllocateTensor(TF_STRING, nullptr, 0, 8 + dst_len); in Java_org_tensorflow_Tensor_allocateScalarBytes() 454 TF_Tensor* t = TF_AllocateTensor(TF_STRING, dims, num_dims, in Java_org_tensorflow_Tensor_allocateNonScalarBytes() 570 if (TF_TensorType(t) != TF_STRING) { in Java_org_tensorflow_Tensor_scalarBytes() 608 if (dtype == TF_STRING) { in Java_org_tensorflow_Tensor_readNDArray()
|
/external/tensorflow/tensorflow/go/ |
D | tensor.go | 46 String DataType = C.TF_STRING 225 {reflect.TypeOf(""), C.TF_STRING},
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_device.cc | 1446 #define TF_STRING(s) TF_XSTRING(s) in GetSupportedCudaComputeCapabilities() macro 1447 string extra_cuda_caps = TF_STRING(TF_EXTRA_CUDA_CAPABILITIES); in GetSupportedCudaComputeCapabilities() 1448 #undef TF_STRING in GetSupportedCudaComputeCapabilities()
|
/external/tensorflow/tensorflow/c/ |
D | c_api_test.cc | 299 EXPECT_EQ(TF_STRING, static_cast<TF_DataType>(tensorflow::DT_STRING)); in TEST() 315 EXPECT_EQ(TF_DataTypeSize(TF_STRING), in TEST() 2291 unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &encoded[0], in TEST_F() 2308 EXPECT_EQ(TF_STRING, TF_TensorType(t_out)); in TEST_F()
|
D | c_api.h | 106 TF_STRING = 7, enumerator
|
D | c_api.cc | 214 if (dtype != TF_STRING && dtype != TF_RESOURCE && in TF_NewTensor() 507 if (src->dtype != TF_STRING) { in TF_TensorToTensor() 643 return TF_NewTensor(TF_STRING, in TF_TensorFromTensor()
|