Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for FuncOp (0.1 sec)

  1. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

    Status HandleInputOutputArraysWithModule(
        const toco::ModelFlags& model_flags,
        mlir::OwningOpRef<mlir::ModuleOp>* module) {
      mlir::func::FuncOp entry_function = nullptr;
      for (auto func : module->get().getOps<mlir::func::FuncOp>()) {
        if (auto tf_attrs =
                func->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function")) {
          // TODO(b/184697652): There could be multiple entry functions. Let's
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

      SymbolTable stablehlo_symbol_table(stablehlo_module);
    
      Builder builder(context);
      StringAttr main_func_name;
      for (auto func : stablehlo_module.getOps<func::FuncOp>()) {
        const bool is_main_func = func.getSymName() == kStablehloMainFunctionName;
        if (tf_symbol_table.lookup(func.getSymName())) {
          if (failed(stablehlo_symbol_table.renameToUnique(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    namespace mlir {
    namespace quant {
    namespace {
    
    using ::tensorflow::quantization::OpSet;
    
    class PrepareLiftingPass
        : public PassWrapper<PrepareLiftingPass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareLiftingPass)
    
      PrepareLiftingPass() = default;
    
      explicit PrepareLiftingPass(OpSet op_set) { op_set_ = op_set; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h

    //   correct execution).
    class SideEffectAnalysisInfo {
     public:
      SideEffectAnalysisInfo() = default;
    
      // Constructs analysis info by analyzing the given function.
      SideEffectAnalysisInfo(func::FuncOp func_op,
                             const OpSideEffectCollector& op_side_effect_collector,
                             const TF::ResourceAliasAnalysis::Info& alias_analysis,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      // Performs conversion of MHLO quant ops to primitive ops.
      void runOnOperation() override;
    };
    
    void ConvertTFQuantOpsToMHLO::runOnOperation() {
      MLIRContext *ctx = &getContext();
      func::FuncOp func = getOperation();
      ConversionTarget target(*ctx);
      target.addLegalDialect<TF::TensorFlowDialect, mhlo::MhloDialect,
                             chlo::ChloDialect>();
      target.addIllegalOp<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass(
        bool run_tfl_runtime_verification, bool preserve_assert_op) {
      return std::make_unique<LegalizeTFPass>(run_tfl_runtime_verification,
                                              preserve_assert_op);
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFPass() {
      return std::make_unique<LegalizeTFPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

    }
    
    // Represents a single quantizable unit, a (nearly) minimum unit of work when
    // applying quantization. It may correspond to a single or multiple ops.
    // Next ID: 2
    message QuantizableUnit {
      // Name of the `FuncOp` symbol corresponding to the "lifted function",
      // representing a single quantizable unit. This value is guaranteed to be
      // unique across a single `ModuleOp`.
      string name = 1;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top