- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetLocationWithoutOpType (0.67 sec)
-
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)