Martin Smit

Results 12 issues of Martin Smit

I'm trying to do inference on a 2D ODE model but I'm running into an error during inference where the batch size is reduced to 0 resulting in the following...

**Describe the bug** Initialising a model with 0 agent of a certain type, then passing `adata` to the `run!` function where you count the number of each type gives this...

discussion

Based on [this answer](https://github.com/google/jax/discussions/6153#discussioncomment-506909) I came up with the following code to count the number of parameters. The default `replace = None` has size 1 so `[]` is used instead....

question

This pull request adds a configuration file to be used with JuliaFormatter.jl, the built-in formatter of Julia for VSCode and the most popular one in general. This will allow a...

**Is your feature request related to a problem? Please describe.** As a game theory guy, my agents need to interact in groups, often pairwise. Currently it's not clear how to...

documentation

**Is your feature request related to a problem? Please describe.** The repository doesn't have a style guide or formatting and linting options. Providing such a document or files would force...

### TLDR: This PR adds documentation to `@grad` that specifies what the `@grad`ed function should return, and documents that any variables defined outside of the returned adjoint function have their...

#246 pointed out that the docs are not correctly deployed. Unfortunately, this is still the case so in the meantime a quick "bandaid" fix which makes the stable docs accessible...

### Problem Compilation can't be used with run-time control flow. This stops some code from taking advantage of tape compilation. ### Possible solution Enable ReverseDiff's tape caching functionality to be...

In my application, it would be nice to calculate a tessellation inside an arbitrary bounding shape. What needs to be implemented for this to work? With some guidance I could...