class_docstr: Restricted  Boltzmann Machine
class_docstr_tok: ["Restricted","Boltzmann","Machine"]
docstr: Initialize the TF session on training data
  
  Args:
      xtr (numpy.ndarray, int32): The user/affinity matrix for the train set.
docstr_tok: ["Initialize","the","TF","session","on","training","data","Args",":","xtr","(","numpy.ndarray",",","int32",")",":","The","user\/affinity","matrix","for","the","train","set","."]
code: def init_training_session(self, xtr):
      """Initialize the TF session on training data
  
      Args:
          xtr (numpy.ndarray, int32): The user/affinity matrix for the train set.
      """
  
      self.sess.run(
          self.iter.initializer,
          feed_dict={self.vu: xtr, self.batch_size: self.minibatch},
      )
  
      self.sess.run(tf.compat.v1.tables_initializer())
  
imports: import numpy
  import tensorflow
  import logging
  import os
  from pathlib import Path
label_desc: Use image node_id 17 for calling the RBM obj's underlying member method code with example usage: obj.init_training_session(xtr) without return types