Alibaba Group interview question

Describe the loss function of RBM.