ivy-llc / ivy

Convert Machine Learning Code Between Frameworks
https://ivy.dev
Other
14.02k stars 5.77k forks source link

sqrtm #26526

Open Juligee opened 1 year ago

Juligee commented 1 year ago

Add Linear Algebra functions for TensorFlow frontend

Kd-Here commented 1 year ago

Hello @Juligee I am new to opensource but good knowledge for Linear Algebra which function i should add?

Juligee commented 1 year ago

Hello @Juligee I am new to opensource but good knowledge for Linear Algebra which function i should add?

Hi, @Kd-Here. Nice to meet you.

Regard the function to add to Ivi frontend, check the "To-Do-List" on this link - https://github.com/unifyai/ivy/issues/1546

the native function looks like this-

tf.linalg.eigh( tf.einsum('ji,jk->ik', x_train_normalized, x_train_normalized)) return tf.einsum('ij,jk->ik', x_train_normalized, e_vectors[:,-n_components:]), \ tf.einsum('ij,jk->ik', x_test_normalized, e_vectors[:, -n_components:])

If you need more information, please ask more and if I could find the answer, good, or send as many questions to the contributing channel on Ivy discord chat.

You are welcomed!