Skip to content

Commit fc57c88

Browse files
committed
test one thing
1 parent 6959de8 commit fc57c88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/bioimage/modelrunner/tensorflow/v1/tensor/ImgLib2Builder.java

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ private static RandomAccessibleInterval<IntType> buildFromTensorInt(Tensor<Integ
118118

119119
private static RandomAccessibleInterval<FloatType> buildFromTensorFloat(Tensor<Float> tensor) {
120120
long[] arrayShape = tensor.shape();
121+
System.out.println(Arrays.asList(arrayShape));
121122
if (CommonUtils.int32Overflows(arrayShape, 4))
122123
throw new IllegalArgumentException("Model output tensor with shape " + Arrays.toString(arrayShape)
123124
+ " is too big. Max number of elements per float output tensor supported: " + Integer.MAX_VALUE / 4);

0 commit comments

Comments
 (0)