- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for worklist (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
absl::flat_hash_set<Region*> regions_with_token; while (!worklist.empty()) { Operation* op = worklist.back(); worklist.pop_back(); Region* region = op->getParentRegion(); regions_with_token.insert(region); // If the parent is not a FuncOp, then add the parent op containing a region // to worklist. Operation* parent = region->getParentOp(); if (!isa<func::FuncOp>(parent)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
op_results_constraints[op].Insert(value, constraint); } // Keep a worklist of operations that need their constraints to be updated. llvm::SetVector<Operation *> worklist; for (Operation *op : root) worklist.insert(op); while (!worklist.empty()) { Operation *op = worklist.pop_back_val(); // Use results constraints to infer operands constraints.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc
std::vector<IslandOp>& path) { std::queue<IslandOp> worklist; // Stores predecessor pointers. IslandToIslandHashMap pred_map; // BFS starting from `source_op`, stop when `target_op` is reached. worklist.push(source_op); while (!worklist.empty()) { IslandOp curr_op = worklist.front(); worklist.pop(); if (curr_op == target_op) break;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
void RegionControlFlowToFunctional::runOnOperation() { ModuleOp module = getOperation(); SymbolTableCollection symbol_table; // Seed worklist with all functions in the module. worklist = llvm::to_vector<4>(module.getOps<func::FuncOp>()); while (!worklist.empty()) { func::FuncOp function = worklist.pop_back_val(); auto result = function.walk([&](Operation* op) { if (auto if_region = llvm::dyn_cast<IfRegionOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp.go
// need all uses of it, only uses that can become constants would be added into // re-visit worklist since no matter how many times they are revisited, uses which // can't become constants lattice remains unchanged, i.e. Bottom. func (t *worklist) buildDefUses() { for _, block := range t.f.Blocks { for _, val := range block.Values { for _, arg := range val.Args {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:54:50 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
} // If the callee recording is modified, make sure that it will be // reprocessed. if (callee_needs_recompute) worklist.insert(callee); } return success(); }; while (!worklist.empty()) { auto func_op = worklist.pop_back_val(); auto& func_res = per_function_results.find(func_op)->getSecond(); // In-function propagation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.h
// quantization parameters have been propagated, a `requantize` will happen // on the input of propagated quantization. // // Returns true, if the users of the result needs to be added to the // worklist. bool SetResultParams(Operation *op, int index, QuantParams params); // Sets the quantization parameters of the operand to a fixed value. If any
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
for (Operation* user : op->getResult(index).getUsers()) { work_list_.push_back(user); } } // Adds the defining op of index-th operand of op to the work list. void AddOperandToList(Operation* op, const int index) { if (Operation* operand_op = op->getOperand(index).getDefiningOp(); operand_op != nullptr) { work_list_.push_back(operand_op); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
} // Erase all control outputs at the end from fetch. fetch.getFetchesMutable().erase( graph_op.getNumResults(), fetch.getNumOperands() - graph_op.getNumResults()); // Iterate the worklist to remove all NoOp control barriers at the end of the // function body that are used to merge two or more control dependencies. while (!control_barrier_worklist.empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
while (!work_list.empty()) { auto work_item = work_list.pop_back_val(); if (visited.contains(work_item)) continue; PropagateUsage(work_item.first, value, work_item.second, &work_list, arguments_to_erase); visited.insert(work_item); } } // Returns ID for identifying a resource. std::tuple<llvm::StringRef, llvm::StringRef, llvm::StringRef> GetResourceKey(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0)