- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 229 for getOperation (0.32 sec)
-
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/quantization/tensorflow/passes/mark_functions_noinline.cc
ListOption<std::string> noinline_functions_; }; void MarkFunctionsNoinlinePass::runOnOperation() { const StringSet<> noinline_functions = GetNoinlineFunctionsSet(); func::FuncOp func_op = getOperation(); Builder builder(&getContext()); // Adds the `tf._noinline = true` attribute to the function if the name // matches. if (noinline_functions.contains(func_op.getSymName())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 18 02:52:57 UTC 2023 - 4.5K 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/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/tensorflow/transforms/freeze_saved_model_assets.cc
this->saved_model_dir = saved_model_dir; } void runOnOperation() override; private: std::string saved_model_dir; }; void FreezeAssetsPass::runOnOperation() { auto module = getOperation(); if (!tf_saved_model::HasTfSavedModelSemantics(module)) { return; } SymbolTable symbol_table(module); for (auto func : module.getOps<func::FuncOp>()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 30 01:12:09 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/interfaces.go
// (because status operates on pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource "binding", and kind "Binding". GetSubresource() string // GetOperation is the operation being performed GetOperation() Operation // GetOperationOptions is the options for the operation being performed GetOperationOptions() runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 28 14:03:18 UTC 2021 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/ConvertConst.cc
newConstOp); return success(); } void ConvertConstPass::runOnOperation() { RewritePatternSet patterns(&getContext()); auto func = getOperation(); auto *context = &getContext(); patterns.add<QuantizedConstRewrite>(context); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); } std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_device_copy_conversion.cc
}; // Folds tf.IdentityOp and tf.IdentityNOp if op device and the argument devices // from the defining ops match. void TensorDeviceCopyConversionPass::runOnOperation() { func::FuncOp func_op = getOperation(); auto should_fold_op_func = [&func_op](const Value &arg, const StringAttr &op_device) { // In TFRT TPU, tensor transfer is handled specifically by D2H and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.3K bytes - Viewed (0)