def encode_images(model, IM):
 images = model['f_ienc'](IM)
 return images

def encode_images ( model , IM ) : images = model [ 'f_ienc' ] ( IM ) return images
encode images into the joint embedding space .