Skip to content

Commit b9fe3c2

Browse files
authored
Merge pull request #1669 from vespa-engine/bratseth/correct-type
Use correct value type
2 parents 291ecdb + 4cbb5ba commit b9fe3c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

billion-scale-image-search/src/test/java/ai/vespa/examples/docproc/DocumentReductionDocProcTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void test_happy_path() {
6868
}
6969

7070
static TensorFieldValue getTensor() {
71-
TensorType type = new TensorType.Builder(TensorType.Value.FLOAT).indexed("x", 768).build();
71+
TensorType type = new TensorType.Builder(TensorType.Value.BFLOAT16).indexed("x", 768).build();
7272
IndexedTensor.Builder builder = IndexedTensor.Builder.of(type);
7373
for (int j = 0; j < 768; j++)
7474
builder.cell(1.0, j);

0 commit comments

Comments
 (0)