We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9e9eb commit b1de713Copy full SHA for b1de713
Tensors/src/main/scala/com/thoughtworks/compute/Tensors.scala
@@ -940,7 +940,9 @@ trait Tensors extends OpenCL {
940
def split(dimension: Int): IndexedSeq[Tensor] = {
941
// TODO: override map/reduce to produce less OpenCL C code
942
val newShape = shape.patch(dimension, Nil, 1)
943
- new IndexedSeq[Tensor] {
+ final class TensorSeq extends IndexedSeq[Tensor] {
944
+
945
+ override def stringPrefix = "TensorSeq"
946
947
val length: Int = shape(dimension)
948
@@ -973,6 +975,7 @@ trait Tensors extends OpenCL {
973
975
}
974
976
977
978
+ new TensorSeq
979
980
981
/**
0 commit comments