* AIscm array operations for Scheme
@ 2017-08-02 20:15 Jan Wedekind
2017-08-03 1:48 ` Nala Ginrut
0 siblings, 1 reply; 5+ messages in thread
From: Jan Wedekind @ 2017-08-02 20:15 UTC (permalink / raw)
To: guile-user
Hi,
I have released a new version of AIscm [1]. A Guile extension for
numerical arrays and tensors. It now supports convolutions [2] and tensor
operations [3]. There are packages for different versions of Debian and
Ubuntu. Also thanks to Andrey Rahmatullin's sponsorship, the package is
part of Debian Testing [4].
Regards
Jan
[1] http://wedesoft.github.io/aiscm/
[2] http://wedesoft.github.io/aiscm/convolution.html
[3] http://wedesoft.github.io/aiscm/operation.html#tensor-operations
[4] https://tracker.debian.org/pkg/aiscm
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AIscm array operations for Scheme
2017-08-02 20:15 AIscm array operations for Scheme Jan Wedekind
@ 2017-08-03 1:48 ` Nala Ginrut
2017-08-03 7:23 ` Jan Wedekind
0 siblings, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2017-08-03 1:48 UTC (permalink / raw)
To: Jan Wedekind; +Cc: Guile User
Nice work!
Do you use BLAS or MKL for vector operation?
2017年8月3日 04:16,"Jan Wedekind" <jan@wedesoft.de>写道:
> Hi,
> I have released a new version of AIscm [1]. A Guile extension for
> numerical arrays and tensors. It now supports convolutions [2] and tensor
> operations [3]. There are packages for different versions of Debian and
> Ubuntu. Also thanks to Andrey Rahmatullin's sponsorship, the package is
> part of Debian Testing [4].
>
> Regards
> Jan
>
> [1] http://wedesoft.github.io/aiscm/
> [2] http://wedesoft.github.io/aiscm/convolution.html
> [3] http://wedesoft.github.io/aiscm/operation.html#tensor-operations
> [4] https://tracker.debian.org/pkg/aiscm
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AIscm array operations for Scheme
2017-08-03 1:48 ` Nala Ginrut
@ 2017-08-03 7:23 ` Jan Wedekind
2017-08-03 14:53 ` Nala Ginrut
0 siblings, 1 reply; 5+ messages in thread
From: Jan Wedekind @ 2017-08-03 7:23 UTC (permalink / raw)
To: Nala Ginrut; +Cc: Guile User
Thanks.
Currently neither. I have in mind to add some LAPACK bindings (singular
value decomposition, eigenvalue decomposition, least squares to begin
with). First full native floating point support needs to be implemented.
Here is an example of a matrix vector product:
(use-modules (aiscm sequence) (aiscm expression) (aiscm tensor))
(tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 11 13) k))))
$3 = #<sequence<int<8,unsigned>>>:
(87 124)
Floating point values currently fall back on Scheme objects:
(tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 1.1 1.3) k))))
$4 = #<sequence<obj>>:
(8.7 12.4)
Note that in this case the array loops are still JIT compiled. Addition
and multiplication are handled by JIT compiling callbacks into GNU Guile
(scm_plus, scm_product).
Regards
Jan
On Thu, 3 Aug 2017, Nala Ginrut wrote:
> Nice work!
> Do you use BLAS or MKL for vector operation?
>
>
> 2017年8月3日 04:16,"Jan Wedekind" <jan@wedesoft.de>写道:
>
>> Hi,
>> I have released a new version of AIscm [1]. A Guile extension for
>> numerical arrays and tensors. It now supports convolutions [2] and tensor
>> operations [3]. There are packages for different versions of Debian and
>> Ubuntu. Also thanks to Andrey Rahmatullin's sponsorship, the package is
>> part of Debian Testing [4].
>>
>> Regards
>> Jan
>>
>> [1] http://wedesoft.github.io/aiscm/
>> [2] http://wedesoft.github.io/aiscm/convolution.html
>> [3] http://wedesoft.github.io/aiscm/operation.html#tensor-operations
>> [4] https://tracker.debian.org/pkg/aiscm
>>
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AIscm array operations for Scheme
2017-08-03 7:23 ` Jan Wedekind
@ 2017-08-03 14:53 ` Nala Ginrut
2017-08-03 21:03 ` Jan Wedekind
0 siblings, 1 reply; 5+ messages in thread
From: Nala Ginrut @ 2017-08-03 14:53 UTC (permalink / raw)
To: Jan Wedekind; +Cc: Guile User
Looks promising! What's the plan about AIscm in the future? Is it aiming
for a library, or something research tool like Sage?
2017年8月3日 15:23,"Jan Wedekind" <jan@wedesoft.de>写道:
> Thanks.
> Currently neither. I have in mind to add some LAPACK bindings (singular
> value decomposition, eigenvalue decomposition, least squares to begin
> with). First full native floating point support needs to be implemented.
> Here is an example of a matrix vector product:
>
> (use-modules (aiscm sequence) (aiscm expression) (aiscm tensor))
> (tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 11 13) k))))
> $3 = #<sequence<int<8,unsigned>>>:
> (87 124)
>
> Floating point values currently fall back on Scheme objects:
>
> (tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 1.1 1.3)
> k))))
> $4 = #<sequence<obj>>:
> (8.7 12.4)
>
> Note that in this case the array loops are still JIT compiled. Addition
> and multiplication are handled by JIT compiling callbacks into GNU Guile
> (scm_plus, scm_product).
>
> Regards
> Jan
>
> On Thu, 3 Aug 2017, Nala Ginrut wrote:
>
> Nice work!
>> Do you use BLAS or MKL for vector operation?
>>
>>
>> 2017年8月3日 04:16,"Jan Wedekind" <jan@wedesoft.de>写道:
>>
>> Hi,
>>> I have released a new version of AIscm [1]. A Guile extension for
>>> numerical arrays and tensors. It now supports convolutions [2] and tensor
>>> operations [3]. There are packages for different versions of Debian and
>>> Ubuntu. Also thanks to Andrey Rahmatullin's sponsorship, the package is
>>> part of Debian Testing [4].
>>>
>>> Regards
>>> Jan
>>>
>>> [1] http://wedesoft.github.io/aiscm/
>>> [2] http://wedesoft.github.io/aiscm/convolution.html
>>> [3] http://wedesoft.github.io/aiscm/operation.html#tensor-operations
>>> [4] https://tracker.debian.org/pkg/aiscm
>>>
>>>
>>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AIscm array operations for Scheme
2017-08-03 14:53 ` Nala Ginrut
@ 2017-08-03 21:03 ` Jan Wedekind
0 siblings, 0 replies; 5+ messages in thread
From: Jan Wedekind @ 2017-08-03 21:03 UTC (permalink / raw)
To: Nala Ginrut; +Cc: Guile User
I want to do something better than HornetsEye (Ruby library I developed).
Maybe one can also use it to implement finite element simulations and
neural networks.
On Thu, 3 Aug 2017, Nala Ginrut wrote:
> Looks promising! What's the plan about AIscm in the future? Is it aiming
> for a library, or something research tool like Sage?
>
> 2017年8月3日 15:23,"Jan Wedekind" <jan@wedesoft.de>写道:
>
>> Thanks.
>> Currently neither. I have in mind to add some LAPACK bindings (singular
>> value decomposition, eigenvalue decomposition, least squares to begin
>> with). First full native floating point support needs to be implemented.
>> Here is an example of a matrix vector product:
>>
>> (use-modules (aiscm sequence) (aiscm expression) (aiscm tensor))
>> (tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 11 13) k))))
>> $3 = #<sequence<int<8,unsigned>>>:
>> (87 124)
>>
>> Floating point values currently fall back on Scheme objects:
>>
>> (tensor i (sum k (* (get (arr (2 3) (5 7)) i k) (get (arr 1.1 1.3)
>> k))))
>> $4 = #<sequence<obj>>:
>> (8.7 12.4)
>>
>> Note that in this case the array loops are still JIT compiled. Addition
>> and multiplication are handled by JIT compiling callbacks into GNU Guile
>> (scm_plus, scm_product).
>>
>> Regards
>> Jan
>>
>> On Thu, 3 Aug 2017, Nala Ginrut wrote:
>>
>> Nice work!
>>> Do you use BLAS or MKL for vector operation?
>>>
>>>
>>> 2017年8月3日 04:16,"Jan Wedekind" <jan@wedesoft.de>写道:
>>>
>>> Hi,
>>>> I have released a new version of AIscm [1]. A Guile extension for
>>>> numerical arrays and tensors. It now supports convolutions [2] and tensor
>>>> operations [3]. There are packages for different versions of Debian and
>>>> Ubuntu. Also thanks to Andrey Rahmatullin's sponsorship, the package is
>>>> part of Debian Testing [4].
>>>>
>>>> Regards
>>>> Jan
>>>>
>>>> [1] http://wedesoft.github.io/aiscm/
>>>> [2] http://wedesoft.github.io/aiscm/convolution.html
>>>> [3] http://wedesoft.github.io/aiscm/operation.html#tensor-operations
>>>> [4] https://tracker.debian.org/pkg/aiscm
>>>>
>>>>
>>>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-03 21:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 20:15 AIscm array operations for Scheme Jan Wedekind
2017-08-03 1:48 ` Nala Ginrut
2017-08-03 7:23 ` Jan Wedekind
2017-08-03 14:53 ` Nala Ginrut
2017-08-03 21:03 ` Jan Wedekind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).