Bruce Lee's Notes

Systems, programming, and engineering practice

Max, Min, and Sum: Similar Operators, Different Mathematical Homework

Share reduction structure without copying initialization, accumulation, or rescaling semantics.

Series contents · Numerics and Quantization · 阅读中文版 “We already have mean. For sum, remove the division; for max and min, change a symbol. Finished by this afternoon?” If an operator support list w......

The Vanishing Dimension: How keep_dims=false Can Break an Inverse Permutation

Preserve axis identity when dimensions disappear, then reconstruct the inverse permutation.

Series contents · Numerics and Quantization · 阅读中文版 “Everything passes when we keep the dimensions. Everything fails when we drop them.” It sounds like an unusually polite error message: it practic......

Just Take the Mean—Why Is the Compiler Writing Loops?

Lower arbitrary reduction axes into executable loops and account for layout and transfer costs.

Series contents · Numerics and Quantization · 阅读中文版 “The operator is one line: take the mean.” A colleague slides over a sheet of paper. It really does contain one line. Half an hour later, the whi......

Compiler Engineering Notes: 48 Bilingual Articles and Reading Paths

Numerics, operators, resources, and compiler delivery

阅读中文版目录 48 long-form articles on compiler numerics, layouts, scheduling, and delivery. The stories often start with a small question: why does computing a mean require moving data? Why can a progra......

ROS2 Fleet Coordinator V1: From Task Submission to Route Dispatch

ROS2

ROS2 Fleet Coordinator V1: From Task Submission to Route Dispatch ros2-fleet-coordinator does not start by solving advanced fleet optimization, conflict resolution, or full Nav2 integration. The fi......