From 1c755c0e5bb060e1676ef6583e0d2007a5016026 Mon Sep 17 00:00:00 2001 From: laurent Date: Wed, 28 Jun 2023 14:33:06 +0100 Subject: [PATCH] Remove some todos. --- candle-core/src/cpu_backend.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/candle-core/src/cpu_backend.rs b/candle-core/src/cpu_backend.rs index a5fdb826..f83bb5e6 100644 --- a/candle-core/src/cpu_backend.rs +++ b/candle-core/src/cpu_backend.rs @@ -577,7 +577,6 @@ impl CpuStorage { layout_f: &Layout, ) -> Result { // TODO: Support types that could be casted to a boolean. - // TODO: this should use the layout. let pred = self.as_slice::()?; match (t, f) { (Self::BF16(t), Self::BF16(f)) => { @@ -615,7 +614,6 @@ impl CpuStorage { hidden_size: usize, vocab_size: usize, ) -> Result { - // TODO: this should use the layout. let ids = self.as_slice::()?; map1!(vs, take_impl1, ids, layout, vocab_size, hidden_size) }