Hello, I have two models, one outputs a ragged tensor:
[[
[1, 2, 1],
],
[
[2, 0, 0],
[1, 1, 0]
]]
while the second model outputs a tensor:
[
[5, 4],
[6, 7]
]
I need to "expand" the second models ouput to concatenate it with the first model. Basically I want to add a dimension and copy the result as many times as there are in the ragged tensor, like:
[[
[5, 4],
],
[
[6, 7],
[6, 7]
]]
Does anyone know how to do this? This example would have a batch size of 2.