Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.autograph.StackTraceMapper

View source on GitHub

Class StackTraceMapper

Remaps generated code to code it originated from.

__init__

View source

__init__(converted_fn)

Initialize self. See help(type(self)) for accurate signature.

Methods

__enter__

View source

__enter__()

__exit__

View source

__exit__(
    unused_type,
    unused_value,
    unused_traceback
)

get_effective_source_map

View source

get_effective_source_map()

Returns a map (filename, lineno) -> (filename, lineno, function_name).

reset

View source

reset()