- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Ressin (0.2 sec)
-
tensorflow/c/c_test_util.cc
CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) { TF_SessionOptions* opts = TF_NewSessionOptions(); TF_EnableXLACompilation(opts, use_XLA); session_ = TF_NewSession(graph, opts, s); TF_DeleteSessionOptions(opts); } CSession::CSession(TF_Session* session) : session_(session) {} CSession::~CSession() { TF_Status* s = TF_NewStatus(); CloseAndDelete(s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/c_test_util.h
void Run(TF_Status* s); void CloseAndDelete(TF_Status* s); TF_Tensor* output_tensor(int i) { return output_values_[i]; } TF_Session* mutable_session() { return session_; } private: void DeleteInputValues(); void ResetOutputValues(); TF_Session* session_; std::vector<TF_Output> inputs_; std::vector<TF_Tensor*> input_values_; std::vector<TF_Output> outputs_;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Viewed (0) -
tensorflow/c/BUILD
":tf_status_internal", ":tf_tensor_internal", "//tensorflow/core:protos_all_cc", "@com_google_absl//absl/status", ], ) filegroup( name = "pywrap_tf_session_hdrs", srcs = [ "python_api.h", ], visibility = [ "//tensorflow/core:__pkg__", "//tensorflow/python:__pkg__", ], ) cc_library(
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K 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 23 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 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
RELEASE.md
* `tf.compat.v1.Session` * `tf.compat.v1.Session.partial_run` and `tf.compat.v1.Session.partial_run_setup` will be deprecated in the next release. ### Known Caveats * `tf.lite`
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Apr 03 20:27:38 GMT 2024 - 727.4K bytes - Viewed (8) -
tensorflow/BUILD
], }), per_os_targets = True, roots = [ "//tensorflow/c:c_api", "//tensorflow/c/eager:c_api", "//tensorflow/cc:cc_ops", "//tensorflow/cc:client_session", "//tensorflow/cc:scope", "//tensorflow/core:tensorflow", "//tensorflow/core/data:standalone", # Exports for pywrap_tensorflow_internal. Many of these are transitive
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (6) -
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 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_internal.h
}; struct TF_Operation { tensorflow::Node node; private: ~TF_Operation() = default; }; struct TF_Session { TF_Session(tensorflow::Session* s, TF_Graph* g); tensorflow::Session* session; TF_Graph* const graph; tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu); int last_num_graph_nodes;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
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 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1)