NVIDIA Holoscan SDK v2.7.0
Holoscan v2.7.0

Function holoscan::inference::tensor_dimension_check

InferStatus holoscan::inference::tensor_dimension_check(const MultiMappings &pre_processor_map, const DimType &model_input_dimensions, const std::map<std::string, std::vector<int>> &dims_per_tensor)

Checks for correctness of input tensor dimensions.

Parameters
  • pre_processor_mapMap with model name as key, mapped to vector of input tensor names

  • model_input_dimensionsMap with model name as key, mapped to input dimensions

  • dims_per_tensorMap with input tensor as key, mapped to its dimension

Previous Function holoscan::inference::string_split
Next Function holoscan::inference::timer_check
© Copyright 2022-2024, NVIDIA. Last updated on Dec 2, 2024.