- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Nations (0.22 sec)
-
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/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/next_pluggable_device/c_api.cc
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/eager/c_api_distributed_test.cc
class GraphErrorInjectionPass : public tensorflow::GraphOptimizationPass { public: static bool enabled_; GraphErrorInjectionPass() {} tensorflow::Status Run( const tensorflow::GraphOptimizationPassOptions& options) override { if (!enabled_) { return absl::OkStatus(); } if (first_call_) { first_call_ = false; return absl::OkStatus(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
tensorflow::strings::StrCat("/job:", job_name, "/replica:0/task:", 0)); auto* rewrite_options = config->mutable_graph_options()->mutable_rewrite_options(); rewrite_options->set_scoped_allocator_optimization( tensorflow::RewriterConfig::ON); rewrite_options->mutable_scoped_allocator_opts()->add_enable_op( "CollectiveReduce");
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; } void TFE_ContextOptionsSetDevicePlacementPolicy(
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_experimental_test.cc
protected: ShapeInferenceTest() : status_(TF_NewStatus()), tfe_context_options_(TFE_NewContextOptions()) { tfe_context_ = TFE_NewContext(tfe_context_options_, status_); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); } ~ShapeInferenceTest() override { TFE_DeleteContextOptions(tfe_context_options_); TFE_DeleteContext(tfe_context_); TF_DeleteStatus(status_); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.cc
if (prefix == nullptr || strlen(prefix) == 0) prefix = "/job:localhost/replica:0/task:0"; tensorflow::SessionOptions sess_options; (*sess_options.config.mutable_device_count())["CPU"] = num_cpus; status->status = tensorflow::DeviceFactory::AddCpuDevices(sess_options, prefix, &devices); // Remove the device that has the host device name since host device is alreay // in an initialized context.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
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)