Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for module_op_ (0.14 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

          &ctx);
    
      if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) {
        module_op.emitError()
            << "Failed to compose stablehlo uniform quantized types.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateComposeUniformQuantizedTypePass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        return signalPassFailure();
      }
    }
    
    }  // namespace
    
    namespace TFDevice {
    std::unique_ptr<OperationPass<ModuleOp>> CreateResourceOpLiftingPass() {
      return std::make_unique<ResourceOpLiftingPass>();
    }
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateResourceOpLiftingForMainFunctionPass() {
      return std::make_unique<ResourceOpLiftingForMainFunctionPass>();
    }
    
    }  // namespace TFDevice
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      }
    
      ModuleOp module_;
      SymbolTable symbol_table_;
    };
    
    static PassRegistration<QuantizeCompositeFunctionsPass> pass;
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.inc"
    
    void QuantizeCompositeFunctionsPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      ModuleOp module = getOperation();
    
      PassManager pm(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

    void EncapsulateFuncAndSerialize(FuncOp func,
                                     std::string* serialized_func_module) {
      // Create a new module to hold func and all referenced functions.
      OwningOpRef<mlir::ModuleOp> module_for_func =
          ModuleOp::create(mlir::UnknownLoc::get(func.getContext()));
      SymbolTable symbol_table(module_for_func.get());
    
      symbol_table.insert(func);
      *serialized_func_module =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      return_op.erase();
    }
    
    // TFL::WhileOp has regions, so we add CallOp to call the FuncOp in the regions
    // if we have while ops.
    void AddRegionsForTflWhileOp(mlir::ModuleOp module) {
      mlir::SymbolTable symbol_table(module);
      module.walk([&](mlir::TFL::WhileOp while_op) {
        auto cond = symbol_table.lookup<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      void getDependentDialects(mlir::DialectRegistry& registry) const override {
        registry.insert<TF::TensorFlowDialect>();
      }
    
      void runOnOperation() override;
    };
    
    bool UseEmbeddingPipelining(ModuleOp& module) {
      // Enable automated pipelining pass unless:
      // 1. The user disables it via flag, or
      // 2. The graph contains TF.Summary ops. Graphs like this typically only run
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

    /// pass.
    std::unique_ptr<OperationPass<ModuleOp>> TFL::CreateLowerStaticTensorListPass(
        bool allow_tensorlist_pass_through, bool default_to_single_batch,
        bool enable_dynamic_update_slice) {
      return std::make_unique<LowerStaticTensorListPass>(
          allow_tensorlist_pass_through, default_to_single_batch,
          enable_dynamic_update_slice);
    }
    
    std::unique_ptr<OperationPass<ModuleOp>>
    TFL::CreateLowerStaticTensorListPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

      ConversionTarget target(*context);
      target.addLegalDialect<arith::ArithDialect>();
      target.addLegalDialect<func::FuncDialect>();
      target.addLegalDialect<TF::TensorFlowDialect>();
      target.addLegalOp<ModuleOp>();
      target.addLegalOp<func::FuncOp>();
      target.addIllegalOp<TF::XlaConvV2Op>();
      target.addIllegalOp<TF::XlaGatherOp>();
    
      RewritePatternSet patterns(context);
      mhlo::Tf2XlaTypeConverter converter;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top