/external/tensorflow/tensorflow/python/client/ |
D | device_lib.py | 39 serialized_config = None 41 serialized_config = session_config.SerializeToString() 43 _convert(s) for s in _pywrap_device_lib.list_devices(serialized_config)
|
D | device_lib_wrapper.cc | 31 m.def("list_devices", [](py::object serialized_config) { in PYBIND11_MODULE() argument 33 if (!serialized_config.is_none()) { in PYBIND11_MODULE() 35 static_cast<std::string>(serialized_config.cast<py::bytes>())); in PYBIND11_MODULE()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_jni.h | 42 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config); 46 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config); 50 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config);
|
D | annotator_jni.cc | 545 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config) { in TC3_JNI_METHOD() 554 libtextclassifier3::JByteArrayToString(env, serialized_config)); in TC3_JNI_METHOD() 561 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config) { in TC3_JNI_METHOD() 570 libtextclassifier3::JByteArrayToString(env, serialized_config)); in TC3_JNI_METHOD() 577 (JNIEnv* env, jobject thiz, jlong ptr, jbyteArray serialized_config) { in TC3_JNI_METHOD() 586 libtextclassifier3::JByteArrayToString(env, serialized_config)); in TC3_JNI_METHOD()
|
D | annotator.h | 147 bool InitializeKnowledgeEngine(const std::string& serialized_config); 150 bool InitializeContactEngine(const std::string& serialized_config); 153 bool InitializeInstalledAppEngine(const std::string& serialized_config);
|
D | annotator.cc | 592 const std::string& serialized_config) { in InitializeKnowledgeEngine() argument 594 if (!knowledge_engine->Initialize(serialized_config, unilib_)) { in InitializeKnowledgeEngine() 606 bool Annotator::InitializeContactEngine(const std::string& serialized_config) { in InitializeContactEngine() argument 610 if (!contact_engine->Initialize(serialized_config)) { in InitializeContactEngine() 619 const std::string& serialized_config) { in InitializeInstalledAppEngine() argument 622 if (!installed_app_engine->Initialize(serialized_config)) { in InitializeInstalledAppEngine()
|
/external/libtextclassifier/native/actions/conversation_intent_detection/ |
D | conversation-intent-detection-dummy.h | 34 Status Initialize(const std::string& serialized_config) { return Status::OK; } in Initialize() argument
|
/external/libtextclassifier/native/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 37 bool Initialize(const std::string& serialized_config) { in Initialize() argument
|
/external/libtextclassifier/native/annotator/contact/ |
D | contact-engine-dummy.h | 39 bool Initialize(const std::string& serialized_config) { in Initialize() argument
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 34 bool Initialize(const std::string& serialized_config, const UniLib* unilib) { in Initialize() argument
|
/external/libtextclassifier/native/utils/tflite/ |
D | text_encoder.cc | 84 const flexbuffers::Blob serialized_config = in Initialize() local 87 flatbuffers::GetRoot<TextEncoderConfig>(serialized_config.data()); in Initialize()
|
/external/libtextclassifier/native/actions/ |
D | actions_jni.cc | 607 std::string serialized_config; in TC3_JNI_METHOD() local 609 serialized_config, JByteArrayToString(env, jserialized_config), in TC3_JNI_METHOD() 612 return model->InitializeConversationIntentDetection(serialized_config); in TC3_JNI_METHOD()
|
D | actions-suggestions.h | 109 const std::string& serialized_config);
|
D | actions-suggestions.cc | 1482 const std::string& serialized_config) { in InitializeConversationIntentDetection() argument 1485 if (!conversation_intent_detection->Initialize(serialized_config).ok()) { in InitializeConversationIntentDetection()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 1081 string serialized_config; in RunAddFunction() local 1082 ASSERT_TRUE(config.SerializeToString(&serialized_config)); in RunAddFunction() 1085 reinterpret_cast<const void*>(serialized_config.c_str()), in RunAddFunction() 1086 serialized_config.length()); in RunAddFunction()
|