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.nn.layer import Layer
  from bigdl.util.common import *
  from zoo.common.utils import callZooFunc
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