File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ class RerankCalculator : public CalculatorBase {
56
56
static const std::string OUTPUT_TAG_NAME;
57
57
static constexpr size_t NUMBER_OF_SPECIAL_TOKENS = 4 ;
58
58
59
- mediapipe::Timestamp timestamp{0 };
60
59
std::chrono::time_point<std::chrono::system_clock> created;
61
60
62
61
int64_t bos_token{0 };
@@ -403,7 +402,7 @@ class RerankCalculator : public CalculatorBase {
403
402
if (!status.ok ()) {
404
403
return status;
405
404
}
406
- cc->Outputs ().Tag (OUTPUT_TAG_NAME).Add (new std::string (buffer.GetString ()), timestamp );
405
+ cc->Outputs ().Tag (OUTPUT_TAG_NAME).Add (new std::string (buffer.GetString ()), cc-> InputTimestamp () );
407
406
return absl::OkStatus ();
408
407
} catch (ov::AssertFailure& e) {
409
408
SPDLOG_LOGGER_ERROR (rerank_calculator_logger, " OpenVINO Assert Failure: {}" , e.what ());
You can’t perform that action at this time.
0 commit comments