Function holoscan::inference::allocate_host_buffers

Holoscan v0.5.1
InferStatus holoscan::inference::allocate_host_buffers(DataMap &buffers, std::vector<int64_t> &dims, const std::string &keyname)

Allocate buffer on host.

  • buffers – Map with keyword as model name or tensor name, and value as DataBuffer. The map is populated in this function.

  • dims – Dimension of the allocation

  • keyname – Storage name in the map against the created DataBuffer


InferStatus with appropriate code and message

© Copyright 2022-2023, NVIDIA. Last updated on Jul 28, 2023.