9. Mean Value

Easy

Return the arithmetic mean of all elements in tensor t.

Input

tensor([ 0.,  1.,  2.,  ..., 27., 28., 29.])

Output

tensor(14.5000)

Sign in to write and run your own code.

Implement solve(...)