- Sort Score
- Result 10 results
- Languages All
Results 21 - 25 of 25 for addNestedPass (0.17 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
mlir::stablehlo::deserializePortableArtifact(serialized_stablehlo_module, &context); // Convert the StableHLO module to bfloat16. PassManager pm(&context); pm.addNestedPass<func::FuncOp>(createConvertFuncToBfloat16Pass()); if (failed(pm.run(stablehlo_module_op.get()))) { return absl::InternalError( "Failed to convert 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/tf2xla/transforms/verify_tfxla_legalization_test.cc
TF_ASSERT_OK_AND_ASSIGN(module_, GetMlirModuleFromString(module_string, &context_)); pm_ = std::make_unique<mlir::PassManager>(&context_); pm_->addNestedPass<mlir::func::FuncOp>( mlir::mhlo::CreateVerifyTFXLALegalizationPass(/*legalize_chlo=*/false)); } mlir::LogicalResult Run() { return pm_->run(module_.get()); } private: MLIRContext context_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc
// by aligning with the TF/XLA bridge on the corresponding functionality and // reusing their work, perhaps through `LowerToMlProgramAndHlo`. pm.addNestedPass<func::FuncOp>(std::make_unique<TFToMhloPass>( options.skip_quantization_ops, options.skip_resize, options.skip_partitioned_calls)); pm.addPass(mlir::createCanonicalizerPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 10:49:12 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc
// new passes generally should go into the internal // AddReplicatedBridgeClusteringPipelinePasses. pm.addPass(mlir::TFTPU::CreateTPUValidateInputsPass()); pm.addNestedPass<FuncOp>( mlir::TF::CreateCanonicalizeCompileAndReplicateAttributesPass()); tensorflow::tf2xla::internal::AddReplicatedBridgeClusteringPipelinePasses( pm, module_name); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 8.7K bytes - Viewed (0)