Template Function amdinfer::pre_post::resnet50Postprocess

Function Documentation

template<typename T>
std::vector<int> amdinfer::pre_post::resnet50Postprocess(const T *data, size_t size, int k)

Perform postprocessing of the data.

Template Parameters

T – the expected type of the data

Parameters
  • output – output from the server

  • k – number of top elements to return

Returns

std::vector<int>