dispose method

void dispose()

Implementation

void dispose() {
  finalizer.detach(this);
  cdnn.cv_dnn_Layer_close(ptr);
}