Skip to content

Class mediapipe::TensorsToClassificationCalculatorOptions

ClassList > mediapipe > TensorsToClassificationCalculatorOptions

Inherits the following classes: PROTOBUF_NAMESPACE_ID::Message

Classes

Type Name
class _Internal

Public Types

Type Name
typedef TensorsToClassificationCalculatorOptions_LabelMap LabelMap
enum int TensorsToClassificationCalculatorOptions

Public Attributes

Type Name
::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::mediapipe::CalculatorOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::mediapipe::TensorsToClassificationCalculatorOptions >, 11, false > ext

Public Static Attributes

Type Name
const ClassData _class_data_ = /* multi line expression */
const int kExtFieldNumber = 335742638
constexpr int kIndexInFileMessages = /* multi line expression */

Public Functions

Type Name
size_t ByteSizeLong () const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ()
void CopyFrom (const TensorsToClassificationCalculatorOptions & from)
int GetCachedSize () const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const
bool IsInitialized () const
void MergeFrom (const TensorsToClassificationCalculatorOptions & from)
TensorsToClassificationCalculatorOptions * New (::PROTOBUF_NAMESPACE_ID::Arena * arena=nullptr) const
void Swap (TensorsToClassificationCalculatorOptions * other)
TensorsToClassificationCalculatorOptions ()
constexpr TensorsToClassificationCalculatorOptions (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
TensorsToClassificationCalculatorOptions (const TensorsToClassificationCalculatorOptions & from)
TensorsToClassificationCalculatorOptions (TensorsToClassificationCalculatorOptions && from) noexcept
void UnsafeArenaSwap (TensorsToClassificationCalculatorOptions * other)
const char * _InternalParse (const char * ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)
uint8_t * _InternalSerialize (uint8_t * target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const
void add_allow_classes (int32_t value)
void add_ignore_classes (int32_t value)
int32_t allow_classes (int index) const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & allow_classes () const
int allow_classes_size () const
bool binary_classification () const
void clear_allow_classes ()
void clear_binary_classification ()
void clear_ignore_classes ()
void clear_label_items ()
void clear_label_map ()
void clear_label_map_path ()
void clear_min_score_threshold ()
void clear_sort_by_descending_score ()
void clear_top_k ()
bool has_binary_classification () const
bool has_label_map () const
bool has_label_map_path () const
bool has_min_score_threshold () const
bool has_sort_by_descending_score () const
bool has_top_k () const
int32_t ignore_classes (int index) const
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & ignore_classes () const
int ignore_classes_size () const
const ::PROTOBUF_NAMESPACE_ID::Map< int64_t, ::mediapipe::LabelMapItem > & label_items () const
int label_items_size () const
const ::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap & label_map () const
const std::string & label_map_path () const
float min_score_threshold () const
::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_allow_classes ()
::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mutable_ignore_classes ()
::PROTOBUF_NAMESPACE_ID::Map< int64_t, ::mediapipe::LabelMapItem > * mutable_label_items ()
::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * mutable_label_map ()
std::string * mutable_label_map_path ()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
TensorsToClassificationCalculatorOptions & operator= (const TensorsToClassificationCalculatorOptions & from)
TensorsToClassificationCalculatorOptions & operator= (TensorsToClassificationCalculatorOptions && from) noexcept
PROTOBUF_NODISCARD::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * release_label_map ()
PROTOBUF_NODISCARD std::string * release_label_map_path ()
void set_allocated_label_map (::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * label_map)
void set_allocated_label_map_path (std::string * label_map_path)
void set_allow_classes (int index, int32_t value)
void set_binary_classification (bool value)
void set_ignore_classes (int index, int32_t value)
void set_label_map_path (ArgT0 && arg0, ArgT... args)
PROTOBUF_ALWAYS_INLINE void set_label_map_path (ArgT0 && arg0, ArgT... args)
void set_min_score_threshold (float value)
void set_sort_by_descending_score (bool value)
void set_top_k (int32_t value)
bool sort_by_descending_score () const
int32_t top_k () const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * unsafe_arena_release_label_map ()
void unsafe_arena_set_allocated_label_map (::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * label_map)
~TensorsToClassificationCalculatorOptions () override

Public Static Functions

Type Name
const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
const TensorsToClassificationCalculatorOptions & default_instance ()
const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
const TensorsToClassificationCalculatorOptions * internal_default_instance ()

Protected Functions

Type Name
TensorsToClassificationCalculatorOptions (::PROTOBUF_NAMESPACE_ID::Arena * arena, bool is_message_owned=false)

Public Types Documentation

typedef LabelMap

typedef TensorsToClassificationCalculatorOptions_LabelMap mediapipe::TensorsToClassificationCalculatorOptions::LabelMap;

enum TensorsToClassificationCalculatorOptions

enum mediapipe::TensorsToClassificationCalculatorOptions::TensorsToClassificationCalculatorOptions {
    kLabelItemsFieldNumber = 6,
    kIgnoreClassesFieldNumber = 7,
    kAllowClassesFieldNumber = 8,
    kLabelMapPathFieldNumber = 3,
    kLabelMapFieldNumber = 5,
    kMinScoreThresholdFieldNumber = 1,
    kTopKFieldNumber = 2,
    kSortByDescendingScoreFieldNumber = 9,
    kBinaryClassificationFieldNumber = 4
};

Public Attributes Documentation

variable ext

PROTOBUF_ATTRIBUTE_INIT_PRIORITY::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<::mediapipe::CalculatorOptions,::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits<::mediapipe::TensorsToClassificationCalculatorOptions >, 11, false > mediapipe::TensorsToClassificationCalculatorOptions::ext;

Public Static Attributes Documentation

variable _class_data_

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData mediapipe::TensorsToClassificationCalculatorOptions::_class_data_;

variable kExtFieldNumber

const int mediapipe::TensorsToClassificationCalculatorOptions::kExtFieldNumber;

variable kIndexInFileMessages

constexpr int mediapipe::TensorsToClassificationCalculatorOptions::kIndexInFileMessages;

Public Functions Documentation

function ByteSizeLong

size_t mediapipe::TensorsToClassificationCalculatorOptions::ByteSizeLong () const

function Clear

PROTOBUF_ATTRIBUTE_REINITIALIZES void mediapipe::TensorsToClassificationCalculatorOptions::Clear () 

function CopyFrom

void mediapipe::TensorsToClassificationCalculatorOptions::CopyFrom (
    const TensorsToClassificationCalculatorOptions & from
) 

function GetCachedSize

inline int mediapipe::TensorsToClassificationCalculatorOptions::GetCachedSize () const

function GetClassData

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * mediapipe::TensorsToClassificationCalculatorOptions::GetClassData () const

function GetMetadata

::PROTOBUF_NAMESPACE_ID::Metadata mediapipe::TensorsToClassificationCalculatorOptions::GetMetadata () const

function IsInitialized

bool mediapipe::TensorsToClassificationCalculatorOptions::IsInitialized () const

function MergeFrom

void mediapipe::TensorsToClassificationCalculatorOptions::MergeFrom (
    const TensorsToClassificationCalculatorOptions & from
) 

function New

inline TensorsToClassificationCalculatorOptions * mediapipe::TensorsToClassificationCalculatorOptions::New (
    ::PROTOBUF_NAMESPACE_ID::Arena * arena=nullptr
) const

function Swap

inline void mediapipe::TensorsToClassificationCalculatorOptions::Swap (
    TensorsToClassificationCalculatorOptions * other
) 

function TensorsToClassificationCalculatorOptions [1/5]

inline mediapipe::TensorsToClassificationCalculatorOptions::TensorsToClassificationCalculatorOptions () 

function TensorsToClassificationCalculatorOptions [2/5]

explicit constexpr mediapipe::TensorsToClassificationCalculatorOptions::TensorsToClassificationCalculatorOptions (
    ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
) 

function TensorsToClassificationCalculatorOptions [3/5]

mediapipe::TensorsToClassificationCalculatorOptions::TensorsToClassificationCalculatorOptions (
    const TensorsToClassificationCalculatorOptions & from
) 

function TensorsToClassificationCalculatorOptions [4/5]

inline mediapipe::TensorsToClassificationCalculatorOptions::TensorsToClassificationCalculatorOptions (
    TensorsToClassificationCalculatorOptions && from
) noexcept

function UnsafeArenaSwap

inline void mediapipe::TensorsToClassificationCalculatorOptions::UnsafeArenaSwap (
    TensorsToClassificationCalculatorOptions * other
) 

function _InternalParse

const char * mediapipe::TensorsToClassificationCalculatorOptions::_InternalParse (
    const char * ptr,
    ::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx
) 

function _InternalSerialize

uint8_t * mediapipe::TensorsToClassificationCalculatorOptions::_InternalSerialize (
    uint8_t * target,
    ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream
) const

function add_allow_classes

inline void mediapipe::TensorsToClassificationCalculatorOptions::add_allow_classes (
    int32_t value
) 

function add_ignore_classes

inline void mediapipe::TensorsToClassificationCalculatorOptions::add_ignore_classes (
    int32_t value
) 

function allow_classes [1/2]

inline int32_t mediapipe::TensorsToClassificationCalculatorOptions::allow_classes (
    int index
) const

function allow_classes [2/2]

inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & mediapipe::TensorsToClassificationCalculatorOptions::allow_classes () const

function allow_classes_size

inline int mediapipe::TensorsToClassificationCalculatorOptions::allow_classes_size () const

function binary_classification

inline bool mediapipe::TensorsToClassificationCalculatorOptions::binary_classification () const

function clear_allow_classes

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_allow_classes () 

function clear_binary_classification

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_binary_classification () 

function clear_ignore_classes

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_ignore_classes () 

function clear_label_items

void mediapipe::TensorsToClassificationCalculatorOptions::clear_label_items () 

function clear_label_map

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_label_map () 

function clear_label_map_path

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_label_map_path () 

function clear_min_score_threshold

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_min_score_threshold () 

function clear_sort_by_descending_score

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_sort_by_descending_score () 

function clear_top_k

inline void mediapipe::TensorsToClassificationCalculatorOptions::clear_top_k () 

function has_binary_classification

inline bool mediapipe::TensorsToClassificationCalculatorOptions::has_binary_classification () const

function has_label_map

inline bool mediapipe::TensorsToClassificationCalculatorOptions::has_label_map () const

function has_label_map_path

inline bool mediapipe::TensorsToClassificationCalculatorOptions::has_label_map_path () const

function has_min_score_threshold

inline bool mediapipe::TensorsToClassificationCalculatorOptions::has_min_score_threshold () const

function has_sort_by_descending_score

inline bool mediapipe::TensorsToClassificationCalculatorOptions::has_sort_by_descending_score () const

function has_top_k

inline bool mediapipe::TensorsToClassificationCalculatorOptions::has_top_k () const

function ignore_classes [1/2]

inline int32_t mediapipe::TensorsToClassificationCalculatorOptions::ignore_classes (
    int index
) const

function ignore_classes [2/2]

inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > & mediapipe::TensorsToClassificationCalculatorOptions::ignore_classes () const

function ignore_classes_size

inline int mediapipe::TensorsToClassificationCalculatorOptions::ignore_classes_size () const

function label_items

inline const ::PROTOBUF_NAMESPACE_ID::Map< int64_t, ::mediapipe::LabelMapItem > & mediapipe::TensorsToClassificationCalculatorOptions::label_items () const

function label_items_size

inline int mediapipe::TensorsToClassificationCalculatorOptions::label_items_size () const

function label_map

inline const ::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap & mediapipe::TensorsToClassificationCalculatorOptions::label_map () const

function label_map_path

inline const std::string & mediapipe::TensorsToClassificationCalculatorOptions::label_map_path () const

function min_score_threshold

inline float mediapipe::TensorsToClassificationCalculatorOptions::min_score_threshold () const

function mutable_allow_classes

inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mediapipe::TensorsToClassificationCalculatorOptions::mutable_allow_classes () 

function mutable_ignore_classes

inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > * mediapipe::TensorsToClassificationCalculatorOptions::mutable_ignore_classes () 

function mutable_label_items

inline ::PROTOBUF_NAMESPACE_ID::Map< int64_t, ::mediapipe::LabelMapItem > * mediapipe::TensorsToClassificationCalculatorOptions::mutable_label_items () 

function mutable_label_map

inline ::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * mediapipe::TensorsToClassificationCalculatorOptions::mutable_label_map () 

function mutable_label_map_path

inline std::string * mediapipe::TensorsToClassificationCalculatorOptions::mutable_label_map_path () 

function mutable_unknown_fields

inline inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mediapipe::TensorsToClassificationCalculatorOptions::mutable_unknown_fields () 

function operator=

inline TensorsToClassificationCalculatorOptions & mediapipe::TensorsToClassificationCalculatorOptions::operator= (
    const TensorsToClassificationCalculatorOptions & from
) 

function operator=

inline TensorsToClassificationCalculatorOptions & mediapipe::TensorsToClassificationCalculatorOptions::operator= (
    TensorsToClassificationCalculatorOptions && from
) noexcept

function release_label_map

inline PROTOBUF_NODISCARD::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * mediapipe::TensorsToClassificationCalculatorOptions::release_label_map () 

function release_label_map_path

inline PROTOBUF_NODISCARD std::string * mediapipe::TensorsToClassificationCalculatorOptions::release_label_map_path () 

function set_allocated_label_map

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_allocated_label_map (
    ::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * label_map
) 

function set_allocated_label_map_path

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_allocated_label_map_path (
    std::string * label_map_path
) 

function set_allow_classes

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_allow_classes (
    int index,
    int32_t value
) 

function set_binary_classification

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_binary_classification (
    bool value
) 

function set_ignore_classes

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_ignore_classes (
    int index,
    int32_t value
) 

function set_label_map_path [1/2]

template<typename ArgT0, typename... ArgT>
void mediapipe::TensorsToClassificationCalculatorOptions::set_label_map_path (
    ArgT0 && arg0,
    ArgT... args
) 

function set_label_map_path [2/2]

template<typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE void mediapipe::TensorsToClassificationCalculatorOptions::set_label_map_path (
    ArgT0 && arg0,
    ArgT... args
) 

function set_min_score_threshold

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_min_score_threshold (
    float value
) 

function set_sort_by_descending_score

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_sort_by_descending_score (
    bool value
) 

function set_top_k

inline void mediapipe::TensorsToClassificationCalculatorOptions::set_top_k (
    int32_t value
) 

function sort_by_descending_score

inline bool mediapipe::TensorsToClassificationCalculatorOptions::sort_by_descending_score () const

function top_k

inline int32_t mediapipe::TensorsToClassificationCalculatorOptions::top_k () const

function unknown_fields

inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & mediapipe::TensorsToClassificationCalculatorOptions::unknown_fields () const

function unsafe_arena_release_label_map

inline ::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * mediapipe::TensorsToClassificationCalculatorOptions::unsafe_arena_release_label_map () 

function unsafe_arena_set_allocated_label_map

inline void mediapipe::TensorsToClassificationCalculatorOptions::unsafe_arena_set_allocated_label_map (
    ::mediapipe::TensorsToClassificationCalculatorOptions_LabelMap * label_map
) 

function ~TensorsToClassificationCalculatorOptions

mediapipe::TensorsToClassificationCalculatorOptions::~TensorsToClassificationCalculatorOptions () override

Public Static Functions Documentation

function GetDescriptor

static inline const ::PROTOBUF_NAMESPACE_ID::Descriptor * mediapipe::TensorsToClassificationCalculatorOptions::GetDescriptor () 

function GetReflection

static inline const ::PROTOBUF_NAMESPACE_ID::Reflection * mediapipe::TensorsToClassificationCalculatorOptions::GetReflection () 

function default_instance

static inline const TensorsToClassificationCalculatorOptions & mediapipe::TensorsToClassificationCalculatorOptions::default_instance () 

function descriptor

static inline const ::PROTOBUF_NAMESPACE_ID::Descriptor * mediapipe::TensorsToClassificationCalculatorOptions::descriptor () 

function internal_default_instance

static inline const TensorsToClassificationCalculatorOptions * mediapipe::TensorsToClassificationCalculatorOptions::internal_default_instance () 

Protected Functions Documentation

function TensorsToClassificationCalculatorOptions [5/5]

explicit mediapipe::TensorsToClassificationCalculatorOptions::TensorsToClassificationCalculatorOptions (
    ::PROTOBUF_NAMESPACE_ID::Arena * arena,
    bool is_message_owned=false
) 

Friends Documentation

friend InternalHelper

template<typename T>
class mediapipe::TensorsToClassificationCalculatorOptions::InternalHelper (
    ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
) 

friend AnyMetadata

class mediapipe::TensorsToClassificationCalculatorOptions::AnyMetadata (
    ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
) 

friend TableStruct_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5fclassification_5fcalculator_2eproto

struct mediapipe::TensorsToClassificationCalculatorOptions::TableStruct_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5fclassification_5fcalculator_2eproto (
    ::TableStruct_mediapipe_2fcalculators_2ftensor_2ftensors_5fto_5fclassification_5fcalculator_2eproto
) 

friend swap

inline void mediapipe::TensorsToClassificationCalculatorOptions::swap (
    TensorsToClassificationCalculatorOptions & a,
    TensorsToClassificationCalculatorOptions & b
) 


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