- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 123 for getOperation (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc
/*Truncate=*/builder->getBoolAttr(false)); } operands.push_back(val); } return builder->create<func::CallOp>(loc, fn, operands).getOperation(); } // Prepares for jump to the given block by introducing necessary tensor_cast // operations and returning Values of types required by the block. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 13 11:42:59 UTC 2023 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
} } } void TpuV1BridgeExecutorIslandCoarsening::runOnOperation() { SymbolTable symbol_table(getOperation()); // Map tpu cluster names to the functions that contain operations for this // cluster. DenseMap<StringRef, DenseSet<func::FuncOp>> tpu_funcs; for (func::FuncOp func_op : getOperation().getOps<func::FuncOp>()) { func_op.walk([&](Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
func.getAllResultAttrs(tmp); for (const auto& res : tmp) { result_attrs.push_back(res.getValue().vec()); } } mlir::Builder builder(func.getOperation()); for (OpOperand& operand : fetch.getOperation()->getOpOperands()) { if (mlir::isa<tf_executor::ControlType>(operand.get().getType())) break; auto it = value_to_device.find(operand.get()); if (it != value_to_device.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
auto parallel_execute = llvm::dyn_cast<tf_device::ParallelExecuteOp>( execute_launch->getParentOp()); Operation* execute_parent = parallel_execute ? parallel_execute.getOperation() : execute_launch; // Collect all operands of `execute` whose defining ops are variable reads // that might get merged, and add relevant information to `var_access_info`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/dispatcher.go
// Ignore context cancelled from webhook metrics if !errors.Is(err.Reason, context.Canceled) { admissionmetrics.Metrics.ObserveWebhookRejection(ctx, hook.Name, "validating", string(versionedAttr.Attributes.GetOperation()), admissionmetrics.WebhookRejectionCallingWebhookError, int(err.Status.ErrStatus.Code)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 20:24:12 UTC 2023 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
new_ewise_op->getLoc(), op->getResult(0).getType(), new_ewise_op->getResults()[0], perm); rewriter.replaceOp(op, out_tpose_op.getOperation()); return success(); } }; void PushTransposeThroughEwisePass::runOnOperation() { auto module = getOperation(); RewritePatternSet patterns(&getContext()); patterns.add<CommuteTransposeWithEwiseOps>(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
// to yield. ReplaceRegionWithCall(GetName(while_op.getOperation(), "_cond"), while_op.getCond(), false, num_loop_carried, extern_values, types, while_op.getLoc()); ReplaceRegionWithCall(GetName(while_op.getOperation(), "_body"), while_op.getBody(), true, num_loop_carried,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go
if code > 600 { code = 600 } m.webhookRequest.WithContext(ctx).WithLabelValues(name, stepType, string(attr.GetOperation()), strconv.Itoa(code), strconv.FormatBool(rejected)).Inc() m.webhook.observe(ctx, elapsed, name, stepType, string(attr.GetOperation()), strconv.FormatBool(rejected)) } // ObserveWebhookRejection records admission related metrics for an admission webhook rejection.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 17:01:40 UTC 2023 - 15.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
mlir::tf_device::LaunchOp launch = CreateLaunchForBlock( builder, cluster, /*before=*/false, launch_block, host_device); auto operand_not_in_launch = [&](mlir::OpOperand& operand) { return !launch.getOperation()->isProperAncestor(operand.getOwner()); }; for (auto result : llvm::zip(launch.GetBody().getTerminator()->getOperands(), launch.getResults()))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
auto stats_op = b.create<quantfork::StatisticsOp>( b.getUnknownLoc(), res, layer_stats, axis_stats, axis); res.replaceAllUsesWith(stats_op); stats_op.getOperation()->replaceUsesOfWith(stats_op, res); } void ImportQuantStatsPass::ImportAsStatsOps(OpBuilder b, Operation *op, int index,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0)