Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateImportQuantStatsPassForTFControlDialect (0.48 sec)

  1. tensorflow/compiler/mlir/lite/quantization/quantization_passes.h

    // the function. A custom method to get the name from the op is used because
    // different dialect ops might have different ways to assign the name.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateImportQuantStatsPassForTFControlDialect(const std::string& stats_str);
    
    }  // namespace quant
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

    // the function. A custom method to get the name from the op is used because
    // different dialect ops might have different ways to assign the name.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateImportQuantStatsPassForTFControlDialect(const std::string &stats_str) {
      auto get_name_func = [](Operation *op) {
        Location loc = tensorflow::GetLocationWithoutOpType(op->getLoc());
        if (auto name = loc.dyn_cast<NameLoc>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // inference for non-tf ops.
      if (!pass_config.quant_specs.serialized_quant_stats.empty()) {
        pass_manager->addNestedPass<mlir::func::FuncOp>(
            mlir::quant::CreateImportQuantStatsPassForTFControlDialect(
                pass_config.quant_specs.serialized_quant_stats));
      }
    
      pass_manager->addPass(mlir::TF::CreateTFFunctionalControlFlowToRegions());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top