Comments (5)
Hello @mo-morikawa ,
it's really nice that you can run your deep network models 😄
Currently, the only way of loading the weights and biases are to load them manually, meaning that you have to open and read the values from the file and then use them to fill the tensor manually. You can use some iterators to do this easily. Have a look here for some examples on how to fill a tensor.
I think it would be useful to have a function to automate and simplify this process so we will try to have something in place for the next release.
from computelibrary.
Hello @GeorgeARM ,
The example you gave is just for the formulation with NHW(batch, height, width), but how about the in-out channels? Is it the (out channels, height, width, in channels) formulation? I want to know something about convolution kernel shape.
from computelibrary.
Hell @SunAriesCN,
Apologies for my late response. Convolution kernels shape is [OFM, IFM, H, W] with faster changing dimensions from right to left, where OFM are the output feature maps and IFM the input feature maps.
Does this answer your question?
from computelibrary.
Latest release 17.09 adds initial support of a graph API. An example can be found here. A numpy loader is provided as well here where you can load weights dumped from caffe or tensorflow. Have a look for more details on how to do this here
from computelibrary.
Closing issue. Reopen if needed.
from computelibrary.
Related Issues (20)
- Error When compile neon_cnn.cpp using aarch64-linux-gnu-g++ tools HOT 2
- Documentation isn't work for 23.08 release HOT 2
- Pure image processing operations HOT 2
- Add support for self-attention layer for GPU HOT 1
- How to use fixed format kernel? HOT 2
- How to add a new operator to ACL HOT 2
- ACL implementation for Filtering functions like FIR/IIR HOT 2
- Question about thread-safety
- Latency for Conv2d and Depthwise HOT 2
- Errors while build configuration using cmake. HOT 1
- Why do the resnet50 results of arm neon cnn not correspond to pytorch?
- Benchmark quantify test HOT 1
- Crash when using softmax HOT 3
- Convolution performance issues: NCHW slower than NHWC HOT 2
- The size limitation for CLFFT1D HOT 3
- linear+gelu fused operator is not supported in ACL HOT 6
- sparse gemm kernels are not supported in ACL HOT 5
- ACL operators need to be made stateless to avoid runtime initialization overhead HOT 2
- why compile_commands.json not generated? HOT 2
- ohos HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from computelibrary.