(self, model, gpu_str=None)
model: saved model dir, ckpt dir or frozen_graph_pb path
     gpu_str: list of gpu devices. e.g. '' for cpu, '0,1' for gpu 0,1
model: saved model dir, ckpt dir or frozen_graph_pb path
     gpu_str: list of gpu devices. e.g. '' for cpu, '0,1' for gpu 0,1
model : saved model dir ckpt dir or frozen_graph_pb path gpu_str : list of gpu devices . e . g . for cpu 0 1 for gpu 0 1
def __init__(self, model, gpu_str=None):
    '''
     model: saved model dir, ckpt dir or frozen_graph_pb path
     gpu_str: list of gpu devices. e.g. '' for cpu, '0,1' for gpu 0,1
    '''
    self.init_session(model, gpu_str)
def __init__ ( self , model , gpu_str = None ) : self . init_session ( model , gpu_str )