Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for allow_bf16_and_f16_type_legalization_ (0.65 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

      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;
        this->use_fake_quant_num_bits_ = use_fake_quant_num_bits;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.td

      ];
      let options = [
          Option<"unfold_batch_matmul_", "unfold_batchmatmul",
                 "bool", "true",
                 "Unfold BatchMatMul into individual MatMul ops.">,
          Option<"allow_bf16_and_f16_type_legalization_", "allow-bf16-and-f16-type-legalization",
                 "bool", "false",
                 "Allow bf16 type legalization.">,
          Option<"use_fake_quant_num_bits_", "use-fake-quant-num-bits",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc

        // 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(
            mlir::TFL::CreateLegalizeTFPass(/*run_tfl_runtime_verification=*/true));
    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

    // 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();
    
    // Creates an instance of the TensorFlow Lite dialect LowerStaticTensorList
    // pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        // the TFLite dialect.
        pass_manager->addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreatePrepareTFPass(pass_config.unfold_batch_matmul,
                                           /*allow_bf16_and_f16_type_legalization=*/
                                           !pass_config.runtime_verification,
                                           toco_flags.use_fake_quant_num_bits()));
        pass_manager->addNestedPass<mlir::func::FuncOp>(
    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