ARM-software / ML-examples

Arm Machine Learning tutorials and examples

Home Page:https://developer.arm.com/technologies/machine-learning-on-arm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deploy tensorflow model using armnn

anis-13 opened this issue · comments

/tmp/ccMoa1wM.o: In function main': mnist_tf.cpp:(.text+0xa54): undefined reference to armnnTfParser::ITfParser::Create()'
mnist_tf.cpp:(.text+0xa88): undefined reference to armnn::TensorShape::TensorShape(std::initializer_list<unsigned int>)' mnist_tf.cpp:(.text+0xc84): undefined reference to armnn::IRuntime::Create(armnn::IRuntime::CreationOptions const&)'
mnist_tf.cpp:(.text+0xd2c): undefined reference to armnn::Optimize(armnn::INetwork const&, std::vector<armnn::BackendId, std::allocator<armnn::BackendId> > const&, armnn::IDeviceSpec const&, armnn::OptimizerOptions const&, armnn::Optional<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&>)' /tmp/ccMoa1wM.o: In function armnn::ConstTensor::BaseTensor(armnn::TensorInfo const&, void const*)':
mnist_tf.cpp:(.text.ZN5armnn11ConstTensorCI2NS_10BaseTensorIPKvEEERKNS_10TensorInfoES3[ZN5armnn11ConstTensorCI5NS_10BaseTensorIPKvEEERKNS_10TensorInfoES3]+0x24): undefined reference to armnn::BaseTensor<void const*>::BaseTensor(armnn::TensorInfo const&, void const*)' /tmp/ccMoa1wM.o: In function armnn::Tensor::BaseTensor(armnn::TensorInfo const&, void*)':
mnist_tf.cpp:(.text.ZN5armnn6TensorCI2NS_10BaseTensorIPvEEERKNS_10TensorInfoES2[ZN5armnn6TensorCI5NS_10BaseTensorIPvEEERKNS_10TensorInfoES2]+0x24): undefined reference to armnn::BaseTensor<void*>::BaseTensor(armnn::TensorInfo const&, void*)' /tmp/ccMoa1wM.o: In function armnn::ConstTensor::ConstTensor(armnn::ConstTensor&&)':
mnist_tf.cpp:(.text.ZN5armnn11ConstTensorC2EOS0[ZN5armnn11ConstTensorC5EOS0]+0x18): undefined reference to armnn::BaseTensor<void const*>::BaseTensor(armnn::BaseTensor<void const*> const&)' /tmp/ccMoa1wM.o: In function armnn::Tensor::Tensor(armnn::Tensor&&)':
mnist_tf.cpp:(.text.ZN5armnn6TensorC2EOS0[ZN5armnn6TensorC5EOS0]+0x18): undefined reference to armnn::BaseTensor<void*>::BaseTensor(armnn::BaseTensor<void*> const&)' /tmp/ccMoa1wM.o: In function std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, armnn::TensorShape>::pair<char const (&) [12], true>(char const (&) [12], armnn::TensorShape const&)':
mnist_tf.cpp:(.text.ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5armnn11TensorShapeEEC2IRA12_KcLb1EEEOT_RKS8[ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5armnn11TensorShapeEEC5IRA12_KcLb1EEEOT_RKS8]+0x6c): undefined reference to armnn::TensorShape::TensorShape(armnn::TensorShape const&)' /tmp/ccMoa1wM.o: In function armnn::ConstTensor::ConstTensor(armnn::ConstTensor const&)':
mnist_tf.cpp:(.text.ZN5armnn11ConstTensorC2ERKS0[ZN5armnn11ConstTensorC5ERKS0]+0x18): undefined reference to armnn::BaseTensor<void const*>::BaseTensor(armnn::BaseTensor<void const*> const&)' /tmp/ccMoa1wM.o: In function armnn::Tensor::Tensor(armnn::Tensor const&)':
mnist_tf.cpp:(.text.ZN5armnn6TensorC2ERKS0[ZN5armnn6TensorC5ERKS0]+0x18): undefined reference to armnn::BaseTensor<void*>::BaseTensor(armnn::BaseTensor<void*> const&)' /tmp/ccMoa1wM.o: In function std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, armnn::TensorShape>::pair(std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, armnn::TensorShape> const&)':
mnist_tf.cpp:(.text.ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5armnn11TensorShapeEEC2ERKS9[ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5armnn11TensorShapeEEC5ERKS9]+0x38): undefined reference to `armnn::TensorShape::TensorShape(armnn::TensorShape const&)'
collect2: error: ld returned 1 exit status

i got this error while trying to upload a tensorflow model using Mnist_tf.cpp

anyone can help me please ?