Home
last modified time | relevance | path

Searched refs:serialized_config (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/client/
Ddevice_lib.py39 serialized_config = None
41 serialized_config = session_config.SerializeToString()
43 _convert(s) for s in _pywrap_device_lib.list_devices(serialized_config)
Ddevice_lib_wrapper.cc31 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/
Dannotator_jni.h42 (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);
Dannotator_jni.cc545 (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()
Dannotator.h147 bool InitializeKnowledgeEngine(const std::string& serialized_config);
150 bool InitializeContactEngine(const std::string& serialized_config);
153 bool InitializeInstalledAppEngine(const std::string& serialized_config);
Dannotator.cc592 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/
Dconversation-intent-detection-dummy.h34 Status Initialize(const std::string& serialized_config) { return Status::OK; } in Initialize() argument
/external/libtextclassifier/native/annotator/installed_app/
Dinstalled-app-engine-dummy.h37 bool Initialize(const std::string& serialized_config) { in Initialize() argument
/external/libtextclassifier/native/annotator/contact/
Dcontact-engine-dummy.h39 bool Initialize(const std::string& serialized_config) { in Initialize() argument
/external/libtextclassifier/native/annotator/knowledge/
Dknowledge-engine-dummy.h34 bool Initialize(const std::string& serialized_config, const UniLib* unilib) { in Initialize() argument
/external/libtextclassifier/native/utils/tflite/
Dtext_encoder.cc84 const flexbuffers::Blob serialized_config = in Initialize() local
87 flatbuffers::GetRoot<TextEncoderConfig>(serialized_config.data()); in Initialize()
/external/libtextclassifier/native/actions/
Dactions_jni.cc607 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()
Dactions-suggestions.h109 const std::string& serialized_config);
Dactions-suggestions.cc1482 const std::string& serialized_config) { in InitializeConversationIntentDetection() argument
1485 if (!conversation_intent_detection->Initialize(serialized_config).ok()) { in InitializeConversationIntentDetection()
/external/tensorflow/tensorflow/c/eager/
Dc_api_test.cc1081 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()