Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetHardwareRewritePatterns (0.15 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc

    }
    
    void AlternativeSubgraphPass::Optimize(func::FuncOp func,
                                           const std::string& hardware) {
      auto* ctx = &getContext();
      RewritePatternSet patterns = GetHardwareRewritePatterns(ctx, hardware);
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    
    // Get the alternative view of the func for the given device_inference_type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top