Skip to content

Class mediapipe::TfLiteModelCalculator

ClassList > mediapipe > TfLiteModelCalculator

Inherits the following classes: mediapipe::CalculatorBase

Public Types

Type Name
typedef std::shared_ptr< tflite::FlatBufferModel > SharedTfLiteModelPtr
typedef std::unique_ptr< tflite::FlatBufferModel, std::function< void(tflite::FlatBufferModel *)> > TfLiteModelPtr

Public Static Attributes

Type Name
constexpr absl::string_view kModelBlobTag = "MODEL\_BLOB"
constexpr absl::string_view kModelFDTag = "MODEL\_FD"
constexpr absl::string_view kModelSpanTag = "MODEL\_SPAN"
constexpr absl::string_view kModelTag = "MODEL"
constexpr absl::string_view kSharedModelTag = "SHARED\_MODEL"

Public Functions

Type Name
absl::Status Open (CalculatorContext * cc) override
absl::Status Process (CalculatorContext * cc) override

Public Static Functions

Type Name
absl::Status GetContract (CalculatorContract * cc)

Public Types Documentation

typedef SharedTfLiteModelPtr

using mediapipe::TfLiteModelCalculator::SharedTfLiteModelPtr =  std::shared_ptr<tflite::FlatBufferModel>;

typedef TfLiteModelPtr

using mediapipe::TfLiteModelCalculator::TfLiteModelPtr =  std::unique_ptr<tflite::FlatBufferModel, std::function<void(tflite::FlatBufferModel*)> >;

Public Static Attributes Documentation

variable kModelBlobTag

constexpr absl::string_view mediapipe::TfLiteModelCalculator::kModelBlobTag;

variable kModelFDTag

constexpr absl::string_view mediapipe::TfLiteModelCalculator::kModelFDTag;

variable kModelSpanTag

constexpr absl::string_view mediapipe::TfLiteModelCalculator::kModelSpanTag;

variable kModelTag

constexpr absl::string_view mediapipe::TfLiteModelCalculator::kModelTag;

variable kSharedModelTag

constexpr absl::string_view mediapipe::TfLiteModelCalculator::kSharedModelTag;

Public Functions Documentation

function Open

inline absl::Status mediapipe::TfLiteModelCalculator::Open (
    CalculatorContext * cc
) override

function Process

inline absl::Status mediapipe::TfLiteModelCalculator::Process (
    CalculatorContext * cc
) override

Public Static Functions Documentation

function GetContract

static inline absl::Status mediapipe::TfLiteModelCalculator::GetContract (
    CalculatorContract * cc
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/calculators/tflite/tflite_model_calculator.cc