Compare commits

..

5 Commits

Author SHA1 Message Date
David Mak e48aadd16f WIP - Constants 2024-08-13 17:53:03 +08:00
David Mak d482896c8a WIP - Constants 2024-08-13 17:51:56 +08:00
David Mak 57d18ea2c3 WIP 2024-08-13 17:44:44 +08:00
David Mak bfe246a912 WIP 2024-08-13 17:39:17 +08:00
David Mak 0828ca29d4 WIP 2024-08-13 17:09:08 +08:00
1 changed files with 3 additions and 2 deletions

View File

@ -431,9 +431,10 @@ fn gen_rpc_tag(
); );
buffer.push(b'a'); buffer.push(b'a');
buffer.push(1u8); buffer.push((ndarray_ndims & 0xFF) as u8);
// buffer.push((ndarray_ndims & 0xFF) as u8);
gen_rpc_tag(ctx, ndarray_dtype, buffer)?; gen_rpc_tag(ctx, ndarray_dtype, buffer)?;
println!("buffer: {buffer:#04X?}");
} }
_ => return Err(format!("Unsupported type: {:?}", ctx.unifier.stringify(ty))), _ => return Err(format!("Unsupported type: {:?}", ctx.unifier.stringify(ty))),
} }