diff --git a/src/main/java/io/bioimage/modelrunner/tensorflow/v1/shm/ShmBuilder.java b/src/main/java/io/bioimage/modelrunner/tensorflow/v1/shm/ShmBuilder.java index aa04285..1e700a0 100644 --- a/src/main/java/io/bioimage/modelrunner/tensorflow/v1/shm/ShmBuilder.java +++ b/src/main/java/io/bioimage/modelrunner/tensorflow/v1/shm/ShmBuilder.java @@ -68,14 +68,19 @@ public static void build(Tensor tensor, String memoryName) throws IllegalArgu { case UINT8: buildFromTensorUByte((Tensor) tensor, memoryName); + break; case INT32: buildFromTensorInt((Tensor) tensor, memoryName); + break; case FLOAT: buildFromTensorFloat((Tensor) tensor, memoryName); + break; case DOUBLE: buildFromTensorDouble((Tensor) tensor, memoryName); + break; case INT64: buildFromTensorLong((Tensor) tensor, memoryName); + break; default: throw new IllegalArgumentException("Unsupported tensor type: " + tensor.dataType().name()); }