@hackage fei-base1.0.0

FFI to MXNet

fei-base

build

  • Update stack.yml, pointing to the actuall MXNet dynamic library folder and include folder.
  • Build utility mxnet-op-gen: stack build fei-base:mxnet-op-gen
  • Generate tensor operations: LD_LIBRARY_PATH=<path-to-mxnet-lib> stack exec mxnet-op-gen -- -o ops/1.6
  • Rebuild library with tensor operations: stack build --flag fei-base:-mxnet_geq_10600

see also