Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tfl_fuse_tftext_ (0.19 sec)

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

    void PrepareCompositeFunctionsPass::ConvertTFImplementsWithAttributes(
        func::FuncOp func, FuncAttr attr) {
      StringRef api_name = attr.getName().getLeafReference().getValue();
      bool enable_fuse_tftext =
          tfl_fuse_tftext_ || IsTFTextRegistered(tensorflow::OpRegistry::Global());
      if (api_name.starts_with(kTFTextAPIPrefix) && enable_fuse_tftext) {
        if (failed(ConvertTFTextAPI(func, api_name, attr))) {
          return signalPassFailure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.td

          body with the corresponding fused TFLite op. The replacement need not
          always be a fused op, though that is the primary use case.
      }];
      let options = [
          Option<"tfl_fuse_tftext_", "fuse-tftext", "bool", "false",
                 "Fuse TF.Text API ops when it's true">
      ];
    
    }
    
    def PrepareQuantizePass : Pass<"tfl-prepare-quantize", "mlir::func::FuncOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top