lastHiddenState property

Float32List get lastHiddenState

Final-normalized state of the last forward/logitsOf computation. A borrowed view, valid until the next computation or close. TTS uses this rather than logits to condition its depth decoder.

Implementation

Float32List get lastHiddenState {
  _checkOpen();
  if (!_hasHiddenState) throw StateError('no computed hidden state');
  return _gpu?.lastHiddenState ?? _normed;
}