Update MNIST example to use new operator source locations and reflect recent API changes (sdpa bias removal, gatherSlices shape literals, Shape.outer, Tensor.all, and argMax dtype inference)
This commit is contained in:
parent
5bd7f8aae9
commit
223857251d
@ -33,7 +33,7 @@ const Mnist = struct {
|
||||
for (layers) |layer| {
|
||||
x = zml.call(layer, .forward, .{x});
|
||||
}
|
||||
return x.argMax(0, .u8).indices;
|
||||
return x.argMax(0).indices.convert(.u8);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user