Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for eraseBody (0.23 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

        func.eraseBody();
        func.addEntryBlock();
        convert_embedded_lookup.RewriteFunc();
      } else if (attr.getValue() == mlir::TFL::kLstmCellSimple) {
        // Check if the lstm cell simple can be fused, if not, we just don't do
        // anything.
        if (failed(CheckFusableLstmCellSimple(func))) return;
        func.eraseBody();
        func.addEntryBlock();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

        }
      }
    
      return success();
    }
    
    LogicalResult ConvertWhitespaceTokenizer(func::FuncOp func, llvm::StringRef api,
                                             FuncAttr attr) {
      func.eraseBody();
      func.addEntryBlock();
      func->setAttr(kTFImplements, attr);
      OpBuilder builder(func.getBody());
      std::string empty_option_buffer;
      auto op = builder.create<CustomOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top