erlang各种有用的函数包括一些有用nif封装,还有一些性能测试case。
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
175 B

  1. #ifndef NEURAL_UTILS_H
  2. #define NEURAL_UTILS_H
  3. #include "erl_nif.h"
  4. #define WORD_SIZE sizeof(int)
  5. unsigned long int estimate_size(ErlNifEnv *env, ERL_NIF_TERM term);
  6. #endif