This repository contains some examples of parametric machines:
DenseMachine
,ConvMachine
,RecurMachine
.
To reproduce figures (relative to the parametric machines manuscript), clone the repository.
Then, from the top-level, initialize Julia (version 1.7.2 was used) with the figures
project:
julia --project=figures
Use Pkg.instantiate
to install all required dependencies.
julia> import Pkg; Pkg.instantiate()
Run
julia> include("figures/run_benchmarks.jl")
to generate the benchmark results (note that this requires CUDA).
Finally, run
julia> include("figures/benchmarks.jl")
and
julia> include("figures/depthsequence.jl")
to generate the figures.