Writes tiny TensorFlow Lite models, encoded by hand, so the tests need neither a downloaded artefact nor a Python toolchain.
float/1: onef32inputxof shape{1, 3}, and two outputs in this order:doubled(x + x) andsquared(x * x).quantised/1: oneu8inputxof shape{1, 3}(scale 0.5, zero point 10) and oneu8outputdoubled(scale 1.0, zero point 20).
Field numbers are from TensorFlow Lite's schema.fbs. The flatbuffer is
laid out front to back: every table is preceded by its vtable, and
everything a table refers to comes after it.