Searched refs:TF_TString (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | ctstring.h | 26 inline void TF_TString_Init(TF_TString *str); 28 inline void TF_TString_Dealloc(TF_TString *str); 33 inline char *TF_TString_Resize(TF_TString *str, size_t new_size, char c); 38 inline char *TF_TString_ResizeUninitialized(TF_TString *str, size_t new_size); 45 inline void TF_TString_Reserve(TF_TString *str, size_t new_cap); 48 inline size_t TF_TString_GetSize(const TF_TString *str); 52 inline size_t TF_TString_GetCapacity(const TF_TString *str); 74 inline TF_TString_Type TF_TString_GetType(const TF_TString *str); 78 inline const char *TF_TString_GetDataPointer(const TF_TString *str); 82 inline char *TF_TString_GetMutableDataPointer(TF_TString *str); [all …]
|
D | ctstring_internal.h | 123 typedef struct TF_TString { // NOLINT struct 133 } TF_TString; argument 139 static inline TF_TString_Type TF_TString_GetType(const TF_TString *str) { in TF_TString_GetType() 171 static inline void TF_TString_Init(TF_TString *str) { in TF_TString_Init() 175 static inline void TF_TString_Dealloc(TF_TString *str) { in TF_TString_Dealloc() 183 static inline size_t TF_TString_GetSize(const TF_TString *str) { in TF_TString_GetSize() 198 static inline size_t TF_TString_GetCapacity(const TF_TString *str) { in TF_TString_GetCapacity() 211 static inline const char *TF_TString_GetDataPointer(const TF_TString *str) { in TF_TString_GetDataPointer() 227 static inline char *TF_TString_ResizeUninitialized(TF_TString *str, in TF_TString_ResizeUninitialized() 290 static inline char *TF_TString_GetMutableDataPointer(TF_TString *str) { in TF_TString_GetMutableDataPointer() [all …]
|
D | ctstring_test.cc | 36 TF_TString s10, s11, s12; in TEST() 72 TF_TString s20, s21, s22; in TEST() 108 TF_TString s30, s31; in TEST() 170 TF_TString s40, s41; in TEST() 214 TF_TString s50; in TEST() 259 TF_TString s60; in TEST() 283 TF_TString s70; in TEST()
|
D | tstring.h | 75 TF_TString tstr_;
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | tensor_jni.cc | 223 jbyteArray TF_StringDecodeTojbyteArray(JNIEnv* env, const TF_TString* src) { in TF_StringDecodeTojbyteArray() 238 : index_(0), data_(static_cast<TF_TString*>(TF_TensorData(t))) {} in StringTensorWriter() 248 TF_TString* data_; 254 : index_(0), data_(static_cast<const TF_TString*>(TF_TensorData(t))) {} in StringTensorReader() 263 const TF_TString* data_; 330 TF_Tensor* t = TF_AllocateTensor(TF_STRING, nullptr, 0, sizeof(TF_TString)); in Java_org_tensorflow_Tensor_allocateScalarBytes() 331 TF_TString* dst = static_cast<TF_TString*>(TF_TensorData(t)); in Java_org_tensorflow_Tensor_allocateScalarBytes() 404 sizeof(TF_TString) * num_elements); in Java_org_tensorflow_Tensor_allocateNonScalarBytes() 524 const TF_TString* data = static_cast<const TF_TString*>(TF_TensorData(t)); in Java_org_tensorflow_Tensor_scalarBytes()
|
/external/tensorflow/tensorflow/go/ |
D | tensor.go | 346 tstrs := (*(*[]C.TF_TString)(unsafe.Pointer(&raw)))[:nStrings] 482 var tstr C.TF_TString
|
/external/tensorflow/tensorflow/c/ |
D | c_api_test.cc | 2325 TF_TString tstr[1]; in TEST_F() 2350 TF_TString* t_in_tstr = static_cast<TF_TString*>(TF_TensorData(t_in.get())); in TEST_F() 2351 TF_TString* t_out_tstr = static_cast<TF_TString*>(TF_TensorData(t_out)); in TEST_F()
|
/external/tensorflow/ |
D | RELEASE.md | 354 TF Core/C++; i.e., a contiguous array of `tensorflow::tstring`/`TF_TString`s.
|