Skip to content

Commit

Permalink
Data/Model: Fix wrong format type
Browse files Browse the repository at this point in the history
This patch fixes wrong format type when get tensors.

Signed-off-by: Yelin Jeong <[email protected]>
  • Loading branch information
niley7464 authored and wooksong committed Sep 24, 2024
1 parent c125b4d commit 573d5fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ data class Model(
val outFormat = outputInfo["format"]?.let { getFormat(it) } ?: "static"

val inTensors = getTensors(inputInfo["type"], inFormat)
val outTensors = getTensors(outputInfo["type"], inFormat)
val outTensors = getTensors(outputInfo["type"], outFormat)

val inTypes = inputInfo["type"]?.let { getType(it) } ?: ""
val outTypes = outputInfo["type"]?.let { getType(it) } ?: ""
Expand Down

0 comments on commit 573d5fb

Please sign in to comment.