Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addTasks (0.19 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

      applyTensorflowAndCLOptions(manager);
      manager.addPass(mlir::TF::CreatePrepareTpuComputationForTfExportPass());
      manager.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional());
      manager.addPass(mlir::TF::CreateTFShapeInferencePass());
      manager.addNestedPass<mlir::func::FuncOp>(
          mlir::CreateFunctionalToExecutorDialectConversionPass());
      manager.addPass(mlir::CreateBreakUpIslandsPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

        output_mlir_type = input_mlir_type;
      }
    
      tensorflow::AddQuantizationPasses(mlir::TFL::PassConfig(quant_specs), pm);
      pm.addPass(TFL::CreateModifyIONodesPass(input_mlir_type, output_mlir_type));
      // If the first or final ops are not quantized, remove QDQ.
      pm.addPass(TFL::CreatePostQuantizeRemoveQDQPass());
      if (failed(pm.run(module.get()))) {
        const std::string err(statusHandler.ConsumeStatus().message());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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)
Back to top