-
Notifications
You must be signed in to change notification settings - Fork 4
JSON
Zentetsu edited this page Nov 7, 2024
·
3 revisions
It's possible to define the shared memory via a JSON
file.
{
"basic_data": [
10,
1234.5678,
true,
"Hello World"
],
}
-
list
: value corresponds to the number of element inside the array (will be improved soon) -
nparray
: (WARNING: it will initialized the shared memory withnumpy.zeros
, size can be insuffisant)- First value defines the data shape
- Second value defines the type
{
"structured_data": {
"_LIST": 10,
"_NPARRAY": [
[
4,
4,
2
],
"uint8"
]
}
}