tf.compat.v1.flags.tf_decorator.tf_stack.StackTraceMapper
Позволяет переназначить информацию о трассировке стека на другой исходный код.
Наследуется от: StackTraceTransform
Методы
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/r2.4/api_docs/python/tf/compat/v1/flags/tf_decorator/tf_stack/StackTraceMapper