- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Ressin (0.19 sec)
-
tensorflow/c/c_api.cc
} TF_Session* session = new TF_Session(bundle.session.release(), graph); graph->sessions[session] = ""; session->last_num_graph_nodes = graph->graph.num_node_ids(); return session; #endif // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD) } void TF_CloseSession(TF_Session* s, TF_Status* status) { status->status = s->session->Close(); }
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) -
tensorflow/c/c_api_experimental.cc
} return ret; } TF_Tensor* TF_DequeueNamedTensor(TF_Session* session, int tensor_id, TF_Status* status) { assert(session); { tensorflow::mutex_lock c(session->graph->mu); VLOG(1) << "Dequeuing named tensor with id " << tensor_id << ", with input graph: " << session->graph->graph.ToGraphDefDebug().DebugString(); }
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_test_util.cc
TFE_Context* CreateContext(const std::string& serialized_server_def, bool isolate_session_state, int64_t init_timeout_in_ms) { TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); opts->session_options.options.config.set_isolate_session_state( isolate_session_state); TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(false));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/eager/c_api.cc
void TFE_ContextOptionsSetConfig(TFE_ContextOptions* options, const void* proto, size_t proto_len, TF_Status* status) { TF_SetConfig(&options->session_options, proto, proto_len, status); } void TFE_ContextOptionsSetAsync(TFE_ContextOptions* options, unsigned char enable) { options->async = enable; }
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_function_test.cc
void RunT(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs, std::initializer_list<TF_Output> outputs, const std::vector<std::vector<int32_t>>& expected_results) { // Create a session for this graph CSession csession(host_graph_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Run csession.SetInputs(inputs); csession.SetOutputs(outputs); csession.Run(s_);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_DeleteExecutor(executor); TFE_DeleteContext(ctx); } TEST(CAPI, CreateLocalContextAsReset) { tensorflow::ServerDef server_def = GetServerDef("worker", 2); server_def.mutable_default_session_config()->set_isolate_session_state(false); ServerFactory* factory; ASSERT_TRUE(ServerFactory::GetFactory(server_def, &factory).ok()); server_def.set_job_name("worker"); server_def.set_task_index(0);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
// NULL run_options and meta_graph_def should work. TF_Session* session = TF_LoadSessionFromSavedModel( opt, nullptr, saved_model_dir.c_str(), tags, 1, graph, nullptr, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_DeleteSessionOptions(opt); TF_CloseSession(session, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_DeleteSession(session, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
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/eager/c_api_test.cc
TFE_DeleteContext(ctx); } TEST(CAPI, ShareVariableAcrossContextsWorks) { // TODO(shreepadma): Add a test case with isolate_session_state set to true. tensorflow::ServerDef server_def_0 = GetServerDef(3); server_def_0.mutable_default_session_config()->set_isolate_session_state( false); tensorflow::ServerDef server_def_1 = ReplaceTaskInServerDef(server_def_0, /*task_index=*/0);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)