To build tensorflow you need bazel. Someone would need to port bazel to NetBSD, to build it requires bazel itself though there are ways to bootstrap it. The Linux bootstrap binary of bazel doesn't currently work using the Linux emulation in NetBSD.