- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 278 for getOperation (0.13 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_tf_to_stablehlo_pass.cc
public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestTFToStablehloPass) private: void runOnOperation() override; }; void TestTFToStablehloPass::runOnOperation() { ModuleOp module_op = getOperation(); MLIRContext* ctx = &getContext(); mlir::PassManager pm(ctx); AddTFToStablehloPasses(pm); if (!RunPassesOnModuleOp( /*mlir_dump_file_name=*/"test_tf_to_stablehlo_pass", pm, module_op)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 17:19:36 UTC 2024 - 3.1K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/admission.go
}) return l.convertedOldObject, l.convertedOldObjectError } func (l *lazyConvertingAttributes) GetOperation() admissionv1.Operation { return admissionv1.Operation(l.Attributes.GetOperation()) } func (l *lazyConvertingAttributes) GetUserName() string { return l.GetUserInfo().GetName() } func convert(in runtime.Object) (runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 08:49:11 UTC 2023 - 8.5K bytes - Viewed (0) -
plugin/pkg/admission/certificates/ctbattest/admission.go
// attest check. if newBundle.Spec.SignerName == "" { return nil } // Skip the attest check when the semantics of the bundle are unchanged to support storage migration and GC workflows if a.GetOperation() == admission.Update && rbac.IsOnlyMutatingGCFields(a.GetObject(), a.GetOldObject(), kapihelper.Semantic) { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 16:26:11 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc
// TODO: b/321729008 - move this implementation to quantization_patterns.cc. if (merge_fusion_with_dequantize_) { pm.addPass(createMergeFusionWithDequantizePass()); } ModuleOp module_op = getOperation(); if (const absl::Status pm_run_status = RunPassesOnModuleOp(mlir_dump_file_name_, pm, module_op); !pm_run_status.ok()) { signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
quant::AccumulatorScaleFunc func); quant::QuantParams default_quant_params_; }; } // namespace void DefaultQuantParamsPass::runOnOperation() { func::FuncOp func = getOperation(); OpBuilder builder(func); std::vector<Value> activation_values; std::vector<Value> bias_values; // First of all, collect all the values (block arguments and op results) which
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_validate_inputs.cc
"marker."; return failure(); } } return success(); } void XlaValidateInputsPass::runOnOperation() { ModuleOp module = getOperation(); SymbolTable symtab(module); llvm::SmallVector<func::FuncOp> entry_funcs = GetEntryFunctions(module); if (entry_funcs.empty()) { LOG(WARNING) << "missing entry functions"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 19:29:14 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc
// pass and folders are not applied by default. class UnfoldSplatConstantPass : public impl::UnfoldSplatConstantPassBase<UnfoldSplatConstantPass> { public: void runOnOperation() override { auto module = getOperation(); mlir::OpBuilder op_builder(&module.getBodyRegion()); // Cannot use the pattern rewriter because the driver applies folders by // default. module.walk([&](mhlo::ConstantOp const_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestPostCalibrationComponentPass) private: void runOnOperation() override; }; void TestPostCalibrationComponentPass::runOnOperation() { ModuleOp module_op = getOperation(); MLIRContext& ctx = getContext(); OpPassManager pm(ModuleOp::getOperationName()); QuantizationConfig config = QuantizationConfig::default_instance(); config.mutable_static_range_ptq_preset();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
} } // namespace struct LegalizeStablehloToVhloPass : public impl::LegalizeStablehloToVhloPassBase< LegalizeStablehloToVhloPass> { void runOnOperation() override { ModuleOp module = getOperation(); std::string target_version = tflite_supported_stablehlo_version; VhloToStablehloTypeConverter to_builtin_converter; // StableHLO --> VHLO (allow funcs)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0)