Skip to content

Instantly share code, notes, and snippets.

@sharanry
sharanry / FMUComplianceChecker_v2.0.4.patch
Last active January 20, 2022 13:38
Patch to make FMUComplianceChecker v2.0.4 build work
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2534c9..c6f349e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,14 +29,14 @@ if(MSVC)
endif()
set(FMUCHK_FMI_PLATFORM_DOC "FMI platform defines the subdirectory within FMU where binary is located")
-set(FMUCHK_FMI_PLATFORM �unknown� CACHE STRING ${FMUCHK_FMI_PLATFORM_DOC})
+set(FMUCHK_FMI_PLATFORM �unknown� CACHE STRING ${FMUCHK_FMI_PLATFORM_DOC})
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# using DrWatson
# @quickactivate "ParamRegNN"
@time using Revise
@time using CUDAdrv; @show CUDAdrv.name(CuDevice(0))
@time using CUDA
@time using AdvancedHMC #master
@time using Zygote
@time using Distributions
@time using Functors
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sharanry
sharanry / pystan.ipynb
Last active June 4, 2020 21:14
Simple Stan Test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sharanry
sharanry / GenVsTuring.ipynb
Last active December 20, 2019 14:48
Turing HMC vs Gen MH & SMC
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sharanry
sharanry / SimpleNFVI.ipynb
Last active August 29, 2019 08:50
Simple NFVI
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
diff --git a/src/interface.jl b/src/interface.jl
index 4536bda..1581def 100644
--- a/src/interface.jl
+++ b/src/interface.jl
@@ -98,7 +98,7 @@ julia> cb = b ∘ b;
julia> x = randn(2, 3)
2×3 Array{Float64,2}:
- 0.0660476 -0.77195 -1.7832
+ 0.0660476 -0.77195 -1.7832
@sharanry
sharanry / nfvi.ipynb
Last active August 26, 2019 13:52
Normalising Flows VI Prototype
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.