Contents:
Test some jax functionality
Do a simple matrix-matrix multiplication for two random matrices generated by numpy
n (int, optional) – number of entries per dimension, defaults to 20
Returns:
Test wether jax can run on the cpu by executing some jax code
Test wether jax can run on the gpu by executing some jax code. The jax gpu test may fail if no nvidia gpu is available or the cuda and cudnn libraries are not installed.
Args: