input(data){
        if(this.type == "keras")
            throw "Keras model cannot be generated";

        if(!data.labels || !data.images)
            throw "There are no valid labels or images in the entry";

        this.data = data;
        this.outputSize = this.data.labels.length;
    }
/**
     * Function to input data for training
     * 
     * @param object data 
     * @return void
     */
Function to input data for training

@param object data
@return void
Function to input data for training @param object data @return void
input(data){
        if(this.type == "keras")
            throw "Keras model cannot be generated";
        if(!data.labels || !data.images)
            throw "There are no valid labels or images in the entry";
        this.data = data;
        this.outputSize = this.data.labels.length;
    }
input ( data ) { if ( this . type == "keras" ) throw "Keras model cannot be generated" ; if ( ! data . labels || ! data . images ) throw "There are no valid labels or images in the entry" ; this . data = data ; this . outputSize = this . data . labels . length ; }
Function to input data for training
Function to input data for training