Home
last modified time | relevance | path

Searched refs:error_context (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_script_helper.py24 with self.assertRaises(AssertionError) as error_context:
26 error_msg = str(error_context.exception)
31 with self.assertRaises(AssertionError) as error_context:
33 error_msg = str(error_context.exception)
/external/tensorflow/tensorflow/lite/delegates/
Dutils_test.cc219 TfLiteContext error_context({0}); in TEST() local
220 error_context.GetExecutionPlan = ErrorGetExecutionPlan; in TEST()
221 error_context.ReportError = EmptyReportError; in TEST()
222 GraphPartitionHelper helper(&error_context, IsNodeSupported); in TEST()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.cc1152 string error_context = strings::StrCat( in AttachContext() local
1156 strings::StrAppend(&error_context, " and with computed input tensors: ", in AttachContext()
1160 strings::StrAppend(&error_context, in AttachContext()
1165 strings::StrAppend(&error_context, "."); in AttachContext()
1167 strings::StrCat(status.error_message(), error_context)); in AttachContext()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc2822 llvm::StringRef error_context) const;
2846 llvm::StringRef error_context) const { in GetLeafIndexPaths()
2851 error_context.str(), error_message_, in GetLeafIndexPaths()
3104 std::string error_context = in CreateSavedModelIR() local
3156 error_context + "in input signature: ")); in CreateSavedModelIR()
3160 error_context, in CreateSavedModelIR()
3183 error_context + "in output signature: ")); in CreateSavedModelIR()
3186 error_context, in CreateSavedModelIR()
/external/python/pybind11/docs/advanced/
Dclasses.rst597 // error_context should be information about where/why the occurred,