Lines Matching refs:_inputs
266 float CvANN_MLP::predict( const CvMat* _inputs, CvMat* _outputs ) const in predict() argument
278 if( !CV_IS_MAT(_inputs) || !CV_IS_MAT(_outputs) || in predict()
279 !CV_ARE_TYPES_EQ(_inputs,_outputs) || in predict()
280 CV_MAT_TYPE(_inputs->type) != CV_32FC1 && in predict()
281 CV_MAT_TYPE(_inputs->type) != CV_64FC1 || in predict()
282 _inputs->rows != _outputs->rows ) in predict()
286 if( _inputs->cols != layer_sizes->data.i[0] ) in predict()
293 n = dn0 = _inputs->rows; in predict()
312 cvGetRows( _inputs, layer_in, i, i + dn ); in predict()
686 bool CvANN_MLP::prepare_to_train( const CvMat* _inputs, const CvMat* _outputs, in prepare_to_train() argument
712 if( !CV_IS_MAT(_inputs) || CV_MAT_TYPE(_inputs->type) != CV_32FC1 && in prepare_to_train()
713 CV_MAT_TYPE(_inputs->type) != CV_64FC1 || _inputs->cols != layer_sizes->data.i[0] ) in prepare_to_train()
727 if( _inputs->rows != _outputs->rows ) in prepare_to_train()
732 CV_CALL( sample_idx = cvPreprocessIndexArray( _sample_idx, _inputs->rows )); in prepare_to_train()
737 count = _inputs->rows; in prepare_to_train()
749 sw_count != count && sw_count != _inputs->rows ) in prepare_to_train()
763 ivecs.type = CV_MAT_TYPE(_inputs->type); in prepare_to_train()
770 ivecs.data.ptr[i] = _inputs->data.ptr + idx*_inputs->step; in prepare_to_train()
816 int CvANN_MLP::train( const CvMat* _inputs, const CvMat* _outputs, in train() argument
839 CV_CALL( prepare_to_train( _inputs, _outputs, _sample_weights, in train()