- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for iter (0.22 sec)
-
tensorflow/c/c_api_function.cc
" into function '", fn_name, "'"); input_tensors->emplace_back(node, idx); const auto& iter = input_nodes->find(node); if (iter == input_nodes->end()) { input_nodes->insert({node, {idx}}); } else { auto& indices = iter->second; if (std::find(indices.begin(), indices.end(), idx) != indices.end()) { return InvalidArgument("TF_Output ", node->name(), ":", idx,
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) -
tensorflow/c/c_api.cc
if (!status->status.ok()) return -1; auto iter = name_ranges.find(arg_name); if (iter == name_ranges.end()) { status->status = InvalidArgument("Output arg '", arg_name, "' not found"); return -1; } return iter->second.second - iter->second.first; } int TF_OperationNumInputs(TF_Operation* oper) { return oper->node.num_inputs(); }
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
auto iter = builder->attr_names.insert(attr_name).first; builder->Set(*iter, static_cast<tensorflow::DataType>(value)); } void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder, const char* attr_name, const TF_DataType* values, int num_values) { auto iter = builder->attr_names.insert(attr_name).first;
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_experimental.cc
return; } std::vector<tensorflow::CoordinatedTask> task_vec(tasks.length); auto* task_iter = static_cast<const tensorflow::CoordinatedTask*>(tasks.data); for (size_t i = 0; i < tasks.length; ++i) { task_vec[i].set_job_name(task_iter->job_name()); task_vec[i].set_task_id(task_iter->task_id()); ++task_iter; } auto results = coord_agent->GetTaskState(task_vec); if (!results.ok()) {
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/gradients.cc
const ForwardOperation& op, std::unique_ptr<GradientFunction>* gradient_function) const { auto iter = registry_.find(op.op_name); if (iter == registry_.end()) { const string error_msg = "No gradient defined for op: " + op.op_name + "."; return errors::NotFound(error_msg); } gradient_function->reset(iter->second(op)); return absl::OkStatus(); }
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/c_api_function_test.cc
for (const OpDef::ArgDef& arg : fdef.signature().output_arg()) { const auto& iter = fdef.ret().find(arg.name()); if (iter != fdef.ret().end()) { const auto& v = a_edges.insert({iter->second, arg.name()}); ASSERT_TRUE(v.second) << "Duplicate edge " << iter->second << " -> " << arg.name() << ". fdef: " << fdef.DebugString(); } else {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/grappler/grappler_internal.h
Status Init( const tensorflow::RewriterConfig_CustomGraphOptimizer* config) override { return OkStatus(); } Status Optimize(Cluster* cluster, const GrapplerItem& item, GraphDef* optimized_graph_def) override; ~CGraphOptimizer() override { if (optimizer_.destroy_func != nullptr) { (*optimizer_.destroy_func)(c_optimizer_); } } private:
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler_test.cc
} TEST(TF_GrapplerItem, NodesToPreserve) { GrapplerItem item; item.fetch = std::vector<string>{"Conv", "BiasAdd"}; std::unordered_set<string> nodes_preserved = item.NodesToPreserve(); TF_GrapplerItem* c_item = reinterpret_cast<TF_GrapplerItem*>(&item); int list_total_size = 0; for (const string& s : nodes_preserved) { list_total_size += s.size(); }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/env.h
TF_Status* status); // Retrieves the next item from the given TF_StringStream and places a pointer // to it in *result. If no more items are in the list, *result is set to NULL // and false is returned. // // Ownership of the items retrieved with this function remains with the library. // Item points are invalidated after a call to TF_StringStreamDone.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
ci/devinfra/docker_windows/Dockerfile
# Install Visual C++ Redistributable for Visual Studio 2015-2022. RUN New-Item -Path "C:/" -Name "TEMP" -ItemType "directory"; \ Invoke-WebRequest "https://aka.ms/vs/17/release/vc_redist.x64.exe" \ -OutFile C:/TEMP/vc_redist.x64.exe -UseBasicParsing; \ Start-Process -filepath C:/TEMP/vc_redist.x64.exe -ArgumentList '/install', '/passive', '/norestart' -Wait; \ Remove-Item C:/TEMP/vc_redist.x64.exe
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 18 17:24:20 GMT 2023 - 13.6K bytes - Viewed (0)