pub struct DebugSession { /* private fields */ }Expand description
Main debugging session that coordinates all debugging tools
Implementations§
Source§impl DebugSession
Integration with main debug session
impl DebugSession
Integration with main debug session
Sourcepub async fn enable_regression_detection(
&mut self,
config: RegressionDetectionConfig,
) -> Result<RegressionDetector>
pub async fn enable_regression_detection( &mut self, config: RegressionDetectionConfig, ) -> Result<RegressionDetector>
Enable regression detection for this debug session
Source§impl DebugSession
Integration with main debug session
impl DebugSession
Integration with main debug session
Sourcepub async fn enable_streaming(
&mut self,
config: StreamingDebugConfig,
) -> Result<Arc<StreamingDebugger>>
pub async fn enable_streaming( &mut self, config: StreamingDebugConfig, ) -> Result<Arc<StreamingDebugger>>
Enable streaming for this debug session
Source§impl DebugSession
impl DebugSession
Sourcepub fn new(config: DebugConfig) -> Self
pub fn new(config: DebugConfig) -> Self
Create a new debugging session
Sourcepub fn config(&self) -> &DebugConfig
pub fn config(&self) -> &DebugConfig
Get debug configuration
Sourcepub fn tensor_inspector(&self) -> &TensorInspector
pub fn tensor_inspector(&self) -> &TensorInspector
Get tensor inspector
Sourcepub fn tensor_inspector_mut(&mut self) -> &mut TensorInspector
pub fn tensor_inspector_mut(&mut self) -> &mut TensorInspector
Get mutable tensor inspector
Sourcepub fn gradient_debugger(&self) -> &GradientDebugger
pub fn gradient_debugger(&self) -> &GradientDebugger
Get gradient debugger
Sourcepub fn gradient_debugger_mut(&mut self) -> &mut GradientDebugger
pub fn gradient_debugger_mut(&mut self) -> &mut GradientDebugger
Get mutable gradient debugger
Sourcepub fn model_diagnostics(&self) -> &ModelDiagnostics
pub fn model_diagnostics(&self) -> &ModelDiagnostics
Get model diagnostics
Sourcepub fn model_diagnostics_mut(&mut self) -> &mut ModelDiagnostics
pub fn model_diagnostics_mut(&mut self) -> &mut ModelDiagnostics
Get mutable model diagnostics
Sourcepub fn hooks(&self) -> &HookManager
pub fn hooks(&self) -> &HookManager
Get hook manager
Sourcepub fn hooks_mut(&mut self) -> &mut HookManager
pub fn hooks_mut(&mut self) -> &mut HookManager
Get mutable hook manager
Sourcepub fn profiler_mut(&mut self) -> &mut Profiler
pub fn profiler_mut(&mut self) -> &mut Profiler
Get mutable profiler
Sourcepub fn memory_profiler(&self) -> Option<&MemoryProfiler>
pub fn memory_profiler(&self) -> Option<&MemoryProfiler>
Get memory profiler
Sourcepub fn memory_profiler_mut(&mut self) -> Option<&mut MemoryProfiler>
pub fn memory_profiler_mut(&mut self) -> Option<&mut MemoryProfiler>
Get mutable memory profiler
Sourcepub fn interactive_debugger(&self) -> &InteractiveDebugger
pub fn interactive_debugger(&self) -> &InteractiveDebugger
Get interactive debugger
Sourcepub fn interactive_debugger_mut(&mut self) -> &mut InteractiveDebugger
pub fn interactive_debugger_mut(&mut self) -> &mut InteractiveDebugger
Get mutable interactive debugger
Sourcepub fn anomaly_detector(&self) -> &AnomalyDetector
pub fn anomaly_detector(&self) -> &AnomalyDetector
Get anomaly detector
Sourcepub fn anomaly_detector_mut(&mut self) -> &mut AnomalyDetector
pub fn anomaly_detector_mut(&mut self) -> &mut AnomalyDetector
Get mutable anomaly detector
Sourcepub fn computation_graph_analyzer(&self) -> &ComputationGraphAnalyzer
pub fn computation_graph_analyzer(&self) -> &ComputationGraphAnalyzer
Get computation graph analyzer
Sourcepub fn computation_graph_analyzer_mut(
&mut self,
) -> &mut ComputationGraphAnalyzer
pub fn computation_graph_analyzer_mut( &mut self, ) -> &mut ComputationGraphAnalyzer
Get mutable computation graph analyzer
Sourcepub fn architecture_analyzer(&self) -> &ArchitectureAnalyzer
pub fn architecture_analyzer(&self) -> &ArchitectureAnalyzer
Get architecture analyzer
Sourcepub fn architecture_analyzer_mut(&mut self) -> &mut ArchitectureAnalyzer
pub fn architecture_analyzer_mut(&mut self) -> &mut ArchitectureAnalyzer
Get mutable architecture analyzer
Sourcepub fn behavior_analyzer(&self) -> &BehaviorAnalyzer
pub fn behavior_analyzer(&self) -> &BehaviorAnalyzer
Get behavior analyzer
Sourcepub fn behavior_analyzer_mut(&mut self) -> &mut BehaviorAnalyzer
pub fn behavior_analyzer_mut(&mut self) -> &mut BehaviorAnalyzer
Get mutable behavior analyzer
Sourcepub fn training_dynamics_analyzer(&self) -> &TrainingDynamicsAnalyzer
pub fn training_dynamics_analyzer(&self) -> &TrainingDynamicsAnalyzer
Get training dynamics analyzer
Sourcepub fn training_dynamics_analyzer_mut(
&mut self,
) -> &mut TrainingDynamicsAnalyzer
pub fn training_dynamics_analyzer_mut( &mut self, ) -> &mut TrainingDynamicsAnalyzer
Get mutable training dynamics analyzer
Sourcepub fn differential_debugger(&self) -> &DifferentialDebugger
pub fn differential_debugger(&self) -> &DifferentialDebugger
Get differential debugger
Sourcepub fn differential_debugger_mut(&mut self) -> &mut DifferentialDebugger
pub fn differential_debugger_mut(&mut self) -> &mut DifferentialDebugger
Get mutable differential debugger
Sourcepub fn interpretability_analyzer(&self) -> &InterpretabilityAnalyzer
pub fn interpretability_analyzer(&self) -> &InterpretabilityAnalyzer
Get interpretability analyzer
Sourcepub fn interpretability_analyzer_mut(&mut self) -> &mut InterpretabilityAnalyzer
pub fn interpretability_analyzer_mut(&mut self) -> &mut InterpretabilityAnalyzer
Get mutable interpretability analyzer
Sourcepub fn health_checker(&self) -> &HealthChecker
pub fn health_checker(&self) -> &HealthChecker
Get health checker
Sourcepub fn health_checker_mut(&mut self) -> &mut HealthChecker
pub fn health_checker_mut(&mut self) -> &mut HealthChecker
Get mutable health checker
Sourcepub fn transformer_debugger(&self) -> Option<&TransformerDebugger>
pub fn transformer_debugger(&self) -> Option<&TransformerDebugger>
Get transformer debugger
Sourcepub fn transformer_debugger_mut(&mut self) -> Option<&mut TransformerDebugger>
pub fn transformer_debugger_mut(&mut self) -> Option<&mut TransformerDebugger>
Get mutable transformer debugger
Sourcepub fn advanced_ml_debugger(&self) -> &AdvancedMLDebugger
pub fn advanced_ml_debugger(&self) -> &AdvancedMLDebugger
Get advanced ML debugger
Sourcepub fn advanced_ml_debugger_mut(&mut self) -> &mut AdvancedMLDebugger
pub fn advanced_ml_debugger_mut(&mut self) -> &mut AdvancedMLDebugger
Get mutable advanced ML debugger
Sourcepub fn ai_code_analyzer(&self) -> Option<&AICodeAnalyzer>
pub fn ai_code_analyzer(&self) -> Option<&AICodeAnalyzer>
Get AI code analyzer
Sourcepub fn ai_code_analyzer_mut(&mut self) -> Option<&mut AICodeAnalyzer>
pub fn ai_code_analyzer_mut(&mut self) -> Option<&mut AICodeAnalyzer>
Get mutable AI code analyzer
Sourcepub fn distributed_debugger(&self) -> Option<&DistributedDebugger>
pub fn distributed_debugger(&self) -> Option<&DistributedDebugger>
Get distributed debugger
Sourcepub fn distributed_debugger_mut(&mut self) -> Option<&mut DistributedDebugger>
pub fn distributed_debugger_mut(&mut self) -> Option<&mut DistributedDebugger>
Get mutable distributed debugger
Sourcepub fn environmental_monitor(&self) -> Option<&EnvironmentalMonitor>
pub fn environmental_monitor(&self) -> Option<&EnvironmentalMonitor>
Get environmental monitor
Sourcepub fn environmental_monitor_mut(&mut self) -> Option<&mut EnvironmentalMonitor>
pub fn environmental_monitor_mut(&mut self) -> Option<&mut EnvironmentalMonitor>
Get mutable environmental monitor
Sourcepub async fn stop(&mut self) -> Result<DebugReport>
pub async fn stop(&mut self) -> Result<DebugReport>
Stop debugging session and generate report
Sourcepub async fn generate_snapshot(&self) -> Result<DebugReport>
pub async fn generate_snapshot(&self) -> Result<DebugReport>
Generate a snapshot of current state
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugSession
impl !RefUnwindSafe for DebugSession
impl Send for DebugSession
impl Sync for DebugSession
impl Unpin for DebugSession
impl UnsafeUnpin for DebugSession
impl !UnwindSafe for DebugSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.