This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Description
I want to take a list of scalar values and make a vector of it using backend operations. This seems to be tricky at the moment! My initial attempt was:
scalars = [backend.convert_to_tensor(1.0), backend.convert_to_tensor(2.0)]
vec = backend.concat(scalars, axis=0)
This fails, since I cannot concatenate zero-dimensional arrays.
Perhaps we should have a backend.stack()?