Table of Contents

Class MemorySavingsEstimate

Namespace
AiDotNet.Training.Memory
Assembly
AiDotNet.dll

Memory savings estimate from optimization techniques.

public class MemorySavingsEstimate
Inheritance
MemorySavingsEstimate
Inherited Members

Properties

CheckpointingEnabled

Whether gradient checkpointing is enabled.

public bool CheckpointingEnabled { get; set; }

Property Value

bool

PoolingEnabled

Whether activation pooling is enabled.

public bool PoolingEnabled { get; set; }

Property Value

bool

SavingsBytes

Memory saved (bytes).

public long SavingsBytes { get; set; }

Property Value

long

SavingsPercentage

Percentage of memory saved.

public double SavingsPercentage { get; set; }

Property Value

double

ShardingEnabled

Whether model sharding is enabled.

public bool ShardingEnabled { get; set; }

Property Value

bool

WithOptimization

Estimated memory usage with optimization (bytes).

public long WithOptimization { get; set; }

Property Value

long

WithoutOptimization

Estimated memory usage without optimization (bytes).

public long WithoutOptimization { get; set; }

Property Value

long

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.