int sizeOfCell() {
            return switch (this) {
                case DOUBLE -> 8;
                case FLOAT -> 4;
                case BFLOAT16 -> 2;
                case INT8 -> 1;
            };
        }
The permissible cell value types. Default is double.
vespajlib/src/main/java/com/yahoo/tensor/TensorType.java