Skip to content

Commit

Permalink
Cluster Serving Inference Model Tensorflow String inputs and UT (inte…
Browse files Browse the repository at this point in the history
  • Loading branch information
Song Jiaming authored Jun 19, 2020
1 parent a490a1f commit 04c487d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -744,12 +744,6 @@ class InferenceModel(private var autoScalingEnabled: Boolean = true,
val model: AbstractModel = retrieveModel()
try {
val begin = System.nanoTime()
// val batchSize = if (inputActivity.isTensor) {
// inputActivity.toTensor[T].size(1)
// } else {
// val sampleKey = inputActivity.toTable.keySet.head
// inputActivity.toTable(sampleKey).asInstanceOf[Tensor[T]].size(1)
// }
val result = model.predict(inputActivity)
val end = System.nanoTime()

Expand Down

0 comments on commit 04c487d

Please sign in to comment.