Exemplo n.º 1
0
        /// <summary>
        /// Reshape the bottom (input) and top (output) blobs.
        /// </summary>
        /// <param name="colBottom">Specifies the collection of bottom (input) Blobs.</param>
        /// <param name="colTop">Specifies the collection of top (output) Blobs.</param>
        public override void Reshape(BlobCollection <T> colBottom, BlobCollection <T> colTop)
        {
            m_log.CHECK_EQ(colBottom.Count, 2, "Two inputs are expected!");
            List <int> rgTopShape = MergeParameter.Reshape(m_log, m_param.merge_param, colBottom[0].shape(), colBottom[1].shape());

            colTop[0].Reshape(rgTopShape);
        }
Exemplo n.º 2
0
 public Expression Merge()
 {
     var param = new MergeParameter();
     param.Main = this;
     return new MergeAlgoritm().Invoke(Main, param);
 }