- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for back (0.17 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
// fetcher calls that the cache makes. calls.push_back(0); // Cache miss - drains an element from `calls`. TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out)); // Cache hit - does not drain an element from `calls`. TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out)); calls.push_back(block_size); // Cache miss followed by cache hit.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
TF_RETURN_IF_ERROR(parent_op_->AddInput(input)); forward_op_.inputs.push_back(input); return OkStatus(); } Status TapeOperation::AddInputList( absl::Span<AbstractTensorHandle* const> inputs) { TF_RETURN_IF_ERROR(parent_op_->AddInputList(inputs)); for (auto input : inputs) { forward_op_.inputs.push_back(input); } return OkStatus(); }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
plugin_status.reserve(files.size()); for (int i = 0; i < files.size(); i++) plugin_status.push_back(TF_NewStatus()); result = ops_->paths_exist(filesystem_.get(), translated_names.data(), files.size(), plugin_status.data()); for (int i = 0; i < files.size(); i++) { status->push_back(StatusFromTF_Status(plugin_status[i])); TF_DeleteStatus(plugin_status[i]); } }
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) -
.github/workflows/issue-on-pr-rollback.yml
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== name: Creates a GitHub Issue when a PR Rolled back via Commit to Master on: push: branches: - master permissions: {} jobs: create-issue-on-pr-rollback: runs-on: ubuntu-latest permissions: contents: read
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Sep 12 16:40:29 GMT 2023 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
absl::MutexLock lock(&mu_); uint64_t now = timer_seconds_(); while (!lra_list_.empty()) { auto it = block_map_.find(lra_list_.back()); if (now - it->second->timestamp <= max_staleness_) { // The oldest block is not yet expired. Come back later. break; } // We need to make a copy of the filename here, since it could otherwise
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_debug.cc
return shape; } shape.reserve(rank); for (int i = 0; i < rank; ++i) { int64_t dim; *status = handle.Dim(i, &dim); if (!status->ok()) { return shape; } shape.push_back(dim); } return shape; } } // namespace extern "C" { TF_CAPI_EXPORT extern TFE_TensorDebugInfo* TFE_TensorHandleTensorDebugInfo( TFE_TensorHandle* h, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TFE_TensorHandle* input_eager = TestScalarTensorHandle(eager_ctx, 2.0f); func_args.push_back(TF_CreateAbstractTensorFromEagerTensor(input_eager, s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); input_eager = TestScalarTensorHandle(eager_ctx, 3.0f); func_args.push_back(TF_CreateAbstractTensorFromEagerTensor(input_eager, s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/c_api.cc
opts->opts.control_dependencies.push_back(oper->node.name()); } void TF_ImportGraphDefOptionsAddReturnOutput(TF_ImportGraphDefOptions* opts, const char* oper_name, int index) { opts->tensor_id_data.push_back(oper_name); const string& oper_name_str = opts->tensor_id_data.back(); opts->opts.return_tensors.emplace_back(oper_name_str, index); }
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/abstract_operation.h
std::vector<const char*> raw_strs; std::vector<size_t> lengths; raw_strs.reserve(values.size()); lengths.reserve(values.size()); for (const auto& s : values) { raw_strs.emplace_back(s.data()); lengths.emplace_back(s.size()); } return SetAttrStringList(attr_name, reinterpret_cast<const void**>(raw_strs.data()), lengths.data(), values.size()); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
inputs_.clear(); for (const auto& p : inputs) { inputs_.emplace_back(TF_Output{p.first, 0}); input_values_.emplace_back(p.second); } } void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) { ResetOutputValues(); outputs_.clear(); for (TF_Operation* o : outputs) { outputs_.emplace_back(TF_Output{o, 0}); } output_values_.resize(outputs_.size()); }
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)