- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for opzione (0.23 sec)
-
tensorflow/c/c_api.cc
out->options.config.mutable_experimental() ->set_disable_optimize_for_static_graph(true); return out; } void TF_DeleteSessionOptions(TF_SessionOptions* opt) { delete opt; } void TF_SetTarget(TF_SessionOptions* options, const char* target) { options->options.target = target; } void TF_SetConfig(TF_SessionOptions* options, const void* proto,
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 static_cast<TF_Operation*>(static_cast<void*>(node)); } void TF_EnableXLACompilation(TF_SessionOptions* options, unsigned char enable) { tensorflow::ConfigProto& config = options->options.config; auto* optimizer_options = config.mutable_graph_options()->mutable_optimizer_options(); if (enable) { optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1);
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_unified_experimental_eager.cc
using tensorflow::unwrap; using tensorflow::wrap; using tensorflow::strings::StrCat; TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions* options, TF_Status* s) { TFE_Context* c_ctx = TFE_NewContext(options, s); if (TF_GetCode(s) != TF_OK) { return nullptr; } return wrap(static_cast<AbstractContext*>(unwrap(c_ctx))); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 25 04:40:46 GMT 2020 - 3.2K bytes - Viewed (0) -
tensorflow/c/env.cc
void TF_DefaultThreadOptions(TF_ThreadOptions* options) { options->stack_size = 0; options->guard_size = 0; options->numa_node = -1; } TF_Thread* TF_StartThread(const TF_ThreadOptions* options, const char* thread_name, void (*work_func)(void*), void* param) { ::tensorflow::ThreadOptions cc_options; cc_options.stack_size = options->stack_size;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/env_test.cc
::tensorflow::mutex_lock l(real_data->mu); real_data->did_work = true; } } // namespace TEST(TestEnv, TestThreads) { TF_ThreadOptions options; TF_DefaultThreadOptions(&options); SomeThreadData data; TF_Thread* thread = TF_StartThread(&options, "SomeThreadName", &SomeThreadFunc, &data); TF_JoinThread(thread); ::tensorflow::mutex_lock l(data.mu); ASSERT_TRUE(data.did_work);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
// There are two ways to represent compact row-major data // 1) nullptr indicates tensor is compact and row-majored. // 2) fill in the strides array as the real case for compact row-major data. // Here we choose option 2, since some frameworks didn't handle the strides // argument properly. dlm_tensor->dl_tensor.strides = stride_arr->data(); dlm_tensor->dl_tensor.byte_offset =
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
#include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/strcat.h" #include "tensorflow/core/public/session_options.h" using tensorflow::GraphDef; using tensorflow::NodeDef; static void BoolDeallocator(void* data, size_t, void* arg) { delete[] static_cast<bool*>(data); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
} TF_Filesystem_Option option; memset(&option, 0, sizeof(option)); option.name = const_cast<char*>(name.c_str()); TF_Filesystem_Option_Value option_value; memset(&option_value, 0, sizeof(option_value)); option_value.type_tag = TF_Filesystem_Option_Type_Buffer; option_value.num_values = values.size(); std::vector<TF_Filesystem_Option_Value_Union> option_values(values.size());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
auto* collection_registry = monitoring::CollectionRegistry::Default(); monitoring::CollectionRegistry::CollectMetricsOptions options; std::unique_ptr<monitoring::CollectedMetrics> metrics = collection_registry->CollectMetrics(options); EXPECT_EQ("test/counter", metrics->point_set_map.at("test/counter")->metric_name); EXPECT_EQ(
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
TF_DeleteSessionOptions(opt); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_Buffer* run_options = TF_NewBufferFromString("", 0); TF_Buffer* run_metadata = TF_NewBuffer(); TF_Run(session, run_options, nullptr, nullptr, 0, nullptr, nullptr, 0, nullptr, 0, run_metadata, s); EXPECT_EQ(TF_INVALID_ARGUMENT, 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)