MCPcopy Create free account
hub / github.com/YuminosukeSato/ironkernel / elementwise_empty_buffer

Function elementwise_empty_buffer

src/ir/compiler.rs:245–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243
244 #[test]
245 fn elementwise_empty_buffer() {
246 let expr = Expr::Binary(
247 BinaryOp::Add,
248 Box::new(Expr::ArgRef(0)),
249 Box::new(Expr::Const(1.0)),
250 );
251 let args = vec![buf(vec![])];
252 let result = eval_elementwise(&expr, &args).unwrap();
253 assert!(result.is_empty());
254 }
255
256 // --- Select (where) ---
257

Callers

nothing calls this directly

Calls 1

eval_elementwiseFunction · 0.85

Tested by

no test coverage detected