/** @copydoc LayerParameterBase::Clone */
        public override LayerParameterBase Clone()
        {
            TransposeParameter p = new TransposeParameter();

            p.Copy(this);
            return(p);
        }
        /// <summary>
        /// Parses the parameter from a RawProto.
        /// </summary>
        /// <param name="rp">Specifies the RawProto to parse.</param>
        /// <returns>A new instance of the parameter is returned.</returns>
        public static TransposeParameter FromProto(RawProto rp)
        {
            TransposeParameter p = new TransposeParameter();

            p.m_shape = BlobShape.FromProto(rp);

            return(p);
        }
        /** @copydoc LayerParameterBase::Load */
        public override object Load(System.IO.BinaryReader br, bool bNewInstance = true)
        {
            RawProto           proto = RawProto.Parse(br.ReadString());
            TransposeParameter p     = FromProto(proto);

            if (!bNewInstance)
            {
                Copy(p);
            }

            return(p);
        }
        /** @copydoc LayerParameterBase::Copy */
        public override void Copy(LayerParameterBase src)
        {
            TransposeParameter p = (TransposeParameter)src;

            m_shape = p.m_shape.Clone();
        }