Comments (2)
Not a maintainer, just a user, but this isn't a restriction of Fastor. To my, I think fairly extensive, knowledge non-type template parameters, the things you put into angled brackets, have to be constexpr
, so what you're asking isn't possible on the language level. Obviously, this doesn't mean that you cannot implement "dynamic tensors" that act like std::vector
, but that's an entirely different problem.
from fastor.
Fastor tensors are stack allocated. There is an unpublished dynamic sized tensor fork of Fastor. Making tensors dynamically allocated requires fundamental changes in Fastor and I am afraid there is no simple solution to this.
Thanks
from fastor.
Related Issues (20)
- Why Tensor's have this exact size? HOT 2
- Multiplying a complex tensor with a complex number gives zero HOT 1
- ARM Support? HOT 1
- einsum can't handle big tensor and get stack overflow HOT 1
- [feature] Support for tensor fields. HOT 1
- Tensor network contraction fails
- Another Operation on Tensor View Bug HOT 2
- Seg Fault when attempting broadcast. HOT 1
- [Feature Request] Constexpr Tensor HOT 3
- Inner product between 2 matrices HOT 1
- Support for apple's M1
- Python interfacer
- New minor release HOT 1
- How should I understood "Compile time operation minimisation such as graph optimisation, greedy matrix-chain products and nearly symbolic manipulations to reduce the complexity of evaluation of BLAS or non-BLAS type expressions by orders of magnitude" HOT 1
- Alternative einsum syntax using UDLs and tag dispatch HOT 2
- Build fails on PPC: simd_vector_scalar.h: error: assignment of read-only location '* data' HOT 2
- Variables in constructor do not compile HOT 2
- Is it possible to access a particular row or column of matrix and perform operation on it only HOT 1
- Pivoting speed HOT 1
- Heap allocation in debug builds due to FASTOR_EXIT_ASSERT macro HOT 1
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 fastor.