Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateLegalizeVariablesPass (0.74 sec)

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

        populateWithGenerated(patterns);
        (void)applyPatternsAndFoldGreedily(module, std::move(patterns));
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeVariablesPass() {
      return std::make_unique<LegalizeVariablesPass>();
    }
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeJaxRandomPass();
    
    // Creates a pass which is responsible for legalizing TensorFlow variables to
    // TensorFlow Lite variables.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeVariablesPass();
    
    // Creates a pass which analyze the model whether it is safe to use
    // native TFLite variables or not.
    std::unique_ptr<OperationPass<ModuleOp>> CreateAnalyzeVariablesPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

                                            pass_config.preserve_assert_op));
        pass_manager->addPass(mlir::TFL::CreateAnalyzeVariablesPass());
        pass_manager->addPass(mlir::TFL::CreateLegalizeVariablesPass());
        pass_manager->addPass(mlir::TFL::CreateLegalizeHashTablesPass());
        if (!pass_config.unfold_batch_matmul) {
          // Enable an optimization pass that transforms FC to BatchMatmul only when
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/passes.td

    }
    
    def LegalizeVariablesPass : Pass<"tfl-legalize-variables-tf", "mlir::ModuleOp"> {
      let summary = "Legalize TensorFlow variables to TensorFlow Lite dialect.";
      let constructor = "CreateLegalizeVariablesPass()";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
    }
    
    def LiftTfliteFlexOpsPass : Pass<"tfl-lift-tflite-flex-ops", "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