Browse and solve 1,200+ machine learning coding challenges on Deep-ML. Filter by difficulty (beginner, intermediate, advanced) and category (linear algebra, machine learning, deep learning, NLP, computer vision). Write Python solutions in the browser and get instant feedback against test cases.
Deep-ML | Create and Inspect a TensorCreate and Inspect a Tensor
Create and Inspect a Tensor
Easypytorch
Example:
Input:
t = make_tensor()
print(t)
print(tuple(t.shape))
print(t.dtype)