You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/model.ts
+65-3Lines changed: 65 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,32 @@ export class Model {
11
11
* @param inputs - one or more names of the model's input nodes (applicable only for TensorFlow models)
12
12
* @param outputs - one or more names of the model's output nodes (applicable only for TensorFlow models)
13
13
* @param blob - the Protobuf-serialized model
14
+
* @param batchsize - when provided with an batchsize that is greater than 0, the engine will batch incoming requests from multiple clients that use the model with input tensors of the same shape.
15
+
* @param minbatchsize - when provided with an minbatchsize that is greater than 0, the engine will postpone calls to AI.MODELRUN until the batch's size had reached minbatchsize
0 commit comments