Skip to content

Commit 08cb517

Browse files
committed
Update
1 parent 8c3d5fa commit 08cb517

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/decoupled/repeat_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ def initialize(self, args):
116116
# Defaults to 1 if not provided. Example: If input 'IN' is [4] and 'output_num_elements' is set to 3,
117117
# then 'OUT' will be [4, 4, 4]. If 'output_num_elements' is not specified, 'OUT' will default to [4].
118118
parameters = self.model_config.get("parameters", {})
119-
self.output_num_elements = int(parameters.get("output_num_elements", {}).get("string_value", 1))
119+
self.output_num_elements = int(
120+
parameters.get("output_num_elements", {}).get("string_value", 1)
121+
)
120122

121123
# To keep track of response threads so that we can delay
122124
# the finalizing the model until all response threads

0 commit comments

Comments
 (0)