diff --git a/README.md b/README.md index 1a497a4..1212da2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![GoDev](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/gomlx/bsplines?tab=doc) [![GitHub](https://img.shields.io/github/license/gomlx/bsplines)](https://github.com/Kwynto/gosession/blob/master/LICENSE) -# [Example With Plots](https://gomlx.github.io/bsplines/) +# [Example With Plots](https://gomlx.github.io/bsplines/bsplines.html) This library provides 2 implementations of [B-Spline](https://en.wikipedia.org/wiki/B-spline) using the same API: one that evaluates fully in Go (CPU, slower) and one using [`GoMLX`](https://github.com/gomlx/gomlx) for ML and/or accelerators. diff --git a/docs/index.html b/docs/bsplines.html similarity index 100% rename from docs/index.html rename to docs/bsplines.html diff --git a/gomlx/gomlx.go b/gomlx/gomlx.go index c0855c0..ec34957 100644 --- a/gomlx/gomlx.go +++ b/gomlx/gomlx.go @@ -185,6 +185,6 @@ func (e *evalData) Extrapolation() (where, value *Node) { LessThan(e.inputs, kFirst), GreaterOrEqual(e.inputs, kLast)) where = ExpandAndBroadcast(where, []int{1}, []int{e.batchSize, e.numOutputs, e.numInputs}) - + return }