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 1153669 commit 39e14eeCopy full SHA for 39e14ee
Tensors/src/main/scala/com/thoughtworks/compute/Tensors.scala
@@ -73,9 +73,9 @@ trait Tensors extends OpenCL {
73
}
74
75
object Tensor {
76
- def fill(value: Float, shape0: Array[Int], padding: Float = 0.0f) = {
+ def fill(value: Float, shape0: Array[Int], padding0: Float = 0.0f) = {
77
new InlineTensor {
78
- val padding: Float = padding
+ val padding: Float = padding0
79
val shape: shape0.type = shape0
80
val closure: trees.FloatTerm = float.literal(value)
81
0 commit comments