Skip to content

Instantly share code, notes, and snippets.

/*
snprintf produces \x00 characters in the middle of its output.
Runs on an nrf52850_dk (arm m4f)
Example output (NUL characters replaced with '!'):
[00:00:10.621,093] <err> main: 144 out of 13440: nul when printing
[00:00:10.621,124] <err> main: 0,1.000000,0.000000,2.000000,0.000000,3.000000,0.0000000,1.000000,0.000000,3.000!!!,0.000000,3.000000,0.000000
# Use the following prj.conf
@oryjkov
oryjkov / meta.tsv
Last active November 13, 2021 14:16
{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.githubusercontent.com/oryjkov/28e9286557611d8571686fdffaa45aba/raw/6fada32bd9f8ecba96502c30b614f32ea2d659cb/vecs.tsv",
"metadataPath": "https://gist.githubusercontent.com/oryjkov/28e9286557611d8571686fdffaa45aba/raw/6fada32bd9f8ecba96502c30b614f32ea2d659cb/meta.tsv"