If my last Keras Layer X outputs a tensor which looks, e.g. like this:
{
{4, [22, 16, 11, 33], 24},
{4, [12, 33, 87, 17], 14},
{3, [92, 407, 25, 27], 34}
}
How can I add one more Layer Y that converts the output of X like this:
{
{4, "22|16|11|33", 24},
{4, "12|33|87|17", 14},
{3, "92|407|25|27", 34}
}
In other words, I need to turn the second dimension into a string, with all values concatenated.