def bilinear_upsample(input_layer):
    output_layer = BilinearUpSampling2D((2, 2))(input_layer)
    return output_layer
def bilinear_upsample(input_layer):
    try:
        output_layer = BilinearUpSampling2D((2, 2))(input_layer)
    except:
        logging.error("Unexpected error:", sys.exc_info()[0])
    return output_layer