Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for op_name_pattern (0.17 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tac_filter.proto

    // Op filter is to filter out ops that user wants to run. Ops with this filter
    // run on TFLite CPU.
    message OpFilter {
      // This name corresponds to the mlir::Location of the tensor.
      // `op_name_pattern` supports regex matching.
      string op_name_pattern = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc

                                 builder);
          filtered_ops.push_back(func);
        }
        return;
      }
    
      llvm::Regex op_regex(tac_filter.op_filter().op_name_pattern());
      module.walk([&](Operation* op) {
        auto named_loc = mlir::dyn_cast<NameLoc>(op->getLoc());
        if (!named_loc) {
          return;
        }
        if (!op_regex.match(named_loc.getName())) {
          return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top