.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.
This was done by script:
```py
import re
import datetime
import pathlib
import sys
import frontmatter
rx = re.compile(r'^(\s*)date_added:.*$', re.M)
for path_str in sys.argv[1:]:
print(path_str)
path = pathlib.Path(path_str)
post = frontmatter.load(path)
date_added = post.get("date_added", "")
if isinstance(date_added, datetime.date):
continue
if isinstance(date_added, str):
try:
date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
except ValueError as exc:
print(f"Failed to parse date {date_added} in {path_str}: {exc}")
continue
date_added = date_added.date()
content = path.read_text("utf-8")
new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
assert content != new_content
path.write_text(new_content, "utf-8")
```
1.3 KiB
1.3 KiB
| layout | board_id | title | name | manufacturer | board_url | board_image | downloads_display | blinka | date_added | features | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| download | jetson_xavier_nx | Jetson Xavier NX | Jetson Xavier NX | NVIDIA |
|
jetson_xavier_nx.jpg | true | true | 2020-03-25 |
Jetson Xavier NX delivers up to 21 TOPS for running modern AI workloads, consumes as little as 10 watts of power, and has a compact form factor smaller than a credit card. It can run modern neural networks in parallel and process data from multiple high-resolution sensors, opening the door for embedded and edge computing devices that demand increased performance but are constrained by size, weight, and power budgets.
- GPU 384-core NVIDIA Volta™ GPU with 48 Tensor Cores
- CPU 800/1100 MHz 6-core NVIDIA Carmel ARM®v8.2 64-bit CPU 6MB L2 + 4MB L3
- Memory 8 GB 128-bit LPDDR4x @ 1600 MHz 51.2GB/s
- Storage 16 GB eMMC 5.1
- Power 10/15W
- PCIe 1 x1 + 1x4
- CSI Camera Up to 6 cameras (36 via virtual channels)
- Video Encode 2x 4K @ 30 (HEVC)
- Video Decode 2x 4K @ 60 (HEVC)
- Display 2 multi-mode DP 1.4/eDP 1.4/HDMI 2.0
- DL Accelerator 2x NVDLA Engines
- Networking 10/100/1000 BASE-T Ethernet