Skip to content
Snippets Groups Projects
Commit c382de25 authored by Franck Dary's avatar Franck Dary
Browse files

Added missing destructor

parent 0b3b6072
Branches
No related tags found
No related merge requests found
......@@ -126,6 +126,8 @@ class NeuralNetwork
public :
virtual ~NeuralNetwork() = 0;
/// @brief Convert a dynet expression to a string (usefull for debug purposes)
///
/// @param expr The expression to convert.
......
......@@ -5,11 +5,14 @@
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/
#include "NeuralNetwork.hpp"
int NeuralNetwork::randomSeed = 0;
bool NeuralNetwork::dynetIsInit = false;
NeuralNetwork::~NeuralNetwork() {};
std::string NeuralNetwork::expression2str(dynet::Expression & expr)
{
std::string result = "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment