    def test_embedding_one_image_multiple_times(self, pipeline_model, embedding_size):
        """
        target: test embedding for normal case
        method: embedding one image for multiple times
        expected: return identical embeddings
        """
        nums = 10
        emb_conf = AutoConfig.load_config(pipeline_name)
        emb_conf.model = pipeline_model
        emb_pipe = AutoPipes.pipeline(pipeline_name, emb_conf)
        embedding_last = emb_pipe(data_path + "towhee_test_image1.jpg").to_list()[0][0].tolist()
        for i in range(nums):
            embedding = emb_pipe(data_path + "towhee_test_image1.jpg").to_list()[0][0].tolist()
            assert len(embedding) == embedding_size
            assert embedding == embedding_last
            print("embedding images for %d round" % (i+1))
        return True
target: test embedding for normal case
method: embedding one image for multiple times
expected: return identical embeddings
tests/testcases/test_image_embedding.py