Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for addNestedPass (0.13 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        pass_manager.addPass(mlir::TFL::CreatePrepareQuantizeVariablesPass());
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreateQuantizePass(quant_specs));
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreatePostQuantizePass(emit_quant_adaptor_ops));
      }
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateOptimizeOpOrderPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

      // on TPU.
    
      // Optimizes TF graph via cleanups, merges, rewrites, constant folding,
      // and edge case handling where possible.
      pm.addNestedPass<func::FuncOp>(TF::CreateDropWhileShapeInvariantPass());
      pm.addNestedPass<func::FuncOp>(
          tf_executor::CreateTFExecutorGraphPruningPass());
      pm.addNestedPass<func::FuncOp>(
          tf_executor::CreateTFExecutorIslandCoarseningPass());
      pm.addPass(TF::CreateTFFunctionalControlFlowToRegions());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc

        pm.addPass(mlir::TF::CreateTFShapeInferencePass());
        pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
        if (quantization_options.op_set() == OpSet::XLA) {
          pm.addNestedPass<mlir::func::FuncOp>(
              mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass());
        }
        pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass());
      }
      pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      pm.addNestedPass<FuncOp>(
          mlir::TFDevice::CreateVerifyNoOutsideCompilationMarkersPass());
    
      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateClusterConstantSinkingPass());
      pm.addPass(mlir::TF::CreateResourceDeviceInferencePass());
      pm.addNestedPass<FuncOp>(
          tensorflow::tf2xla::internal::CreateHoistBroadcastReadPass());
      pm.addNestedPass<FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

      pm.addNestedPass<func::FuncOp>(mhlo::createMhloQuantLegalizeToIntPass());
      pm.addNestedPass<func::FuncOp>(createCanonicalizerPass());
      // Integer graph optimization relies on chlo broadcast ops for easier handling
      // of dynamic shapes. Therefore we lower chlo ops after optimization.
      pm.addNestedPass<func::FuncOp>(CreateOptimizeIntGraphPass());
      pm.addNestedPass<func::FuncOp>(mhlo::createChloLegalizeToHloPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createLegalizeEinsumToDotGeneralPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createLegalizeDotToDotGeneralPass());
      // Unfuse mhlo BatchNorm to primitive ops.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::odml::createUnfuseBatchNormPass());
      // Fuse Conv + Mul to Conv.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.cc

      pm.addNestedPass<mlir::func::FuncOp>(CreateConvertTFQuantOpsToMHLOPass());
      pm.addNestedPass<mlir::func::FuncOp>(mhlo::createChloLegalizeToHloPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mhlo::createMhloQuantLegalizeToIntPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

      // First, we need to convert from functional, to executor dialect.
      pm.addNestedPass<FuncOp>(
          mlir::CreateFunctionalToExecutorDialectConversionPass());
    
      // Do a single pass to split the graph's single island op into an island per
      // op as expected by the following passes.
      pm.addNestedPass<FuncOp>(mlir::TF::CreateSplitIntoIslandPerOpPass());
    
      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateReplicateToIslandPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

          /*legacy_graph_export=*/true));
      add_pass(mlir::TFDevice::CreateLaunchToDeviceAttributePass(
          /*legacy_graph_export=*/true));
      pm.addNestedPass<FuncOp>(mlir::TFTPU::CreateTPUDevicePropagationPass());
      pm.addNestedPass<FuncOp>(mlir::TFTPU::CreateTPUColocateSplitsPass());
      pm.addPass(mlir::createSymbolDCEPass());
      if (tensorflow::GetMlirCommonFlags()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

      if (enable_inliner) pass_manager->addPass(mlir::createInlinerPass());
      pass_manager->addPass(mlir::createSymbolDCEPass());
      pass_manager->addNestedPass<mlir::func::FuncOp>(
          mlir::createCanonicalizerPass());
      pass_manager->addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass());
    }
    }  // namespace
    
    // TODO(b/177376459): We should make this configureable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top