Exemplo n.º 1
0
        /** @copydoc Layer::dispose */
        protected override void dispose()
        {
            if (m_blobBboxPreds != null)
            {
                m_blobBboxPreds.Dispose();
                m_blobBboxPreds = null;
            }

            if (m_blobBboxPermute != null)
            {
                m_blobBboxPermute.Dispose();
                m_blobBboxPermute = null;
            }

            if (m_blobConfPermute != null)
            {
                m_blobConfPermute.Dispose();
                m_blobConfPermute = null;
            }

            if (m_bboxUtil != null)
            {
                m_bboxUtil.Dispose();
                m_bboxUtil = null;
            }

            if (m_transformer != null)
            {
                m_transformer.Dispose();
                m_transformer = null;
            }

            base.dispose();
        }
Exemplo n.º 2
0
 /** @copydoc Layer::dispose */
 protected override void dispose()
 {
     if (m_transformer != null)
     {
         m_transformer.Dispose();
         m_transformer = null;
     }
 }