Insert a new size-1 dimension into tensor x at position dim.
x
dim
Sign in to write and run your own code.
solve(...)