- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 313 for cdef (0.19 sec)
-
tensorflow/c/c_api_function.cc
tensorflow::GradientDef gdef; gdef.set_function_name(func->record->fdef().signature().name()); gdef.set_gradient_func(grad->record->fdef().signature().name()); status->status = g->graph.AddGradientDef(std::move(gdef)); } int TF_GraphNumFunctions(TF_Graph* g) { tensorflow::mutex_lock l(g->mu); return g->graph.flib_def().num_functions(); } int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/c_api_experimental.cc
for (const FunctionDef& fdef : fdef_lib.function()) { // Make a copy so that we can mutate it. FunctionDef fdef_to_load = fdef; if (mutate_proto_func) { (*mutate_proto_func)(&fdef_to_load); } VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString(); std::vector<char> binary_proto_buf(fdef_to_load.ByteSizeLong()); fdef_to_load.SerializeToArray(binary_proto_buf.data(),
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function, TF_Status* status) { auto fdef_or = function->record->mutable_fdef(); if (!fdef_or.ok()) { status->status = fdef_or.status(); return; } AnnotateEagerRuntimeConstructionContext(*fdef_or.value()); status->status = tensorflow::unwrap(ctx)->AddFunctionDefWithStackTraces(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/c_api_test.cc
tensorflow::GraphDef graph_def_proto; ASSERT_TRUE(tensorflow::ParseProtoUnlimited(&graph_def_proto, graph_def->data, graph_def->length)); TF_Buffer graph_def_buffer; graph_def_buffer.data = reinterpret_cast<const void*>(&graph_def_proto); graph_def_buffer.length = sizeof(tensorflow::GraphDef*); TF_ImportGraphDefResults* results =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_api.cc
return nullptr; #else mutex_lock l(api_def_map->lock); if (!api_def_map->update_docs_called) { api_def_map->api_def_map.UpdateDocs(); api_def_map->update_docs_called = true; } string name_str(name, name_len); const auto* api_def = api_def_map->api_def_map.GetApiDef(name_str); if (api_def == nullptr) { return nullptr; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tests/test_query.py
] } ) def test_query_optional(): response = client.get("/query/optional") assert response.status_code == 200 assert response.json() == "foo bar" def test_query_optional_query_baz(): response = client.get("/query/optional?query=baz") assert response.status_code == 200 assert response.json() == "foo bar baz" def test_query_optional_not_declared_baz():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 11.4K bytes - Viewed (0) -
Jenkinsfile
def buildOs = 'linux' def buildJdk = '17' def buildMvn = '3.8.x' def runITsOses = ['linux'] def runITsJdks = ['17', '21'] def runITsMvn = '3.8.x' def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true def tests try { def osNode = jenkinsEnv.labelForOS(buildOs)
Plain Text - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sun Mar 03 21:28:30 GMT 2024 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an.py
def test_verify_password(): assert verify_password("secret", fake_users_db["johndoe"]["hashed_password"]) def test_get_password_hash(): assert get_password_hash("secretalice") def test_create_access_token(): access_token = create_access_token(data={"data": "foo"}) assert access_token def test_token_no_sub(): response = client.get(
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 15.4K bytes - Viewed (0) -
docs_src/security/tutorial004.py
app = FastAPI() def verify_password(plain_password, hashed_password): return pwd_context.verify(plain_password, hashed_password) def get_password_hash(password): return pwd_context.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4K bytes - Viewed (0) -
docs_src/security/tutorial004_an.py
app = FastAPI() def verify_password(plain_password, hashed_password): return pwd_context.verify(plain_password, hashed_password) def get_password_hash(password): return pwd_context.hash(password) def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 4.1K bytes - Viewed (0)