Module: tf.compat.v1.flags.tf_decorator.tf_stack

View source on GitHub

Functions used to extract and analyze stacks. Faster than Python libs.


class CurrentModuleFilter: Filters stack frames from the module where this is used (best effort).

class FrameSummary

class StackSummary

class StackTraceFilter: Allows filtering traceback information by removing superfluous frames.

class StackTraceMapper: Allows remapping traceback information to different source code.

class StackTraceTransform: Base class for stack trace transformation functions.


extract_stack(...): A lightweight, extensible re-implementation of traceback.extract_stack.