class Tensor implements Serializable {

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
       
        sb.append("");
        for (int i = 0; i < values.length; i++) {
            sb.append(values[i]);
            if (i<values.length-1) sb.append(", ");
        }
        sb.append("");

        // maybe use Arrays.toString(values)

        return sb.toString();
    }

    public  Tensor(final float... values);
    public  Tensor(final float[][] vals);
    public  Tensor(final float[][][] vals);
    public  Tensor(final float[][][][] vals);
    public  Tensor(int cols);
    public  Tensor(int cols, float val);
    public  Tensor(int rows, int cols);
    public  Tensor(int rows, int cols, float[] values);
    public  Tensor(int rows, int cols, int depth);
    public  Tensor(int rows, int cols, int depth, int fourthDim);
    public  Tensor(int rows, int cols, int depth, float[] values);
    private  Tensor(Tensor t);

}