Skip to content

function_call

FunctionCall dataclass

A record of a function call that happened in the tracer.

Source code in lineapy/system_tracing/function_call.py
 7
 8
 9
10
11
12
13
14
15
16
@dataclass
class FunctionCall:
    """
    A record of a function call that happened in the tracer.
    """

    fn: Callable
    args: List[Any] = field(default_factory=list)
    kwargs: Dict[str, Any] = field(default_factory=dict)
    res: Any = field(default=None)

Was this helpful?

Help us improve docs with your feedback!