Skip to content

Class mediapipe::InferenceIoMapper

ClassList > mediapipe > InferenceIoMapper

Public Functions

Type Name
absl::StatusOr< TensorSpan > RemapInputTensors (const TensorSpan & unmapped_tensors)
absl::StatusOr< std::vector< Tensor > > RemapOutputTensors (std::vector< Tensor > && unmapped_tensors)
absl::Status UpdateIoMap (const mediapipe::InferenceCalculatorOptions::InputOutputConfig & io_config, const InputOutputTensorNames & input_output_tensor_names)

Public Static Functions

Type Name
absl::StatusOr< InputOutputTensorNames > GetInputOutputTensorNamesFromInterpreter (const tflite::Interpreter & interpreter)
absl::StatusOr< InputOutputTensorNames > GetInputOutputTensorNamesFromModel (const tflite::FlatBufferModel & flatbuffer, const tflite::OpResolver & op_resolver)

Public Functions Documentation

function RemapInputTensors

absl::StatusOr< TensorSpan > mediapipe::InferenceIoMapper::RemapInputTensors (
    const TensorSpan & unmapped_tensors
) 

function RemapOutputTensors

absl::StatusOr< std::vector< Tensor > > mediapipe::InferenceIoMapper::RemapOutputTensors (
    std::vector< Tensor > && unmapped_tensors
) 

function UpdateIoMap

absl::Status mediapipe::InferenceIoMapper::UpdateIoMap (
    const mediapipe::InferenceCalculatorOptions::InputOutputConfig & io_config,
    const InputOutputTensorNames & input_output_tensor_names
) 

Public Static Functions Documentation

function GetInputOutputTensorNamesFromInterpreter

static absl::StatusOr< InputOutputTensorNames > mediapipe::InferenceIoMapper::GetInputOutputTensorNamesFromInterpreter (
    const tflite::Interpreter & interpreter
) 

function GetInputOutputTensorNamesFromModel

static absl::StatusOr< InputOutputTensorNames > mediapipe::InferenceIoMapper::GetInputOutputTensorNamesFromModel (
    const tflite::FlatBufferModel & flatbuffer,
    const tflite::OpResolver & op_resolver
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/calculators/tensor/inference_io_mapper.h