Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,430 for addPass (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/mlprogram.cc

          /*prefer_tf2xla=*/false));
    
      pm.addPass(mlir::TF::CreateStripTfAttributesPass());
    
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::createInlinerPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
    
      pm.addPass(mlir::TF::CreateOrderByDialectPass());
    
      pm.addPass(mlir::mhlo::createHloLegalizeToStablehloPass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

              ->tf_mlir_enable_merge_control_flow_pass) {
        pm.addPass(mlir::TFDevice::CreateMergeControlFlowPass());
      }
    
      pm.addPass(
          tensorflow::tf2xla::internal::CreateMarkOpsForOutsideCompilationPass());
      pm.addPass(tensorflow::tf2xla::internal::
                     CreateExtractHeadTailOutsideCompilationPass());
      pm.addPass(
          tensorflow::tf2xla::internal::CreateExtractOutsideCompilationPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

      pm.addPass(createQuantizeCompositeFunctionsPass(options));
    
      // Add an inliner pass to inline quantized StableHLO functions.
      pm.addPass(createInlinerPass());
      if (pipeline_config.unpack_quantized_types()) {
        AddStablehloQuantToIntPasses(pm);
      }
    }
    
    void AddXlaCallModuleOpDeserializationPasses(OpPassManager& pm) {
      pm.addPass(TF::CreateXlaCallModuleDeserializationPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

          tf_executor::CreateTFExecutorIslandCoarseningPass());
      pm.addPass(TF::CreateTFFunctionalControlFlowToRegions());
      pm.addPass(mlir::createInlinerPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

                               llvm::ArrayRef<std::string> device_specs) {
      pass_manager->addPass(mlir::TFL::tac::CreateTargetAnnotationPass(this));
      pass_manager->addPass(mlir::TFL::tac::CreateRaiseTargetSubgraphsPass());
      pass_manager->addPass(mlir::TFL::tac::CreateFoldConstantsToSubgraphPass(
          /*fold_all_constants=*/false));
      pass_manager->addPass(
          mlir::TFL::tac::CreateAlternativeSubgraphPass(device_specs));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

          toco_flags.tf_quantization_mode().empty()) {
        pass_manager->addPass(mlir::TFL::CreatePrepareCompositeFunctionsPass());
      }
    
      pass_manager->addPass(mlir::createInlinerPass());
      pass_manager->addPass(mlir::createSymbolDCEPass());
    
      if (pass_config.legalize_custom_tensor_list_ops) {
        pass_manager->addPass(mlir::TFL::CreateLegalizeTensorListPass());
      }
    
      if (pass_config.lower_tensor_list_ops &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc

          quantization_options.enable_legacy_weight_only(), mlir_dump_file_prefix));
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass());
    
      // TODO: b/264637396 - Deprecate TF opset
      if (quantization_options.op_set() != OpSet::TF) {
        pm.addPass(mlir::createInlinerPass());
        pm.addPass(mlir::TF::CreateTFShapeInferencePass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      pm.addPass(mlir::TF::CreateTFFunctionalControlFlowToRegions());
      pm.addPass(mlir::createInlinerPass());
      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
      // Propagates shapes on the TensorFlow graph.
      pm.addPass(mlir::TF::CreateTFShapeInferencePass(input_arg_shapes));
      pm.addPass(mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.cc

          /*add_passes_func=*/
          [](mlir::PassManager &pm) {
            pm.addPass(mlir::quant::CreateInsertRestoreOpPass());
            pm.addPass(mlir::quant::CreateInsertSaveOpPass());
            // Initialization by `tf.ConstOp` is no longer required as there is
            // a `tf.RestoreV2Op` now.
            pm.addPass(
                mlir::quant::CreateRemoveVariableInitializationByConstPass());
          },
          ctx, module_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 11:07:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

      pm.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional());
      add_pass(mlir::CreateFunctionalToExecutorDialectConversionPass());
      add_pass(mlir::TFDevice::CreateReplicateToIslandPass(
          /*legacy_graph_export=*/true));
      add_pass(mlir::TFDevice::CreateReplicaIDToDeviceOrdinalPass());
      add_pass(mlir::TFDevice::CreateParallelExecuteToIslandsPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top