Skip to content

Commit 04b78ea

Browse files
committed
fix: Add missing function
This change add a missing function definition that got lost in the refactor.
1 parent 7e9d0f9 commit 04b78ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/model_instance_state.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,12 @@ ModelInstanceState::SetInputTensors(
12301230
return nullptr;
12311231
}
12321232

1233+
ModelState*
1234+
ModeInstanceState::StateForModel() const
1235+
{
1236+
return model_state_;
1237+
}
1238+
12331239
TRITONSERVER_Error*
12341240
ModelInstanceState::ValidateBooleanSequenceControl(
12351241
triton::common::TritonJson::Value& sequence_batching,

0 commit comments

Comments
 (0)