← Python API
vraven · class

NeuralTrace

NeuralTrace(layers: 'list[LayerTrace]' = <factory>, prediction: 'PredictionTrace | None' = None, inputs: 'InputTrace | None' = None, target: 'int | list[int] | None' = None, mode: 'str' = 'fast', metadata: 'dict[str, Any]' = <factory>, causal_interventions: 'list[CausalInterventionTrace]' = <factory>, trace_id: 'str' = <factory>, created_at_utc: 'str' = <factory>, schema_version: 'str' = '1.0') -> None

NeuralTrace(layers: 'list[LayerTrace]' = <factory>, prediction: 'PredictionTrace | None' = None, inputs: 'InputTrace | None' = None, target: 'int | list[int] | None' = None, mode: 'str' = 'fast', metadata: 'dict[str, Any]' = <factory>, causal_interventions: 'list[CausalInterventionTrace]' = <factory>, trace_id: 'str' = <factory>, created_at_utc: 'str' = <factory>, schema_version: 'str' = '1.0')

Usage

from vraven import NeuralTrace

value = NeuralTrace(...)

Methods

from_dict(payload: 'dict[str, Any]') -> "'NeuralTrace'"

Public method.

load(path: 'str | Path') -> "'NeuralTrace'"

Public method.

save(self, path: 'str | Path') -> 'Path'

Public method.

to_dict(self) -> 'dict[str, Any]'

Public method.

validate(self) -> 'None'

Public method.

Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.