Esempio n. 1
0
        /** @copydoc Layer::dispose */
        protected override void dispose()
        {
            base.dispose();

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

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

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

            if (m_blobDebug1 != null)
            {
                m_blobDebug1.Dispose();
                m_blobDebug1 = null;
            }
        }
Esempio n. 2
0
        /** @copydoc Layer::dispose */
        protected override void dispose()
        {
            if (m_rgBatchLabels != null)
            {
                m_rgBatchLabels.Dispose();
                m_rgBatchLabels = null;
            }

            base.dispose();
        }