- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cloneWithoutRegions (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
// func bar(...) {exported_names = ["foo"]} // we create // func foo(...) { // return bar(...) // } func::FuncOp other = f.cloneWithoutRegions(); other.setName(name); SetExportedName(other, name); module_body.push_front(other); other.addEntryBlock(); OpBuilder builder(other.getRegion());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
if (!mlir::SymbolTable::symbolKnownUseEmpty(orig_func.getSymNameAttr(), &module.getBodyRegion())) { func = orig_func.cloneWithoutRegions(); module.insert(module.getBody()->begin(), func); func.addEntryBlock(); func.setName(builder.getStringAttr("__sm_exported_" +
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)