- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for optimizations (0.29 sec)
-
tensorflow/c/c_api.cc
// -------------------------------------------------------------------------- TF_SessionOptions* TF_NewSessionOptions() { TF_SessionOptions* out = new TF_SessionOptions; // Disable optimizations for static graph to allow calls to Session::Extend. out->options.config.mutable_experimental() ->set_disable_optimize_for_static_graph(true); return out; }
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/eager/c_api_distributed_test.cc
#include "tensorflow/c/eager/tfe_tensorhandle_internal.h" #include "tensorflow/core/common_runtime/eager/eager_operation.h" #include "tensorflow/core/common_runtime/function_optimization_registry.h" #include "tensorflow/core/common_runtime/optimization_registry.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/graph/graph.h"
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_remote_test.cc
#include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/tfe_tensorhandle_internal.h" #include "tensorflow/core/common_runtime/eager/eager_operation.h" #include "tensorflow/core/common_runtime/function_optimization_registry.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/platform/casts.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 12 00:14:22 GMT 2020 - 5.4K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
unsigned char TF_GetXlaAutoJitEnabled() { tensorflow::XlaAutoJitFlag flag = tensorflow::GetMarkForCompilationPassFlags()->xla_auto_jit_flag; return static_cast<unsigned char>(flag.optimization_level_single_gpu > 0 || flag.optimization_level_general > 0); } unsigned char TF_GetXlaConstantFoldingDisabled() { return static_cast<unsigned char>(
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.cc
// Add a config_proto attr, to trigger grappler graph rewrites in the current // eager runtime. if (enable_grappler) { tensorflow::ConfigProto config; // Do not skip grappler optimization even for small graphs. config.mutable_graph_options() ->mutable_rewrite_options() ->set_min_graph_nodes(-1); string serialized_config;
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) -
tensorflow/c/experimental/grappler/grappler.cc
CONFIG_TOGGLE(pin_to_host_optimization); CONFIG_TOGGLE(layout_optimizer); CONFIG_TOGGLE(remapping); CONFIG_TOGGLE(loop_optimization); CONFIG_TOGGLE(dependency_optimization); CONFIG_TOGGLE(auto_parallel); CONFIG_TOGGLE(memory_optimization); CONFIG_TOGGLE(scoped_allocator_optimization); PluginGraphOptimizerRegistry::RegisterPluginOptimizerOrDie( creator, device_type, configs); }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/eager/gradients.cc
}; // Returns the number of elements in the gradient tensor. int64_t TapeVSpace::NumElements(AbstractTensorHandle* tensor) const { // TODO(srbs): It seems like this is used only for performance optimization // and not for correctness. The only downside of keeping this 1 seems to be // that the gradient accumulation is unbounded and we will never // aggressively aggregate accumulated gradients to recover memory.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K 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"); if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) &&
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)