Home
last modified time | relevance | path

Searched refs:tf_error (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/debug/cli/
Dcli_shared.py443 def get_error_intro(tf_error): argument
454 if hasattr(tf_error, "op") and hasattr(tf_error.op, "name"):
455 op_name = tf_error.op.name
491 "Error type: " + str(type(tf_error)),
494 str(tf_error),
Dcli_shared_test.py338 tf_error = errors.OpError(None, self.var_a.initializer, "foo description",
341 error_intro = cli_shared.get_error_intro(tf_error)
372 self.assertTrue(error_intro.lines[12].endswith(str(type(tf_error))))
378 tf_error = errors.OpError(None, None, "Fake OpError", -1)
379 error_intro = cli_shared.get_error_intro(tf_error)
/external/tensorflow/tensorflow/python/debug/wrappers/
Dframework.py301 tf_error=None): argument
322 self.tf_error = tf_error
518 tf_error = None
545 tf_error = op_error
552 tf_error=tf_error)
Dlocal_cli_wrapper.py331 if request.tf_error and not os.path.isdir(self._dump_root):
336 raise request.tf_error
361 debug_dump, request.tf_error, passed_filter,
385 tf_error, argument
402 if tf_error:
403 help_intro = cli_shared.get_error_intro(tf_error)
Dlocal_cli_wrapper_test.py95 tf_error, argument
99 self.observers["tf_errors"].append(tf_error)
526 tf_error = wrapped_sess.observers["tf_errors"][0]
527 self.assertEqual("y", tf_error.op.name)
Dframework_test.py86 self._obs["tf_error"] = request.tf_error