How to create the weights from new sprites?

Can I use my own input sprites? How do I create the weights?

Also, in the example with no context, does the model simply reproduce the input sprites?

Thanks.