• Welcome to Jekyll!

    You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

    To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

    Jekyll also offers powerful support for code snippets:

    def print_hi(name)
      puts "Hi, #{name}"
    #=> prints 'Hi, Tom' to STDOUT.

    Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

  • Sample Post

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. In at congue neque. Sed sed iaculis turpis. Nullam pretium est nec metus mattis, ut hendrerit metus egestas. Sed faucibus nulla sed eleifend sollicitudin. Integer nec est et massa ultrices gravida at nec nulla. Sed sit amet dictum nunc. In accumsan velit viverra lectus lobortis egestas. Sed vel leo elit. Donec tempus dui id nulla sodales, nec interdum odio consequat. Mauris dictum placerat orci, in semper sapien commodo vitae. Aliquam et mauris vel tortor molestie tincidunt. Morbi vulputate, ante sit amet venenatis pretium, nibh lacus laoreet erat, id accumsan lectus est eget velit. Morbi eget finibus lectus. In hendrerit ullamcorper enim, ornare aliquet dolor sagittis vel. Etiam eu enim consectetur, convallis odio id, sollicitudin leo.

    def merge_topk_batch(topk_ind, topk_dist, batch_ind, batch_dist, k):
        topk_ind[:,k:] = batch_ind[:,:k]
        topk_dist[:,k:] = batch_dist[:,:k]
        all_idx = np.argpartition(topk_dist, k, axis=1)[:,:k]
        for i, idx in enumerate(all_idx):
            topk_ind[i,:k] = topk_ind[i,idx]
            topk_dist[i,:k] = topk_dist[i,idx]
        return topk_ind, topk_dist

    Quisque tincidunt porttitor mi in porttitor. Aenean vel tincidunt nisi, et malesuada nunc. In efficitur convallis porttitor. Donec enim ex, ultrices nec ullamcorper ut, finibus sit amet magna. Vivamus justo eros, euismod at purus vel, tristique mollis justo. Donec et augue condimentum, aliquam felis quis, tristique velit. Praesent at enim eu purus gravida mattis vel tristique felis. Pellentesque rutrum non libero in congue. Vestibulum felis lorem, elementum sed sapien vel, sagittis accumsan odio. Aliquam iaculis feugiat felis. Curabitur id risus quam. Etiam finibus ut erat sit amet posuere. In lobortis ipsum eget est laoreet porttitor.