Expand description
TrustformeRS Mobile Deployment
This crate provides optimized mobile deployment support for TrustformeRS, including iOS and Android platform integrations with platform-specific optimizations and inference backends.
Re-exports§
pub use scirs2_compat::DefaultRng;pub use scirs2_compat::DistributionOps;pub use scirs2_compat::LinalgOps;pub use scirs2_compat::SimdOps;pub use scirs2_compat::StatisticalOps;pub use scirs2_compat::Tensor;pub use optimization::ActivationType;pub use optimization::ArchitectureMetrics;pub use optimization::ConnectionType;pub use optimization::DeviceConstraints;pub use optimization::DeviceEnvironment;pub use optimization::EarlyStoppingConfig;pub use optimization::LayerConfig;pub use optimization::LayerType;pub use optimization::MobileArchitecture;pub use optimization::MobileNAS;pub use optimization::NASConfig;pub use optimization::OptimizationTarget;pub use optimization::PerformanceRecord;pub use optimization::QualityTradeoffs;pub use optimization::QuantizationConfig as NASQuantizationConfig;pub use optimization::QuantizationScheme as NASQuantizationScheme;pub use optimization::ReinforcementLearningAgent;pub use optimization::SearchStrategy;pub use optimization::SkipConnection;pub use optimization::UsagePattern;pub use optimization::UserContext;pub use optimization::UserPreferences;pub use optimization::MobileGGUFConfig;pub use optimization::MobileGGUFQuantizer;pub use optimization::MobileGGUFStats;pub use optimization::MobileGGUFType;pub use optimization::MobileGGUFUtils;pub use webnn_integration::BrowserInfo;pub use webnn_integration::WebNNBackend;pub use webnn_integration::WebNNCapabilities;pub use webnn_integration::WebNNCompiledGraph;pub use webnn_integration::WebNNDataType;pub use webnn_integration::WebNNDevice;pub use webnn_integration::WebNNExecutionContext;pub use webnn_integration::WebNNGraphConfig;pub use webnn_integration::WebNNOperation;pub use webnn_integration::WebNNPowerPreference;pub use webnn_integration::WebNNSupportLevel;pub use webnn_integration::WebNNTensorDescriptor;pub use webnn_integration::WebNNUtils;pub use advanced_thermal::AdaptiveCoolingStrategy;pub use advanced_thermal::AdvancedThermalManager;pub use advanced_thermal::CoolingMode;pub use advanced_thermal::MultiSensorThermalFusion;pub use advanced_thermal::PlannedWorkload;pub use advanced_thermal::SensorWeights;pub use advanced_thermal::ThermalCoefficients;pub use advanced_thermal::ThermalHotspot;pub use advanced_thermal::ThermalPredictionModel;pub use advanced_thermal::WorkloadExecutionPlan;pub use advanced_thermal::WorkloadPriority;pub use advanced_thermal::WorkloadThermalPlanner;pub use device_info::BasicDeviceInfo;pub use device_info::ChargingStatus;pub use device_info::CpuInfo;pub use device_info::GpuInfo;pub use device_info::MemoryInfo;pub use device_info::MobileDeviceDetector;pub use device_info::MobileDeviceInfo;pub use device_info::NpuInfo;pub use device_info::PerformanceScores;pub use device_info::PerformanceTier;pub use device_info::PowerInfo;pub use device_info::SimdSupport;pub use device_info::ThermalInfo;pub use device_info::ThermalState;pub use thermal_power::InferencePriority;pub use thermal_power::PowerOptimizationStrategy;pub use thermal_power::PowerThresholds;pub use thermal_power::ThermalPowerConfig;pub use thermal_power::ThermalPowerManager;pub use thermal_power::ThermalPowerStats;pub use thermal_power::ThermalPowerUtils;pub use thermal_power::ThermalThresholds;pub use thermal_power::ThrottleLevel;pub use thermal_power::ThrottlingStrategy;pub use compression::CompressionBenefits;pub use compression::CompressionConfig;pub use compression::CompressionStats;pub use compression::CompressionUtils;pub use compression::DistillationConfig;pub use compression::DistillationStrategy;pub use compression::MobileCompressionEngine;pub use compression::PruningStrategy;pub use compression::QualityMetric;pub use compression::QualityRecoveryStrategy;pub use compression::QuantizationPrecision;pub use compression::QuantizationStrategy;pub use battery::BatteryConfig;pub use battery::BatteryLevel;pub use battery::BatteryReading;pub use battery::BatteryStats;pub use battery::BatteryThresholds;pub use battery::BatteryUtils;pub use battery::DailySummary;pub use battery::MobileBatteryManager;pub use battery::OptimizationRecommendation;pub use battery::PowerPrediction;pub use battery::PowerUsageLimits;pub use battery::UsageSession;pub use battery::WeeklyUsagePattern;pub use profiler::BottleneckConfig;pub use profiler::BottleneckSeverity;pub use profiler::BottleneckType;pub use profiler::CpuMetrics;pub use profiler::GpuMetrics;pub use profiler::InferenceMetrics;pub use profiler::MemoryMetrics;pub use profiler::MetricsConfig;pub use profiler::MetricsSnapshot;pub use profiler::MobileProfilerUtils;pub use profiler::NetworkMetrics;pub use profiler::OptimizationCategory;pub use profiler::OptimizationSuggestion;pub use profiler::PerformanceBottleneck;pub use profiler::ProfileSnapshot;pub use profiler::ProfilerCapability;pub use profiler::ProfilerConfig;pub use profiler::ProfilingStatistics;pub use network_adaptation::NetworkAdaptationManager;pub use network_adaptation::NetworkAdaptationStats;pub use network_optimization::AdaptiveBehaviorConfig;pub use network_optimization::BandwidthAdaptationConfig;pub use network_optimization::BandwidthThresholds;pub use network_optimization::BandwidthTier;pub use network_optimization::CacheEvictionStrategy;pub use network_optimization::CompressionAlgorithm;pub use network_optimization::DownloadCompressionConfig;pub use network_optimization::DownloadConstraints;pub use network_optimization::DownloadOptimizationConfig;pub use network_optimization::DownloadPriority;pub use network_optimization::DownloadProgress;pub use network_optimization::DownloadRetryConfig;pub use network_optimization::DownloadStatus;pub use network_optimization::EdgeCachingConfig;pub use network_optimization::EdgeFailoverConfig;pub use network_optimization::EdgeLoadBalancingStrategy;pub use network_optimization::EdgeServerConfig;pub use network_optimization::EdgeServerEndpoint;pub use network_optimization::NetworkMetric;pub use network_optimization::NetworkOptimizationConfig;pub use network_optimization::NetworkOptimizationManager;pub use network_optimization::NetworkQualityConfig;pub use network_optimization::OfflineFirstConfig;pub use network_optimization::OfflineRetentionPolicy;pub use network_optimization::OfflineSyncStrategy;pub use network_optimization::P2PConfig;pub use network_optimization::P2PProtocol;pub use network_optimization::P2PResourceLimits;pub use network_optimization::P2PSecurityConfig;pub use network_optimization::P2PSecurityLevel;pub use network_optimization::P2PSharingPolicy;pub use network_optimization::P2PTimeRestrictions;pub use network_optimization::QualityAdaptationConfig;pub use network_optimization::QualityAdaptationStrategy;pub use network_optimization::QualityLevel;pub use network_optimization::QualityThresholds;pub use network_optimization::ResumableDownloadRequest;pub use network_optimization::TimeWindow;pub use privacy_preserving_inference::AggregationMethod;pub use privacy_preserving_inference::InferenceBudgetConfig;pub use privacy_preserving_inference::InferencePrivacyConfig;pub use privacy_preserving_inference::InferencePrivacyGuarantees;pub use privacy_preserving_inference::InferenceQualityMetrics;pub use privacy_preserving_inference::InferenceUseCase;pub use privacy_preserving_inference::InputPerturbationMethod;pub use privacy_preserving_inference::InputPrivacyConfig;pub use privacy_preserving_inference::OutputPrivacyConfig;pub use privacy_preserving_inference::OutputPrivacyMethod;pub use privacy_preserving_inference::PrivacyPreservingInferenceEngine;pub use privacy_preserving_inference::PrivacyPreservingInferenceUtils;pub use privacy_preserving_inference::PrivacyUtilityTradeoff;pub use privacy_preserving_inference::PrivateInferenceResult;pub use privacy_preserving_inference::SecureAggregationConfig;pub use advanced_security::AdvancedSecurityConfig;pub use advanced_security::AdvancedSecurityManager;pub use advanced_security::EncryptedTensor;pub use advanced_security::EncryptionOptimization;pub use advanced_security::HomomorphicConfig;pub use advanced_security::HomomorphicEncryptionEngine;pub use advanced_security::HomomorphicScheme;pub use advanced_security::MPCCommunication;pub use advanced_security::MPCProtocol;pub use advanced_security::QuantumResistantAlgorithm;pub use advanced_security::QuantumResistantConfig;pub use advanced_security::QuantumResistantEngine;pub use advanced_security::QuantumResistantKeyExchange;pub use advanced_security::QuantumResistantSignature;pub use advanced_security::SecureInferenceResult;pub use advanced_security::SecureMultipartyConfig;pub use advanced_security::SecureMultipartyEngine;pub use advanced_security::SecurityLevel;pub use advanced_security::ZKProof;pub use advanced_security::ZKProofConfig;pub use advanced_security::ZKProofSystem;pub use advanced_security::ZKVerificationConfig;pub use advanced_security::ZeroKnowledgeProofEngine;pub use mobile_performance_profiler::AlertSeverity;pub use mobile_performance_profiler::AlertThresholds;pub use mobile_performance_profiler::AlertType;pub use mobile_performance_profiler::BatteryMetrics;pub use mobile_performance_profiler::ChartType;pub use mobile_performance_profiler::CpuProfilingConfig;pub use mobile_performance_profiler::EventData;pub use mobile_performance_profiler::EventMetrics;pub use mobile_performance_profiler::EventType;pub use mobile_performance_profiler::ExportConfig;pub use mobile_performance_profiler::ExportFormat;pub use mobile_performance_profiler::GpuProfilingConfig;pub use mobile_performance_profiler::HealthStatus;pub use mobile_performance_profiler::ImpactLevel;pub use mobile_performance_profiler::MemoryProfilingConfig;pub use mobile_performance_profiler::MetricTrend;pub use mobile_performance_profiler::MobileMetricsSnapshot;pub use mobile_performance_profiler::MobilePerformanceProfiler;pub use mobile_performance_profiler::MobileProfilerConfig;pub use mobile_performance_profiler::NetworkProfilingConfig;pub use mobile_performance_profiler::PerformanceAlert;pub use mobile_performance_profiler::PlatformMetrics;pub use mobile_performance_profiler::ProfilingData;pub use mobile_performance_profiler::ProfilingEvent;pub use mobile_performance_profiler::ProfilingMode;pub use mobile_performance_profiler::ProfilingSummary;pub use mobile_performance_profiler::RealTimeConfig;pub use mobile_performance_profiler::RealTimeState;pub use mobile_performance_profiler::SamplingConfig;pub use mobile_performance_profiler::SessionInfo;pub use mobile_performance_profiler::SessionMetadata;pub use mobile_performance_profiler::SystemHealth;pub use mobile_performance_profiler::TemperatureTrend;pub use mobile_performance_profiler::ThermalMetrics;pub use mobile_performance_profiler::TrendDirection;pub use mobile_performance_profiler::TrendingMetrics;pub use crash_reporter::AppCrashInfo;pub use crash_reporter::AuthType;pub use crash_reporter::BatteryCrashInfo;pub use crash_reporter::CpuCrashInfo;pub use crash_reporter::CrashAnalysis;pub use crash_reporter::CrashAnalysisConfig;pub use crash_reporter::CrashContext;pub use crash_reporter::CrashInfo;pub use crash_reporter::CrashPattern;pub use crash_reporter::CrashPrivacyConfig;pub use crash_reporter::CrashRecoveryConfig;pub use crash_reporter::CrashReport;pub use crash_reporter::CrashReporterConfig;pub use crash_reporter::CrashReportingConfig;pub use crash_reporter::CrashSeverity;pub use crash_reporter::CrashStatistics;pub use crash_reporter::CrashStorageConfig;pub use crash_reporter::CrashType;pub use crash_reporter::EncryptionKeySource;pub use crash_reporter::ErrorLogEntry;pub use crash_reporter::ExceptionInfo;pub use crash_reporter::ForegroundStatus;pub use crash_reporter::GpuCrashInfo;pub use crash_reporter::HeapInfo;pub use crash_reporter::ImpactAssessment;pub use crash_reporter::LogLevel;pub use crash_reporter::MemoryDump;pub use crash_reporter::MemoryPermissions;pub use crash_reporter::MemoryRegion;pub use crash_reporter::MemoryRegionType;pub use crash_reporter::MemoryUsageInfo;pub use crash_reporter::MobileCrashReporter;pub use crash_reporter::ModelCrashInfo;pub use crash_reporter::ModelPerformanceMetrics;pub use crash_reporter::NetworkConnectionType;pub use crash_reporter::NetworkCrashInfo;pub use crash_reporter::PatternType;pub use crash_reporter::PlatformCrashConfig;pub use crash_reporter::RecentOperation;pub use crash_reporter::RecoveryImpact;pub use crash_reporter::RecoveryStrategy;pub use crash_reporter::RecoverySuggestion;pub use crash_reporter::ReportingAuthConfig;pub use crash_reporter::ResolutionStatus;pub use crash_reporter::RiskAssessment;pub use crash_reporter::RiskLevel;pub use crash_reporter::SafeModeConfig;pub use crash_reporter::SignalInfo;pub use crash_reporter::SimilarCrash;pub use crash_reporter::StackFrame;pub use crash_reporter::StackInfo;pub use crash_reporter::StackTrace;pub use crash_reporter::SystemCrashInfo;pub use crash_reporter::SystemEvent;pub use crash_reporter::ThreadInfo;pub use crash_reporter::ThreadState;pub use crash_reporter::UrgencyLevel;pub use crash_reporter::UserAction;pub use lifecycle::AppCheckpoint;pub use lifecycle::AppLifecycleManager;pub use lifecycle::AppState;pub use lifecycle::BackgroundTask;pub use lifecycle::BackgroundTaskConfig;pub use lifecycle::LifecycleConfig;pub use lifecycle::LifecycleStats;pub use lifecycle::LifecycleUtils;pub use lifecycle::MemoryPressureLevel;pub use lifecycle::MemoryWarningConfig;pub use lifecycle::ModelState;pub use lifecycle::NetworkInterruptionConfig;pub use lifecycle::NotificationConfig;pub use lifecycle::NotificationType;pub use lifecycle::ResourceManagementConfig;pub use lifecycle::ResourceRequirements;pub use lifecycle::SchedulingStrategy;pub use lifecycle::StateTransition;pub use lifecycle::TaskType;pub use lifecycle::ThermalLevel;pub use lifecycle::ThermalWarningConfig;pub use lifecycle::TransitionReason;pub use lifecycle::UserSessionState;pub use integration_testing::BackendTestResults;pub use integration_testing::BackendTestingConfig;pub use integration_testing::CompatibilityTestResults;pub use integration_testing::CompatibilityTestingConfig;pub use integration_testing::CrossPlatformComparison;pub use integration_testing::ErrorAnalysis;pub use integration_testing::IntegrationTestConfig;pub use integration_testing::IntegrationTestResults;pub use integration_testing::MobileIntegrationTestFramework;pub use integration_testing::PerformanceBenchmarkResults;pub use integration_testing::PerformanceTestingConfig;pub use integration_testing::PlatformTestResults;pub use integration_testing::PlatformTestingConfig;pub use integration_testing::RecommendationPriority;pub use integration_testing::RecommendationType;pub use integration_testing::ReportFormat;pub use integration_testing::TestCategory;pub use integration_testing::TestConfiguration;pub use integration_testing::TestEnvironmentInfo;pub use integration_testing::TestMetrics;pub use integration_testing::TestRecommendation;pub use integration_testing::TestReportingConfig;pub use integration_testing::TestResult;pub use integration_testing::TestStatus;pub use integration_testing::TestSummary;pub use wasm_simd::SimdInstructionSet;pub use wasm_simd::SimdLaneWidth;pub use wasm_simd::SimdOperationType;pub use wasm_simd::SimdPerformanceMetrics;pub use wasm_simd::WasmSimdConfig;pub use wasm_simd::WasmSimdEngine;
Modules§
- abi_
checker - ABI Compatibility Checker for TrustformeRS Mobile
- advanced_
security - Advanced Security Features for Mobile AI
- advanced_
thermal - Advanced Thermal Management with Predictive Algorithms
- battery
- Advanced Battery Management and Optimization for Mobile ML
- benchmarks
- Performance Benchmarking Suite for Mobile Deployment
- c_api
- C API for TrustformeRS Mobile
- compression
- Advanced Model Compression for Mobile Deployment
- crash_
reporter - Mobile Crash Reporting and Analysis System
- device_
info - Mobile Device Information and Capability Detection
- hardware
- Hardware acceleration modules for TrustformeRS Mobile
- inference
- Mobile Inference Engine
- inference_
visualizer - Mobile Inference Visualizer for Real-time Debugging
- integration_
testing - Mobile Integration Testing Framework
- lifecycle
- Background Execution and App Lifecycle Management
- memory_
leak_ detector - Mobile memory leak detection and analysis for TrustformeRS
- mobile_
performance_ profiler - Mobile Performance Profiler for Debugging
- mobile_
performance_ profiler_ legacy - Mobile Performance Profiler for Debugging
- mobile_
testing - Mobile Testing Infrastructure
- model_
debugger - Mobile model debugging and analysis for TrustformeRS
- model_
management - Model Management System with Over-the-Air Updates
- network_
adaptation - Network Condition Adaptation for Federated Learning
- network_
optimization - Network Optimization Features for TrustformeRS Mobile
- optimization
- Mobile Optimization Suite
- privacy_
preserving_ inference - Privacy-Preserving Inference for Mobile Deployment
- profiler
- Advanced Mobile Performance Profiler
- scirs2_
compat - SciRS2 Compatibility Layer
- thermal_
power - Thermal Throttling and Power Management for Mobile Inference
- ui_
testing - UI Testing Framework for TrustformeRS Mobile Components
- wasm_
simd - WebAssembly SIMD Optimization Engine
- webnn_
integration - WebNN Integration for Mobile Web Deployment
Structs§
- Mobile
Config - Mobile deployment configuration
- Mobile
Quantization Config - Mobile quantization configuration
- Mobile
Stats - Mobile deployment statistics
Enums§
- Memory
Optimization - Memory optimization levels
- Mobile
Backend - Mobile inference backend
- Mobile
Platform - Target mobile platform
- Mobile
Quantization Scheme - Mobile-optimized quantization schemes