- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StripFunction (0.1 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/strip_saved_module_metadata.cc
module->getAttrs(), [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); })); for (auto namedAttr : stripAttrs) { module->removeAttr(namedAttr.getName()); } } void StripFunction(func::FuncOp func) { auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range( func->getAttrs(), [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); })); for (auto namedAttr : stripAttrs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/strip_tf_attributes.cc
if (name.starts_with("tf.") || name.starts_with("tf_")) return true; StringRef value = namedAttr.getValue().getDialect().getNamespace(); return value == "tf" || value.starts_with("tf_"); } void StripFunction(func::FuncOp func) { auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range( func->getAttrs(), [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); })); for (auto namedAttr : stripAttrs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 3.2K bytes - Viewed (0)