tf.contrib.autograph.StackTraceMapper
Stay organized with collections
Save and categorize content based on your preferences.
Remaps generated code to code it originated from.
tf.contrib.autograph.StackTraceMapper(
converted_fn
)
Methods
get_effective_source_map
View source
get_effective_source_map()
Returns a map (filename, lineno) -> (filename, lineno, function_name).
reset
View source
reset()
__enter__
View source
__enter__()
__exit__
View source
__exit__(
unused_type, unused_value, unused_traceback
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.autograph.StackTraceMapper\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/autograph/impl/api.py#L120-L149) |\n\nRemaps generated code to code it originated from. \n\n tf.contrib.autograph.StackTraceMapper(\n converted_fn\n )\n\nMethods\n-------\n\n### `get_effective_source_map`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/autograph/impl/api.py#L126-L149) \n\n get_effective_source_map()\n\nReturns a map (filename, lineno) -\\\u003e (filename, lineno, function_name).\n\n### `reset`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/util/tf_stack.py#L91-L92) \n\n reset()\n\n### `__enter__`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/util/tf_stack.py#L61-L77) \n\n __enter__()\n\n### `__exit__`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/util/tf_stack.py#L79-L81) \n\n __exit__(\n unused_type, unused_value, unused_traceback\n )"]]