This commit will enable setting shape information in `ModelSignature`
at `nnkit-mocotf`
Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
if (parsed_tensor->kind() == ParsedTensor::Kind::Input)
{
sig.add_input(::moco::tf::TensorName(parsed_tensor->name()));
+ sig.shape(parsed_tensor->name(), parsed_tensor->shape());
_inputs.emplace_back(std::move(parsed_tensor));
}
else
{
sig.add_output(::moco::tf::TensorName(parsed_tensor->name()));
+ sig.shape(parsed_tensor->name(), parsed_tensor->shape());
_outputs.emplace_back(std::move(parsed_tensor));
}
}