Skip to content

Commit 25ad61a

Browse files
authored
Merge branch '0.3.x' into split-type-annotation
2 parents 2af1966 + ce885bc commit 25ad61a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Tensors/src/main/scala/com/thoughtworks/compute/Tensors.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,9 @@ trait Tensors extends OpenCL {
940940
def split(dimension: Int): IndexedSeq[TransformedTensor] = {
941941
// TODO: override map/reduce to produce less OpenCL C code
942942
val newShape = shape.patch(dimension, Nil, 1)
943-
new IndexedSeq[TransformedTensor] {
943+
final class TensorSeq extends IndexedSeq[TransformedTensor] {
944+
945+
override def stringPrefix = "TensorSeq"
944946

945947
val length: Int = shape(dimension)
946948

@@ -973,6 +975,7 @@ trait Tensors extends OpenCL {
973975
}
974976

975977
}
978+
new TensorSeq
976979
}
977980

978981
/**

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "0.3.0-SNAPSHOT"
1+
version in ThisBuild := "0.3.1-SNAPSHOT"

0 commit comments

Comments
 (0)