Exemplo n.º 1
0
        internal override void Deserialize(byte[] bytes)
        {
            var buff = new NetworkBuffer(bytes);

            activationType = (ActivationType)buff.ReadInt32();
            inputShape     = buff.ReadShape();
            outputShape    = buff.ReadShape();
            _weights       = buff.ReadTensor();
            _bias          = buff.ReadTensor();
            buff.Close();
        }