MemorySavingsEstimate

Models & Types · AiDotNet.Training.Memory

Memory savings estimate from optimization techniques.

Constructors

Constructor Summary
MemorySavingsEstimate()

Properties

Property Summary
bool CheckpointingEnabled { get; set; } Whether gradient checkpointing is enabled.
bool PoolingEnabled { get; set; } Whether activation pooling is enabled.
bool ShardingEnabled { get; set; } Whether model sharding is enabled.
double SavingsPercentage { get; set; } Percentage of memory saved.
long SavingsBytes { get; set; } Memory saved (bytes).
long WithOptimization { get; set; } Estimated memory usage with optimization (bytes).
long WithoutOptimization { get; set; } Estimated memory usage without optimization (bytes).

Methods

Method Summary
string ToString()