- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for addTasks (0.19 sec)
-
tensorflow/compiler/mlir/lite/sparsity/sparsify_model.cc
LOG(ERROR) << "Couldn't import flatbuffer to MLIR."; return absl::InternalError("Couldn't import flatbuffer to MLIR."); } PassManager pm((*module)->getName(), OpPassManager::Nesting::Implicit); pm.addPass(TFL::CreateDenseToSparsePass()); if (failed(pm.run(module.get()))) { LOG(ERROR) << "Failed to sparsify: " << statusHandler.ConsumeStatus().message(); return absl::InternalError(absl::StrCat(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:16:40 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc
ParseTextProto(GetQuantizationSpecsTextProto(quantization_specs_)); if (!quantization_specs.ok()) { signalPassFailure(); return; } pass_manager.addPass( CreateLiftQuantizableSpotsAsFunctionsPass(*quantization_specs)); if (failed(pass_manager.run(getOperation()))) { signalPassFailure(); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc
// For the normal case, this should be always FALSE. // This `allow_tf` logic should be removed after the backend supports tf. optional_accepted_dialects.push_back("tf"); } pm.addPass( mlir::odml::createCheckAcceptedOpsPass(optional_accepted_dialects)); } mlir::odml::AddStablehloOptimizationPasses(pm); if (verbose) { // Print out a detailed report of non-converted stats.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
pm.addPass(std::make_unique<LayoutAssignmentPass>(options.force_data_format)); // Move transposes to the beginning of the block and try to fold them. pm.addPass(std::make_unique<MoveTransposesPass>( MoveTransposeDirection::kBegin, !options.skip_fold_transpose_in_ops)); // Move transposes to the end of the block and try to fold them. pm.addPass(std::make_unique<MoveTransposesPass>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc
// inference pass is also required to resolve unknown shapes in the TF dialect // after variable freezing. mlir::PassManager pm(module_op.getContext()); pm.addPass(mlir::TF::CreateTFShapeInferencePass()); mlir::odml::AddLegalizeTFToStablehloPasses(pm, /*skip_quantization_ops=*/true, /*skip_resize=*/false,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 10:49:12 UTC 2024 - 7.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy
addPluginSource(pluginId, className, """ ${packageName ? "package $packageName" : ""} class $className extends $RuleSource.name { @$Mutate.name void addTask($ModelMap.name<$Task.name> tasks) { tasks.create("fromModelRule") { it.doLast { println "Model rule provided task executed" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc
}); } return RunPasses( /*name=*/ CalibrationComponent::kName, /*add_passes_func=*/ [calibration_data_dir, &skipping_aggregator_ops](PassManager& pm) { pm.addPass(CreateInsertCalibrationStatisticsSaverPass( calibration_data_dir, skipping_aggregator_ops)); }, ctx, module_op); } CalibrationComponent::CalibrationComponent(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc
// TF2-only passes should go here. However, this should be very rare and // new passes generally should go into the internal // AddReplicatedBridgeClusteringPipelinePasses. pm.addPass(mlir::TFTPU::CreateTPUValidateInputsPass()); pm.addNestedPass<FuncOp>( mlir::TF::CreateCanonicalizeCompileAndReplicateAttributesPass()); tensorflow::tf2xla::internal::AddReplicatedBridgeClusteringPipelinePasses(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 8.7K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/TaskReportTask.java
for (String group : model.getGroups()) { renderer.startTaskGroup(group); for (TaskDetails task : model.getTasksForGroup(group)) { renderer.addTask(task); } } renderer.completeTasks(); for (RuleDetails rule : reportModel.rules) { renderer.addRule(rule); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 24 23:13:41 UTC 2022 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
pipeline_opts.sink_in_invariant_ops = false; pipeline_opts.cost_threshold = 1024; pipeline_opts.merge_inter_dependent_streams = true; mlir::PassManager pm(module->getContext()); pm.addPass(CreateTfToTfrtConversionPass(pipeline_opts)); CHECK(mlir::succeeded(pm.run(*module))) << "Failed to lower module to TFRT: " << os.str(); // Convert module to BEF. bef_buffer_ =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0)