- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Sargent (0.17 sec)
-
tensorflow/c/c_api.cc
TF_Graph* parent = params->cond_graph->parent; TF_Output* parent_inputs = params->cond_graph->parent_inputs; int num_loop_vars = params->ninputs; mutex_lock l(parent->mu); // 'cond_fn' copies the cond graph into the parent graph. tensorflow::ops::CondGraphBuilderFn cond_fn = [params, parent](const tensorflow::Scope& scope,
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/filesystem/plugins/posix/posix_filesystem.cc
// If target is a directory return TF_FAILED_PRECONDITION. // Target might be missing, so don't error in that case. struct stat st; if (stat(dst, &st) != 0) { if (errno != ENOENT) { TF_SetStatusFromIOError(status, errno, dst); return; } } else if (S_ISDIR(st.st_mode)) { TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory"); return; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
if (sources_set.find(target_id) != sources_set.end()) { auto tensor = targets[i]; sources_that_are_targets.insert( std::make_pair(target_id, TapeTensor(tensor))); } } TF_RETURN_IF_ERROR(GradientTape::ComputeGradient( vspace, target_tensor_ids, source_tensor_ids, sources_that_are_targets, output_gradients, result, /*build_default_zeros_grads*/ false));
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/experimental/filesystem/modular_filesystem_test.cc
} TEST_P(ModularFileSystemTest, TestDeleteRecursivelyANestedDir) { const std::string parent_path = GetURIForPath("parent/path"); Status status = env_->RecursivelyCreateDir(parent_path); if (!status.ok()) GTEST_SKIP() << "RecursivelyCreateDir() not supported: " << status; const std::string new_dirpath = GetURIForPath("parent/path/that/is/extended"); status = env_->RecursivelyCreateDir(new_dirpath); if (!status.ok())
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
std::string translated_target = TranslateName(target); ops_->rename_file(filesystem_.get(), translated_src.c_str(), translated_target.c_str(), plugin_status.get()); return StatusFromTF_Status(plugin_status.get()); } Status ModularFileSystem::CopyFile(const std::string& src, const std::string& target,
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/c_api_test.cc
TF_Output fetches[] = {dxy_dx, dxy_dy}; TF_Tensor* fetchValues[] = {nullptr, nullptr}; TF_SessionRun(sess, nullptr /* run_options */, feeds, feedValues, 2, fetches, fetchValues, 2, nullptr /* target_opers */, 0, nullptr /* run_metadata */, s_); TF_DeleteTensor(feedValues[0]); TF_DeleteTensor(feedValues[1]); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_DeleteSession(sess, 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) -
tensorflow/c/eager/custom_device_testutil.cc
} TFE_TensorHandle* CopyTensorFromLoggingDevice(TFE_Context* context, TFE_TensorHandle* tensor, const char* target_device_name, TF_Status* status, void* device_info) { TF_SetStatus(status, TF_INTERNAL,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
TFE_TensorHandle* CopyTensorFromParallelDevice(TFE_Context* context, TFE_TensorHandle* tensor, const char* target_device_name, TF_Status* status, void* device_info) { ParallelTensor* parallel_tensor = reinterpret_cast<ParallelTensor*>(
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/eager/c_api_experimental.cc
tensorflow::unwrap(ctx)->GetDistributedManager(); tsl::CoordinationServiceAgent* coord_agent = dist_mgr->GetCoordinationServiceAgent(); if (coord_agent == nullptr) { status->status = tensorflow::errors::FailedPrecondition( "Coordination service agent is not enabled."); return; } status->status = coord_agent->InsertKeyValue(key, value); }
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.cc
ImmediateExecutionTensorHandle* handle, const tensorflow::string& target_device_name, ImmediateExecutionTensorHandle** result) override { TF_Status status; handle->Ref(); TFE_TensorHandle* result_handle = device_.copy_tensor_from_device( context_, tensorflow::wrap(handle), target_device_name.c_str(), &status, info_); handle->Unref();
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)