message: Handling destruction of empty Net objects
diff: @@ -69,8 +69,10 @@ classdef Net < handle
  self.blob_names = self.attributes.blob_names;
  end
  function delete (self)
  + if ~isempty(self.hNet_self)
  caffe_('delete_net', self.hNet_self);
  end
  + end
  function layer = layers(self, layer_name)
  CHECK(ischar(layer_name), 'layer_name must be a string');
  layer = self.layer_vec(self.name2layer_index(layer_name));
  