- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 278 for getOperation (0.18 sec)
-
plugin/pkg/admission/serviceaccount/admission.go
if shouldIgnore(a) { return nil } pod := a.GetObject().(*api.Pod) if a.GetOperation() == admission.Update && a.GetSubresource() == "ephemeralcontainers" { return s.limitEphemeralContainerSecretReferences(pod, a) } if a.GetOperation() != admission.Create { // we only validate pod specs during create requests return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 18.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
return QuantizableOpsInDefaultMode().count(op_name) > 0; } else if (mode_ == kLegacyIntegerMode) { return QuantizableOpsInLegacyMode().count(op_name) > 0; } else { mlir::emitError(getOperation().getLoc(), "Unregconized mode: " + mode_); signalPassFailure(); return true; } } // Converts the operation to a TFLite Flex op. bool ConvertToFlexOp(Operation *op); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/colocate_tpu_copy_with_dynamic_shape.cc
void visitCallOperand(OpOperand &operand) override {} void setToExitState(Device *lattice) override {} }; void ColocateTPUCopyWithDynamicShapePass::runOnOperation() { Operation *module = getOperation(); SymbolTableCollection symbolTables; DataFlowSolver solver; solver.load<dataflow::DeadCodeAnalysis>(); solver.load<dataflow::SparseConstantPropagation>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 00:30:27 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc
op->getLoc(), resource.getType(), container, shared_name); } op->setOperand(0, resource_op->getResult(0)); } void LocalizeVarHandlesPass::runOnOperation() { auto module = getOperation(); DataFlowSolver solver; solver.load<dataflow::DeadCodeAnalysis>(); solver.load<dataflow::SparseConstantPropagation>(); TF::LoadResourceDataflowAnalysis(solver);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc
} }; #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.inc" void PostQuantizePass::runOnOperation() { RewritePatternSet patterns(&getContext()); auto func = getOperation(); auto* ctx = func.getContext(); patterns.add<FoldTrivalRequantizeOp<quantfork::QuantizeCastOp>, RemoveVolatileOps<kPreserveNone>, RemoveRedundantScast>(ctx); populateWithGenerated(patterns);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
explicit ConvertXlaCallModuleOpToBfloat16Pass() = default; private: void runOnOperation() override; }; void ConvertXlaCallModuleOpToBfloat16Pass::runOnOperation() { Operation* func_op = getOperation(); SymbolTableCollection symbol_table; OpBuilder builder(&getContext()); auto result = func_op->walk([&](TF::XlaCallModuleOp op) { // Converts the serialized StableHLO module to bfloat16.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc
return success(); } }; void ConvertTpuModelToCpuPass::runOnOperation() { MLIRContext* ctx = &getContext(); RewritePatternSet patterns(ctx); ModuleOp module_op = getOperation(); patterns.add<ReplaceTpuPartitionedCallOpWithPartitionedCallOp, ReplaceBatchFunctionOpToPartitionedCallOp>(ctx); patterns.add<RemoveTpuOp>(ctx); patterns.add<RemoveIdentity>(ctx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc
setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); std::string expected_txt_module; { llvm::raw_string_ostream os(expected_txt_module); module_ref->getOperation()->print(os, mlir::OpPrintingFlags().useLocalScope()); os.flush(); } std::string filepath = DumpMlirOpToFile("module", module_ref.get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 18 13:40:21 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
if (!body->findAncestorOpInBlock(*user)) use.set(new_ret); } } // Move ops that depend on something in the cluster behind the cluster. Operation* op_after_cluster = cluster.getOperation()->getNextNode(); for (Operation* op : cluster_successor_ops) op->moveBefore(op_after_cluster); return cluster; } // Returns an op of the given type that uses the result, along with
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc
void ConvertCustomAggregationOpToQuantStatsPass::runOnOperation() { MLIRContext *ctx = &getContext(); RewritePatternSet patterns(ctx); func::FuncOp func = getOperation(); patterns.add<ConvertCustomAggregationOpToQuantStats>(ctx); if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) { func.emitError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.8K bytes - Viewed (0)