- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getParentOp (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
llvm::SetVector<Value> bcasts; cluster->walk([&](Operation* op) { if (op == cluster) return WalkResult::advance(); for (auto operand : op->getOperands()) { Operation* scope = operand.getParentBlock()->getParentOp(); if (scope->isProperAncestor(replicate)) { bcasts.insert(operand); } } return WalkResult::advance(); }); OpBuilder builder(replicate);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
const std::string& name, Region* region, const int index) { const auto control_edges = ExtractControlEdges(®ion->front()); bool has_input_attr = false; if (auto fn = dyn_cast<FuncOp>(region->getParentOp())) { InitializeNamesFromAttribute(fn, &has_input_attr); } std::vector<BufferOffset<tflite::Tensor>> tensors; llvm::DenseMap<Value, int> tensor_index_map;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
add_to_worklist(branch->getArgument(use.getOperandNumber())); continue; } if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) { Operation* parent = yield->getParentOp(); add_to_worklist(parent->getResult(use.getOperandNumber())); continue; } // TODO(jpienaar): This can be generalized.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)