1 hour later…
2 hours later…
09:53
Python 3.6.6 |Anaconda custom (64-bit)| (default, Jun 28 2018, 17:14:51) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from functools import partial >>> >>> import numpy as np >>> import matplotlib.pyplot as plt >>> >>> import wstp >>> from wstp.hiwrapper import ExpressionSender, PythonicSender, ExpressionReceiver, PythonicReceiver >>> from wstp.npywrapper import NumpySender, NumpyReceiver >>> from wstp.symlist import * >>> >>> s = wstp.symbol_builder
4 hours later…
13:38
I think this should be closed as a duplicate of the indicated question: mathematica.stackexchange.com/q/181065/12 I voted too quickly and choose a different reason than duplicate.
14:57
@halirutan No, they're not using LibraryLink. The same guy has asked many MathLink questions in the past and he is using the WS-prefixed function names. He came to believe that MathLink and WSTP are different things and that MathLink can do something that WSTP can't.
@halirutan WSTP and MathLink are exactly the same thing in fact, and are generally interchangeable, except that I don't think that the WS-prefix functions work with LibraryLink. The example you copied from the documentation does show the WS-prefix functons, but I am not actually sure how to get it to work without changing all that that to the ML-prefix.
2 hours later…
3 hours later…
2 hours later…
When I first used Theano in 2014, I was thinking, "wow, this should definitely be part of Mathematica".
Theano gives a symbolic way to define and manipulate tensor expression. And a compiler to turn them into C/machine code.
Inside mathematica, you can almost do these things "natively". Using `SetDelayed` to define "graph" like dependency.
and `Compile` to generate low level code. All that left are symbolic functions such as `TensorExpressionSimplify`, `TensorGrad`, `TensorJacobian`, and `TensorCompile`.
and `Compile` to generate low level code. All that left are symbolic functions such as `TensorExpressionSimplify`, `TensorGrad`, `TensorJacobian`, and `TensorCompile`.
I've been spending fair amount of time trying to implement a custom gradient in Theano, while in MMA, you can theoretically just define a special rule.
22:59
@Kh40tiK Interesting to hear you say that. I suppose like many things in MMA it falls apart a bit when you get too far down. But I certainly haven't had any problems with it really! Some small things I'd like to have (mostly slightly clearer documentation) but other than that, I've built probably half a dozen networks from papers in the last week or so and it's been so smooth.
« first day (2419 days earlier) ← previous day next day → last day (2363 days later) »