- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 118 for GetOperation (0.13 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
GetStrArrayAttr(builder, sharding_for_rets)); return mlir::success(); } void TPUShardingIdentificationPass::runOnOperation() { Builder builder(getOperation().getContext()); auto result = getOperation().walk([&](mlir::tf_device::ClusterFuncOp cluster_func) { if (failed( IdentifyXlaShardingForTPUComputation(&builder, cluster_func))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
} #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.inc" void PrepareLiftingPass::runOnOperation() { MLIRContext* ctx = &getContext(); auto func = getOperation(); // The pattern includes decomposing batch normalization ops, fusing add/mul // with a constant operand to a preceding affine operation. RewritePatternSet patterns(ctx); populateWithGenerated(patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
operand.assign(orig_to_new[operand.get()]); } } return WalkResult::advance(); }); return success(); } void XlaBroadcast::runOnOperation() { FuncOp func = getOperation(); mlir::ModuleOp module = func->getParentOfType<mlir::ModuleOp>(); if (!module) return signalPassFailure(); func.walk([&](ClusterOp cluster) { if (auto replicate = cluster->getParentOfType<ReplicateOp>()) {
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/tensorflow/transforms/decompose_reduce_dataset.cc
return WalkResult::advance(); }); return failure(decompose_result.wasInterrupted()); } void DecomposeReduceDatasetPass::runOnOperation() { if (failed(DecomposeReduceDatasetInFunction(getOperation()))) { return signalPassFailure(); } } } // anonymous namespace std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeReduceDatasetPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission.go
items, err := l.lister.LimitRanges(a.GetNamespace()).List(labels.Everything()) if err != nil { return nil, admission.NewForbidden(a, fmt.Errorf("unable to %s %v at this time because there was an error enforcing limit ranges", a.GetOperation(), a.GetResource())) } // if there are no items held in our indexer, check our live-lookup LRU, if that misses, do the live lookup to prime it. if len(items) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 13:04:39 UTC 2023 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go
Version: requestGVR.Version, }, RequestSubResource: requestSubResource, Name: attr.GetName(), Namespace: attr.GetNamespace(), Operation: admissionv1.Operation(attr.GetOperation()), UserInfo: userInfo, // Leave Object and OldObject unset since we don't provide access to them via request DryRun: &dryRun, Options: runtime.RawExtension{ Object: attr.GetOperationOptions(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc
void LiftQuantizableSpotsAsFunctionsPass::runOnOperation() { MLIRContext* ctx = &getContext(); RewritePatternSet patterns(ctx); ModuleOp module = getOperation(); populateWithGenerated(patterns); patterns.add<CheckQuantizableOps>(ctx, quant_options_); FrozenRewritePatternSet frozen_patterns(std::move(patterns));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
// FIXME(b/226139061): Figure out a way to share the channel_id with // send/recv Ops. For now, start with a different range to avoid collision. int64_t channel_id = 10000; auto module = getOperation(); MLIRContext* context = module->getContext(); RewritePatternSet patterns(context); patterns.insert<ConvertCollectiveAssignGroupV2>(context, &channel_id);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
absl::StrCat(init_type, "_", init_func_ops.getName().str()); return NameLoc::get(StringAttr::get(ctx, name)); } void MergeInitializerFunctionOpsToMainPass::runOnOperation() { ModuleOp module_op = getOperation(); MLIRContext* ctx = module_op.getContext(); func::FuncOp main_func_op = FindMainFuncOp(module_op); if (!main_func_op) { module_op.emitError("Main function op not found.");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
// `original_result` has a use to `quantize`, so this will replace that use // by the result of `dequantize`. Remember to reset that use afterwards value.replaceAllUsesWith(dequantize); quantize.getOperation()->replaceUsesOfWith(dequantize, value); } void QuantizationDriver::RequantizeOpResult(Operation* op, const int result_index,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0)