Skip to content

Commit 2c3f06d

Browse files
committed
v0.2.4
1 parent 0b2b7d9 commit 2c3f06d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SliceMap"
22
uuid = "82cb661a-3f19-5665-9e27-df437c7e54c8"
33
authors = ["Michael Abbott"]
4-
version = "0.2.3"
4+
version = "0.2.4"
55

66
[deps]
77
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
@@ -13,9 +13,9 @@ ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444"
1313
[compat]
1414
ForwardDiff = "0.8, 0.9, 0.10"
1515
JuliennedArrays = "0.0.3, 0.2"
16-
StaticArrays = "0.10, 0.11, 0.12"
16+
StaticArrays = "0.10, 0.11, 0.12, 1.0"
1717
Tracker = "0.2"
18-
Zygote = "0.4"
18+
Zygote = "0.4, 0.5, 0.6"
1919
ZygoteRules = "0.2"
2020
julia = "1"
2121

docs/intro.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SliceMap.jl
22

3-
Some examples & benchmarks.
3+
Some examples & benchmarks. Times shown were on Julia 1.2 I think,
4+
and some have improved quite a bit since.
45

56
## Simple example
67

@@ -66,12 +67,10 @@ Zygote.gradient(m -> sum(sin, jumap(fun, m)), mat)[1]
6667
@btime Zygote.gradient(m -> sum(jumap1(fun, m)), $mat1k) # 412.904 μs, really?
6768
```
6869

69-
It used to do the same thing for the slice/glue functions in
70-
[TensorCast](https://github.com/mcabbott/TensorCast.jl),
71-
but but that should soon be part of that package:
70+
Similar gradients also moved to [TensorCast](https://github.com/mcabbott/TensorCast.jl):
7271

7372
```julia
74-
using TensorCast#two
73+
using TensorCast
7574
@cast [i,j] := fun(mat[:,j])[i] # same as mapcols
7675

7776
tcm(mat) = @cast out[i,j] := fun(mat[:,j])[i]

0 commit comments

Comments
 (0)