revert change to ScalarDoubleTensor toString
@@ -809,13 +809,9 @@ public class ScalarDoubleTensor implements DoubleTensor {
@Override
public String toString() {
- if (isScalar()) {
- return scalar().toString();
- } else {
return "{\n" +
"data = [" + value + "]" +
"\nshape = " + Arrays.toString(shape) +
"\n}";
}
}
-}
