Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for unfold_batchmatmul (0.39 sec)

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

          mlir::TFL::CreateOptimizeOpOrderPass());
      // Add optimization pass after quantization for additional fusing
      // opportunities.
    
      if (!pass_config.unfold_batch_matmul) {
        // Enable an optimization pass that transforms FC to BatchMatmul only when
        // `unfold_batch_matmul=false`.
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreateOptimizeBatchMatmulPass());
      }
    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/transforms/prepare_tf.cc

      PrepareTFPass() = default;
      PrepareTFPass(const PrepareTFPass &) {}
      explicit PrepareTFPass(bool unfold_batch_matmul,
                             bool allow_bf16_and_f16_type_legalization,
                             bool use_fake_quant_num_bits = false) {
        this->unfold_batch_matmul_ = unfold_batch_matmul;
        this->allow_bf16_and_f16_type_legalization_ =
            allow_bf16_and_f16_type_legalization;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

        // function.
        // And in fact, we probably need to do the proper legalization, for the
        // compute cost to work. (in case we added some TF ops)
        pass_manager->addPass(mlir::TFL::CreatePrepareTFPass(
            /*unfold_batch_matmul=*/true,
            /*allow_bf16_and_f16_type_legalization=*/false));
        pass_manager->addNestedPass<mlir::func::FuncOp>(
            mlir::createCanonicalizerPass());
        pass_manager->addPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeBatchMatmulPass();
    
    // Creates an instance of the TensorFlow Lite dialect PrepareTF pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareTFPass(
        bool unfold_batch_matmul, bool allow_bf16_and_f16_type_legalization,
        bool use_fake_quant_num_bits = false);
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareTFPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top