File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 44
55const std = @import ("std" );
66const kiwigrad = @import ("kiwigrad" );
7- const zbench = @import ("zbench" );
87
98pub 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 };
You can’t perform that action at this time.
0 commit comments