tf.contrib.autograph.StackTraceMapper
Пересопоставляет сгенерированный код на код, из которого он был сгенерирован.
tf.contrib.autograph.StackTraceMapper(
converted_fn
)
Методы
get_effective_source_map
get_effective_source_map()
Возвращает отображение (имя файла, номер строки) -> (имя файла, номер строки, имя функции).
reset
reset()
__enter__
__enter__()
__exit__
__exit__(
unused_type, unused_value, unused_traceback
)
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/autograph/StackTraceMapper