- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for No (0.21 sec)
-
tensorflow/c/eager/c_api_unified_experimental.cc
auto entry = GetFactories().find(name); if (entry != GetFactories().end()) { default_factory = GetFactories().find(name)->second; return absl::OkStatus(); } string msg = absl::StrCat( "No tracing engine factory has been registered with the key '", name, "' (available: "); // Ensure deterministic (sorted) order in the error message std::set<string> factories_sorted;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
it.second = strings::StrCat( "Operation '", op.node.DebugString(), "' was changed by ", mutation_type, " after it was run by a session. This mutation will have no effect, " "and will trigger an error in the future. Either don't modify " "nodes after running them or create a new session."); } } } namespace {
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/experimental/gradients/math_grad_test.cc
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Apr 13 17:32:14 GMT 2023 - 16.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
tensorflow::RunOptions options; if (enable_full_trace) { options.set_trace_level(tensorflow::RunOptions::FULL_TRACE); } else { options.set_trace_level(tensorflow::RunOptions::NO_TRACE); } TF_Buffer* ret = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(options, ret)); return ret; } const char* TF_GraphDebugString(TF_Graph* graph, size_t* len) {
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/parallel_device/parallel_device_testlib.cc
// Use the special GUID for no buffer sharing // // TODO(allenl): Should we provide a better API for this? AFAIK this is the // only reasonable way to make variables with no aliasing using the eager C // API. std::string no_sharing = "cd2c89b7-88b7-44c8-ad83-06c2a9158347"; TFE_OpSetAttrString(op.get(), "shared_name", no_sharing.c_str(), no_sharing.length());
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.cc
using MaybeParallelTensorUnowned = absl::variant<ParallelTensor*, TFE_TensorHandle*>; // A ParallelDevice on its own is not registered with a TFE_Context, and so has // no device name (e.g. for `tf.device`). `NamedParallelDevice` associates a // name with it, which lets us pack its `ParallelTensor`s into TFE_TensorHandles // placed on the parallel device. class NamedParallelDevice { public:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad_test.cc
immediate_execution_ctx_.get(), X_vals, X_dims, 2, &X_raw); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); X.reset(X_raw); } ASSERT_NO_FATAL_FAILURE(CompareNumericalAndAutodiffGradients( ReluModel, ReluGradModel, immediate_execution_ctx_.get(), {X.get()}, UseFunction())); // Mathematically, Relu isn't differentiable at `0`. So `gradient_checker`
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
std::vector<TensorHandlePtr> components, absl::Span<const int64_t> shape, TF_Status* status) { if (components.empty()) { TF_SetStatus(status, TF_INTERNAL, "No components are provide for creating a ParallelTensor"); return nullptr; } TFE_TensorHandleGetStatus(components[0].get(), status); if (!status->status.ok()) { return nullptr; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
env->SetNowSeconds(3); int value = 0; EXPECT_TRUE(cache.Lookup(key, &value)); EXPECT_EQ(value, 42); // 2 seconds after the most recent insertion, the entry is no longer valid. env->SetNowSeconds(4); EXPECT_FALSE(cache.Lookup(key, &value)); // Re-insert the entry. cache.Insert(key, 43); EXPECT_TRUE(cache.Lookup(key, &value)); EXPECT_EQ(value, 43);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
if (it == func->record->fdef().attr().end()) { status->status = InvalidArgument("Function '", func->record->fdef().signature().name(), "' has no attr named '", attr_name, "'."); return; } status->status = MessageToBuffer(it->second, output_attr_value); } void TF_DeleteFunction(TF_Function* func) { if (func == nullptr) { return;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2)