TensorFlow

[TF Basics] Matrix Multiplication in TensorFlow

You are encouraged to use Google Colab for this task. Please create the following random matrices:

Matrix A:
Name: mat_A
Shape: 2,3
Distribution: Random Normal

Matrix B:
Name: mat_B
Shape: 3,5
Distribution: Truncated Normal

You may use any Mean and Std Dev for the above matrices.

Multiply and display the result.

Deliverable: Publicly available Google Colab File link, you can verify it by opening the link in an incognito window before submission.

You may also use any other code sharing medium if you aren't using Colab, for example, public Kaggle Kernel, Github, etc. These methods are slightly more complicated and hence not recommended for this task. But feel free to explore them on your own time. Please don't paste your code in the messaging section below.

Feel free to use any version of Python on TF2.0 for this task.

Task tags

  • linear algebra
  • matrix multiplication
  • basics
  • colab
  • starter

Students who completed this task

arpand, Noor Hasan Shaik, Jennifer, Eli, Shreyas Prasad, JuanC, Jake S., Tanay Biradar, Antagon, Nikhil Arora, Ian2024, forcejedisith, loluwot, abhaykashyap03, bkkaggle

Task type

  • code Code

Level

Beginner
close

2019