Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for materialize_derived_attrs_ (0.34 sec)

  1. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

     public:
      explicit RewriteTFRCallOp(MLIRContext* context, const SymbolTable& table,
                                bool materialize_derived_attrs)
          : OpRewritePattern<CallOp>(context),
            symbol_table_(table),
            materialize_derived_attrs_(materialize_derived_attrs) {}
    
      LogicalResult matchAndRewrite(CallOp call_op,
                                    PatternRewriter& rewriter) const override;
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateRewriteQuantizedIOPass();
    
    // Raise to TF ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateRaiseToTFOpsPass(
        std::optional<ModuleOp> tfr_module = std::nullopt,
        bool materialize_derived_attrs = false);
    
    }  // namespace TFR
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      // Run TFR lowering, inlining and raising to tf.
      func_pm.addPass(mlir::TFR::CreateDecomposeTFOpsPass(tfr_module_));
      func_pm.addPass(mlir::TFR::CreateRaiseToTFOpsPass(
          tfr_module_, /*materialize_derived_attrs=*/true));
    
      // Prepare to be exported.
      func_pm.addPass(mlir::CreateFunctionalToExecutorDialectConversionPass());
      pm_.addPass(mlir::CreateBreakUpIslandsPass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top