ModelMemoryEstimate constructor

const ModelMemoryEstimate({
  1. required int weightsBytes,
  2. required int kvBytesPerToken,
  3. required int fixedOverheadBytes,
  4. int? trainedContextTokens,
})

Creates an estimate.

Implementation

const ModelMemoryEstimate({
  required this.weightsBytes,
  required this.kvBytesPerToken,
  required this.fixedOverheadBytes,
  this.trainedContextTokens,
});