- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PopulateTfVersions (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/translate_utils.h
#include "tensorflow/core/platform/statusor.h" namespace tensorflow { // Populates the tf.versions attribute on a module, given a corresponding // graph VersionDef proto. void PopulateTfVersions(mlir::ModuleOp module, const VersionDef& versions); // Extracts TensorFlow GraphDef version information from the given module. // Returns failure if version attribute is missing or any of the sub attributes // are invalid.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc
#include "mlir/IR/OpDefinition.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/core/platform/errors.h" namespace tensorflow { void PopulateTfVersions(mlir::ModuleOp module, const VersionDef& versions) { mlir::Builder b(module.getContext()); auto producer = b.getNamedAttr("producer", b.getI32IntegerAttr(versions.producer()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
attrs.push_back(b.getNamedAttr( "tf.entry_function", b.getDictionaryAttr({inputs, outputs, control_outputs}))); } } // Record version info. PopulateTfVersions(module.get(), graph.versions()); const llvm::StringRef& graph_func_name = specs.graph_func_name.empty() ? kImportModelDefaultGraphFuncName : specs.graph_func_name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)