Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix Clojure BERT example's context argument #14843

Merged
merged 3 commits into from
Apr 30, 2019

Commits on Apr 30, 2019

  1. Clojure BERT example: minor code cleanup

    * Remove unused requires
    * Remove unused vars & function
    * Use `io` alias
    daveliepmann committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    74d3329 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc96496 View commit details
    Browse the repository at this point in the history
  3. Clojure BERT example: allow running with GPU

    The `infer` function accepts a CPU/GPU context, which the command line
    version of this example exposes as a `:cpu`/`:gpu`
    keyword. Previously, these options were ignored and the context was
    overridden to the default context (CPU). This commit allows
    users (both REPL and shell) to pass in a GPU context.
    daveliepmann committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    5622765 View commit details
    Browse the repository at this point in the history