- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetLocationWithoutOpType (1.05 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/location_utils.cc
#include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/Location.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project namespace tensorflow { mlir::Location GetLocationWithoutOpType(mlir::Location loc) { if (auto fused_loc = mlir::dyn_cast<mlir::FusedLoc>(loc)) { auto locations = fused_loc.getLocations(); if (!locations.empty()) { // Skip locations for propagating op_type metadata.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/location_utils.h
#define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_LOCATION_UTILS_H_ #include "mlir/IR/Location.h" // from @llvm-project namespace tensorflow { mlir::Location GetLocationWithoutOpType(mlir::Location loc); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 15 19:42:47 UTC 2021 - 1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
std::unique_ptr<OperationPass<func::FuncOp>> CreateImportQuantStatsPassForTFControlDialect(const std::string &stats_str) { auto get_name_func = [](Operation *op) { Location loc = tensorflow::GetLocationWithoutOpType(op->getLoc()); if (auto name = loc.dyn_cast<NameLoc>()) { return name.getName().strref(); } else if (auto fused_name = loc.dyn_cast<FusedLoc>()) { for (auto sub_loc : fused_name.getLocations()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
NodeDef::ExperimentalDebugInfo* debug_info) { mlir::Location unwrapped_inst_loc = GetLocationWithoutOpType(inst_loc); if (auto call_site = mlir::dyn_cast<mlir::CallSiteLoc>(unwrapped_inst_loc)) { if (auto name_loc = mlir::dyn_cast<mlir::NameLoc>( GetLocationWithoutOpType(call_site.getCallee()))) { llvm::StringRef original_node_name, original_func_name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0)