class_docstr: Restricted  Boltzmann Machine
class_docstr_tok: ["Restricted","Boltzmann","Machine"]
docstr: Config GPU memory
docstr_tok: ["Config","GPU","memory"]
code: def init_gpu(self):
      """Config GPU memory"""
  
      self.config_gpu = tf.compat.v1.ConfigProto(
          log_device_placement=False, allow_soft_placement=True
      )
      self.config_gpu.gpu_options.allow_growth = True
  
imports: import numpy
  import tensorflow
  import logging
  import os
  from pathlib import Path
label_desc: Use image node_id 16 for calling the RBM obj's underlying member method code with example usage: obj.init_gpu() without return types