//! the part's bias
	vectorf bias(unsigned int mixture = 0) const {
		const int offset = (*biasid_)[self_][mixture];
		return vectorf((*biasw_).begin() + offset, (*biasw_).begin() + offset + nmixtures());
	}
Beispiel #2
0
	//! the part's bias
	vectorf bias(unsigned int mixture = 0) const {
		const int offset = (*biasid_)[self_][mixture];
		return vectorf(&((*biasw_)[offset]), &((*biasw_)[offset+nmixtures()]));
	}