FunctionRacerProblemsRace

A Table of Zeros

BeginnerPyTorchPython

Return a tensor of zeros with rows rows and cols columns.

Example 1

rows 2
cols 3
returns [[0.0,0.0,0.0],[0.0,0.0,0.0]]

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More PyTorch problems