code: def __process_shape(self, shape):
      if len(shape) == 1:
          return self.__to_keras_shape(shape[0])
      else:
          return [self.__to_keras_shape(s) for s in shape]
  
imports: from bigdl.dllib.nn.layer import Layer
  from bigdl.dllib.utils.common import *
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 3 for calling the InferShape obj's underlying member method code with example usage: obj.__process_shape(shape) and returns: self, unknown