Skip to content

Commit b30de63

Browse files
committed
Remove excess types
1 parent d4d6f74 commit b30de63

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

examples/train.zig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
const std = @import("std");
66
const kiwigrad = @import("kiwigrad");
7-
const zbench = @import("zbench");
87

98
pub fn main() !void {
109
const alloc = std.heap.page_allocator;
@@ -14,23 +13,17 @@ pub fn main() !void {
1413
const NeuronType = kiwigrad.nn.Neuron(f64);
1514
const LayerType = kiwigrad.nn.Layer(f64);
1615
const MLPType = kiwigrad.nn.MLP(f64);
17-
const ArrayType = kiwigrad.engine.Array(f64);
18-
const TensorType = kiwigrad.engine.Tensor(f64);
1916

2017
// Initialize allocators and components
2118
ValueType.init(alloc);
2219
NeuronType.init(alloc);
2320
LayerType.init(alloc);
2421
MLPType.init(alloc);
25-
ArrayType.init(alloc);
26-
TensorType.init(alloc);
2722
defer {
2823
ValueType.deinit();
2924
NeuronType.deinit();
3025
LayerType.deinit();
3126
MLPType.deinit();
32-
ArrayType.deinit();
33-
TensorType.deinit();
3427
}
3528

3629
var sizes = [_]usize{ 3, 2, 1 };

0 commit comments

Comments
 (0)