Add timestamps for streaming ASR. (#123)
This commit is contained in:
@@ -34,6 +34,9 @@ OnlineTransducerDecoderResult &OnlineTransducerDecoderResult::operator=(
|
||||
|
||||
hyps = other.hyps;
|
||||
|
||||
frame_offset = other.frame_offset;
|
||||
timestamps = other.timestamps;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
@@ -54,6 +57,9 @@ OnlineTransducerDecoderResult &OnlineTransducerDecoderResult::operator=(
|
||||
decoder_out = std::move(other.decoder_out);
|
||||
hyps = std::move(other.hyps);
|
||||
|
||||
frame_offset = other.frame_offset;
|
||||
timestamps = std::move(other.timestamps);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user