RegCNNResult.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file RegCNNResult.h
3 /// \brief RegCNNResult for RegCNN modified from Result.h
4 /// \author Ilsoo Seong - iseong@uci.edu
5 ////////////////////////////////////////////////////////////////////////
6 
7 #include <cassert>
8 #include <iostream>
9 #include <ostream>
10 #include <algorithm>
11 
14 
15 namespace cnn
16 {
17 
18  RegCNNResult::RegCNNResult(const float* output, unsigned int& nOutputs):
19  fOutput(nOutputs)
20  {
21  for(size_t i = 0; i < nOutputs; ++i) fOutput[i] = output[i];
22  }
23 
24  RegCNNResult::RegCNNResult(const std::vector<float> output){
25  fOutput = output;
26  }
27 
29  fOutput()
30  {}
31 
32 }
std::vector< float > fOutput
Vector of outputs from neural net.
Definition: RegCNNResult.h:23
Defines an enumeration for cellhit classification.
RegCNNResult for RegCNN modified from Result.h.