Re: [eigen] Re: Eigen tensor module

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi Rasmus/Eugene,
 Thanks. Adding support for a dynamic ranking, say, DTensor<T, Options,...> seems to be a step forward for eigenTensor.
 I guess the best would perhaps to offer both the current Tensor<T,R,...> and a new "DTensor<T,Options,...>", is nt it ?
Kind
W.

Share your
feedback with us

 
From: Rasmus Munk Larsen <rmlarsen@xxxxxxxxxx>
Sent: Tuesday, October 29, 2019 10:31 AM
To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [eigen] Re: Eigen tensor module
 
This was an early design decision. Benoit Steiner did have some plans to add support for dynamic tensors, but it was never implemented. There are no current plans to add this feature, but you are of course welcome to contribute it.

Rasmus

On Tue, Oct 29, 2019 at 10:23 AM William Tambellini <wtambellini@xxxxxxx> wrote:
Hello Tom
I would also favor ranking to be a runtime thing : that s also the choice made by xtensor and ArrayFire :
Now, are eigen::tensor imposing ranking to be template/compil-time for performance reasons ?
Regards
W.

 
From: Peterka, Thomas <tpeterka@xxxxxxxxxxx>
Sent: Friday, October 25, 2019 9:12 AM
To: eigen@xxxxxxxxxxxxxxxxxxx <eigen@xxxxxxxxxxxxxxxxxxx>
Subject: [eigen] Eigen tensor module
 
Hello,

Is there any way to give the rank of an Eigen tensor at run time, or are there any plans to make this a dynamic run-time parameter? The tensor module would be extremely useful for me if not for the limitation that the rank needs to be specified as compile-time template parameter. I am unable to use Eigen tensors for a generic n-dimensional application where I don’t know the tensor rank in advance.

Please let me know if I’m missing something or if there are any future plans to change this? The boost tensor module, for example, has dynamic ranks and sizes:



Thanks,
Tom
-----------------
Tom Peterka
Mathematics and Computer Science Division
Argonne National Laboratory
9700 S. Cass Ave.
Lemont, IL 60439
Bldg 240, Rm 2148
e-mail: tpeterka@xxxxxxxxxxx
web: www.mcs.anl.gov/~tpeterka
phone: 630-252-7198



Click here to report this email as spam.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/