- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CallSiteLoc (0.13 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc
FindQuantizationUnitFromLoc(child_loc); if (found_unit.has_value()) return found_unit; } } else if (isa<CallSiteLoc>(loc)) { // If the graph is inlined, CallSiteLoc can be created. return FindQuantizationUnitFromLoc( mlir::cast<CallSiteLoc>(loc).getCallee()); } return std::nullopt; } } // namespace quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.cc
ExtractFileLine(typed_child_loc, new_call->mutable_source()); } }) .Case<CallSiteLoc>([&](CallSiteLoc loc) { mutable_location->set_type(ConverterErrorData::CALLSITELOC); LocationExtractor(loc.getCallee()).Extract(error_data); LocationExtractor(loc.getCaller()).Extract(error_data); })
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/error_util_test.cc
// location associated with an error; therefore we need a combinatination of // locations to test. auto callsite_loc = mlir::CallSiteLoc::get(loc, loc_filtered); auto callsite_loc2 = mlir::CallSiteLoc::get(loc2, loc_filtered2); auto callsite_loc3 = mlir::CallSiteLoc::get(loc_filtered2, loc3); // Test with filter on. StatusScopedDiagnosticHandler ssdh_filter(&context, false, true);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc
if (!op_type_with_suffix.ends_with(":")) return false; return absl::c_all_of(locations, [](Location loc) { return isa<NameLoc>(loc) || (isa<CallSiteLoc>(loc) && isa<NameLoc>(mlir::cast<CallSiteLoc>(loc).getCallee())); }); } // Finds the pattern of the location created by `ImporterBase::GetLocation` // in `tensorflow/compiler/mlir/tensorflow/translate/import_model.cc`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc
for (const auto& error : collected_errors) { EXPECT_TRUE(error.has_location()); locations.push_back(error.location().DebugString()); } EXPECT_THAT(locations, Each(testing::HasSubstr("CALLSITELOC"))); EXPECT_THAT(locations, Each(testing::HasSubstr(input_file))); EXPECT_THAT(locations, Contains(testing::HasSubstr("line: 2"))); EXPECT_THAT(locations, Contains(testing::HasSubstr("column: 9")));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 8.2K bytes - Viewed (0)