When I tried to run test_gemm_op.py, this error occured:
import tensorflow as tf import sys sys.path.append(r'/home/intern/model_compression/code/tensorflow-xnor-bnn/libs') sys.path.append(r'/home/intern/model_compression/code/tensorflow-xnor-bnn/obj') from gemm_op import xnor_gemm
Traceback (most recent call last):
File "test_gemm_op.py", line 5, in
from gemm_op import xnor_gemm
ImportError: dynamic module does not define module export function (PyInit_gemm_op)
When I tried to run test_gemm_op.py, this error occured:
import tensorflow as tf import sys sys.path.append(r'/home/intern/model_compression/code/tensorflow-xnor-bnn/libs') sys.path.append(r'/home/intern/model_compression/code/tensorflow-xnor-bnn/obj') from gemm_op import xnor_gemm
Traceback (most recent call last): File "test_gemm_op.py", line 5, in
from gemm_op import xnor_gemm
ImportError: dynamic module does not define module export function (PyInit_gemm_op)