- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for GetOperation (0.37 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc
<< "Found call to inline: " << *call_op.getOperation() << "\n"); auto call_interface = cast<CallOpInterface>(call_op.getOperation()); auto called_func = dyn_cast_or_null<func::FuncOp>(call_interface.resolveCallable()); if (failed(inlineCall(inliner, call_interface, cast<CallableOpInterface>(called_func.getOperation()), called_func.getCallableRegion(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference_pass.cc
input_shapes_ = input_shapes_vec; } auto failure_or_converged = InferModuleShape( getOperation(), max_iterations_, /*ops_to_skip=*/{}, input_shapes_); if (failed(failure_or_converged)) return signalPassFailure(); if (!failure_or_converged.value()) { getOperation().emitError() << "shape inference pass did not reach convergence after " << max_iterations_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/move_tpu_compile_to_front.cc
if (op->hasAttr("_wraps_compilation")) return 1; // Followed by everything else. return 0; } void MoveTpuCompileToFrontPass::runOnOperation() { MarkCompilationOps(getOperation()); getOperation().walk([](Operation* op) { for (Region& region : op->getRegions()) { for (Block& block : region.getBlocks()) { if (block.empty()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 17 00:26:18 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc
// order of ops in tf_executor.graph. LogicalResult LiftIslandOpInnerOpsFromGraph(tf_executor::GraphOp graph) { auto graph_position = graph.getOperation()->getIterator(); Block* parent_block = graph.getOperation()->getBlock(); for (Operation& op : graph.GetBody().without_terminator()) { auto island_op = llvm::dyn_cast<tf_executor::IslandOp>(op); if (!island_op) return op.emitOpError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc
if (!op.isPrivate()) return; auto call = llvm::dyn_cast<CallableOpInterface>(op.getOperation()); if (!call) return; Region* region = call.getCallableRegion(); if (!region) return; // happens e.g. for external functions auto func = llvm::dyn_cast<FunctionOpInterface>(op.getOperation()); if (!func || do_not_touch.count(func)) return; llvm::BitVector unused_args(func.getNumArguments());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
func::FuncOp callee = from.lookup<func::FuncOp>(symbol_ref.getValue()); callee.getOperation()->getBlock()->getOperations().remove( callee.getOperation()); to.insert(callee); } void TPUBridgeExecutorIslandOutlining::runOnOperation() { MLIRContext *ctx = &getContext(); SymbolTable symbol_table(getOperation()); if (Operation *nested_module = symbol_table.lookup(kNestedModule)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc
void LaunchToDeviceAttributePass::runOnOperation() { const Dialect* tf_dialect = getContext().getLoadedDialect("tf"); if (!tf_dialect) { getOperation().emitError() << "'tf' dialect is not registered"; return signalPassFailure(); } auto result = getOperation().walk([&tf_dialect](tf_device::LaunchOp launch) { if (failed(HoistOpsAndAnnotateWithDevice(tf_dialect, launch))) return WalkResult::interrupt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go
} if evalResult.EvalResult == celtypes.False { admissionmetrics.Metrics.ObserveMatchConditionEvaluationTime(ctx, time.Since(t), m.objectName, m.matcherKind, m.matcherType, string(versionedAttr.GetOperation())) // If any condition false, skip calling webhook always return MatchResult{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc
auto call = llvm::cast<CallOpInterface>(pcall_op.getOperation()); auto callee = llvm::cast<FuncOp>(call.resolveCallable(&symbol_table_collection)); callee->setAttr(noinline_attr_name, builder.getBoolAttr(true)); } return mlir::success(); } void XlaClusterFormationPass::runOnOperation() { ModuleOp module = getOperation(); SymbolTableCollection symbol_table_collection;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 19:09:44 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc
int64_t total_size_transferred = 0; for (auto input : to_graph.getOperands()) { Operation* input_op = input.getDefiningOp(); if (input_op && input_op == from_graph.getOperation()) { auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType()); if (input_type == nullptr || !input_type.hasStaticShape()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0)