- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for opzione (0.4 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/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/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/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/parallel_device/parallel_device_testlib.cc
// integration testing rather than purely testing the parallel device. They // correspond fairly well to the implementation, but testing the C++ directly is // another option. namespace tensorflow { namespace parallel_device { Variable* Variable::Create(TFE_Context* context, TF_DataType type, const int64_t* dims, const int num_dims,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
// integration testing rather than purely testing the parallel device. They // correspond fairly well to the implementation, but testing the C++ directly is // another option. namespace tensorflow { namespace parallel_device { using ::testing::HasSubstr; TEST(PARALLEL_DEVICE, TestBasicCPU) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1) -
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)