Hartmut Kaiser

Results 521 comments of Hartmut Kaiser

This is not supported (yet), as we don't support classes at all.

We should implement this instead: ``` from phylanx import Phylanx @Phylanx class test: n = 0 def __init__(self,n): self.n = n def do(self,m): self.n += m if __name__ == "__main__":...

@parsa once #704 is merged you might want to move your k-Means implementation to use 3D data structures. It looks like that all primitives required for that have been updated...

I think the reported ODR violation is benign in our context, I will have a look, though. No idea why it crashes however. What does it report if you set...

@stevenrbrandt thanks! The output however is not too useful :/ Is there anything reported otherwise that might shed some light on what's going on?

@sithhell is that error message above something you have seen with your asan runs?

@taless474 would you mind adding links describing the actual math to implement for the primitives you listed?

@taless474 those links are fine, thank you!

@taless474 thank you for you clarifications. IIUC, this is equivalent to the 'normal' python/numpy slicing: ``` m = tf.constant([[1,2,3],[4,5,6]]) s = tf.slice(m,[0,2],[2,1]) # same as m = np.array([[1,2,3],[4,5,6]]) s =...

@taless474 the same is true for: ``` t = tf.constant([[[1,2,3]],[[4,5,6]]]) s = tf.slice(t,[1,0,0],[1,1,3]) ``` which is equivalent to ``` t = np.array([[[1,2,3]],[[4,5,6]]]) s = t[1:2,0:1,0:3] # syntactic sugar for: s...