Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Basic tensor operations like in theano / tensorflow #586

Closed
lukemetz opened this issue Nov 15, 2015 · 5 comments
Closed

Basic tensor operations like in theano / tensorflow #586

lukemetz opened this issue Nov 15, 2015 · 5 comments

Comments

@lukemetz
Copy link
Contributor

Hello all,
What are your thoughts around low level theano / tensorflow style operations? (theano tensor, tensorflow math, tensorflow nn). While slow without kernel fusion, they are incredibly nice to quickly develop more complicated algorithms and something I keep wishing mxnet has.

I already added in pow, #584 and would like to add more to make the library a little more compatible with those already familiar with the other graph based libraries. Is this something that would be OK for the main library?

@tqchen
Copy link
Member

tqchen commented Nov 15, 2015

Yes, this is a great idea!

@yajiedesign
Copy link
Contributor

Arithmetic Operators

  • add
  • sub
  • mul
  • div
  • mod

Basic Math Functions

Matrix Math Functions
  • diag
  • transpose
  • matmul
  • batch_matmul
  • matrix_determinant
  • batch_matrix_determinant
  • matrix_inverse
  • batch_matrix_inverse
  • cholesky
  • batch_cholesky
Complex Number Functions
  • complex
  • complex_abs
  • conj
  • imag
  • real

@liubenyuan
Copy link
Contributor

I do not know whether cross product of two vectors falls into this category ?

@tqchen
Copy link
Member

tqchen commented Mar 31, 2016

Yes, I think that is also counts as matmul

@tqchen
Copy link
Member

tqchen commented May 19, 2016

closing this issue for now, as many of them are now supported thanks to our amazing contributors. Let us open it as more requests come in, or start another issue

@tqchen tqchen closed this as completed May 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants