One-Two-Three… One-Two-Three… We’re up and running!

Ok, TeX is supported:

Some code snippet here:

#include <metal_stdlib>
using namespace metal;

kernel void sigmoid(const device float *inVector [[ buffer(0) ]],
device float *outVector [[ buffer(1) ]],
uint id [[ thread_position_in_grid ]]) {
// This calculates sigmoid for _one_ position (=id) in a vector per call on the GPU
outVector[id] = 1.0 / (1.0 + exp(-inVector[id]));
}

Some image:

Electrical telegraph Electrical telegraph

.... . .-.. .-.. --- / .-- --- .-. .-.. -..