Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions example_dense_arith_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2192,7 +2192,7 @@ func ExampleDense_PowScalar_basic() {
// ⎡ 1 5 25⎤
// ⎢ 125 625 3125⎥
// ⎣ 15625 78125 390625⎦

//
// T1 is unchanged:
// ⎡0 1 2⎤
// ⎢3 4 5⎥
Expand All @@ -2204,7 +2204,7 @@ func ExampleDense_PowScalar_basic() {
// T3:
// ⎡ 0 1⎤
// ⎣ 243 1024⎦

//
// T1 is unchanged:
// ⎡0 1 2⎤
// ⎢3 4 5⎥
Expand Down
2 changes: 1 addition & 1 deletion example_dense_compat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/pdevine/tensor"
)

func ExampleDense_Arrow() {
func ExampleFromArrowArray() {
pool := memory.NewGoAllocator()

b := array.NewFloat64Builder(pool)
Expand Down
2 changes: 1 addition & 1 deletion example_iterator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func Example_iteratorcolMajor() {

}

func ExampleSliceIter() {
func ExampleSlice() {
T := New(WithShape(3, 3), WithBacking(Range(Float64, 0, 9)))
S, err := T.Slice(makeRS(1, 3), makeRS(1, 3))
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.0
require (
github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40
github.com/chewxy/hm v1.0.0
github.com/chewxy/math32 v1.10.1
github.com/chewxy/math32 v1.11.0
github.com/gogo/protobuf v1.3.2
github.com/golang/protobuf v1.5.4
github.com/google/flatbuffers v24.3.25+incompatible
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA
github.com/chewxy/hm v1.0.0 h1:zy/TSv3LV2nD3dwUEQL2VhXeoXbb9QkpmdRAVUFiA6k=
github.com/chewxy/hm v1.0.0/go.mod h1:qg9YI4q6Fkj/whwHR1D+bOGeF7SniIP40VweVepLjg0=
github.com/chewxy/math32 v1.0.0/go.mod h1:Miac6hA1ohdDUTagnvJy/q+aNnEk16qWUdb8ZVhvCN0=
github.com/chewxy/math32 v1.10.1 h1:LFpeY0SLJXeaiej/eIp2L40VYfscTvKh/FSEZ68uMkU=
github.com/chewxy/math32 v1.10.1/go.mod h1:dOB2rcuFrCn6UHrze36WSLVPKtzPMRAQvBvUwkSsLqs=
github.com/chewxy/math32 v1.11.0 h1:8sek2JWqeaKkVnHa7bPVqCEOUPbARo4SGxs6toKyAOo=
github.com/chewxy/math32 v1.11.0/go.mod h1:dOB2rcuFrCn6UHrze36WSLVPKtzPMRAQvBvUwkSsLqs=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
Expand Down