Namespace mediapipe::anonymous_namespace{inference_io_mapper.cc}
Namespace List > mediapipe > anonymous_namespace{inference_io_mapper.cc}
Public Functions
Type | Name |
---|---|
absl::StatusOr< absl::flat_hash_map< std::string, int > > | CreateNameToIndexMap (const std::vector< std::string > & names) |
absl::Status | ExcludeFeedbackTensorsFromRemappingIndicesVector (const InferenceCalculatorOptions::InputOutputConfig & io_config, const std::vector< std::string > & model_tensor_names, std::vector< int > & remapping_tensor_indices) |
absl::StatusOr< std::vector< int > > | GenerateAndValidateTensorList (const InferenceCalculatorOptions::InputOutputConfig::TensorIndicesMap & tensor_indices_list) |
Public Static Functions
Type | Name |
---|---|
bool | ContainsDuplicates (const std::vector< T > & input) |
absl::StatusOr< std::vector< int > > | MapTensorNamesToIndices (const std::vector< std::string > & signature_tensor_names, const InferenceCalculatorOptions::InputOutputConfig::TensorNamesMap & config_tensor_names) |
Public Functions Documentation
function CreateNameToIndexMap
absl::StatusOr< absl::flat_hash_map< std::string, int > > mediapipe::anonymous_namespace{inference_io_mapper.cc}::CreateNameToIndexMap (
const std::vector< std::string > & names
)
function ExcludeFeedbackTensorsFromRemappingIndicesVector
absl::Status mediapipe::anonymous_namespace{inference_io_mapper.cc}::ExcludeFeedbackTensorsFromRemappingIndicesVector (
const InferenceCalculatorOptions::InputOutputConfig & io_config,
const std::vector< std::string > & model_tensor_names,
std::vector< int > & remapping_tensor_indices
)
function GenerateAndValidateTensorList
absl::StatusOr< std::vector< int > > mediapipe::anonymous_namespace{inference_io_mapper.cc}::GenerateAndValidateTensorList (
const InferenceCalculatorOptions::InputOutputConfig::TensorIndicesMap & tensor_indices_list
)
Public Static Functions Documentation
function ContainsDuplicates
template<typename T>
static bool mediapipe::anonymous_namespace{inference_io_mapper.cc}::ContainsDuplicates (
const std::vector< T > & input
)
function MapTensorNamesToIndices
static absl::StatusOr< std::vector< int > > mediapipe::anonymous_namespace{inference_io_mapper.cc}::MapTensorNamesToIndices (
const std::vector< std::string > & signature_tensor_names,
const InferenceCalculatorOptions::InputOutputConfig::TensorNamesMap & config_tensor_names
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/calculators/tensor/inference_io_mapper.cc