Darknet/YOLO v5.0-117-g31c55275-dirty
Object Detection Framework
 
Loading...
Searching...
No Matches
onnx::TensorAnnotation Class Referencefinal

#include "onnx.proto3.pb.h"

Inheritance diagram for onnx::TensorAnnotation:
Collaboration diagram for onnx::TensorAnnotation:

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int {
  kQuantParameterTensorNamesFieldNumber = 2 ,
  kTensorNameFieldNumber = 1
}
 

Public Member Functions

 TensorAnnotation ()
 
PROTOBUF_CONSTEXPR TensorAnnotation (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 TensorAnnotation (const TensorAnnotation &from)
 
 TensorAnnotation (TensorAnnotation &&from) noexcept
 
 ~TensorAnnotation () override
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
::onnx::StringStringEntryProtoadd_quant_parameter_tensor_names ()
 
size_t ByteSizeLong () const final
 
void CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_quant_parameter_tensor_names ()
 
void clear_tensor_name ()
 
void CopyFrom (const TensorAnnotation &from)
 
int GetCachedSize () const final
 
std::string GetTypeName () const final
 
bool IsInitialized () const final
 
void MergeFrom (const TensorAnnotation &from)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::onnx::StringStringEntryProto > * mutable_quant_parameter_tensor_names ()
 
::onnx::StringStringEntryProtomutable_quant_parameter_tensor_names (int index)
 
std::string * mutable_tensor_name ()
 
TensorAnnotationNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
TensorAnnotationoperator= (const TensorAnnotation &from)
 
TensorAnnotationoperator= (TensorAnnotation &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::onnx::StringStringEntryProto > & quant_parameter_tensor_names () const
 
const ::onnx::StringStringEntryProtoquant_parameter_tensor_names (int index) const
 
int quant_parameter_tensor_names_size () const
 
PROTOBUF_NODISCARD std::string * release_tensor_name ()
 
void set_allocated_tensor_name (std::string *tensor_name)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_tensor_name (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_tensor_name (ArgT0 &&arg0, ArgT... args)
 
void Swap (TensorAnnotation *other)
 
const std::string & tensor_name () const
 
void UnsafeArenaSwap (TensorAnnotation *other)
 

Static Public Member Functions

static const TensorAnnotationdefault_instance ()
 
static const TensorAnnotationinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

 TensorAnnotation (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

::onnx::StringStringEntryProto_internal_add_quant_parameter_tensor_names ()
 
std::string * _internal_mutable_tensor_name ()
 
const ::onnx::StringStringEntryProto_internal_quant_parameter_tensor_names (int index) const
 
int _internal_quant_parameter_tensor_names_size () const
 
PROTOBUF_ALWAYS_INLINE void _internal_set_tensor_name (const std::string &value)
 
const std::string & _internal_tensor_name () const
 
void InternalSwap (TensorAnnotation *other)
 
void SetCachedSize (int size) const
 
void SharedCtor (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned)
 
void SharedDtor ()
 

Static Private Member Functions

::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName ()
 

Private Attributes

union { 
 
   Impl_   _impl_ 
 
};  
 

Friends

template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_onnx_2eproto3
 
void swap (TensorAnnotation &a, TensorAnnotation &b)
 

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kQuantParameterTensorNamesFieldNumber 
kTensorNameFieldNumber 

Constructor & Destructor Documentation

◆ TensorAnnotation() [1/5]

onnx::TensorAnnotation::TensorAnnotation ( )
inline

◆ ~TensorAnnotation()

onnx::TensorAnnotation::~TensorAnnotation ( )
override
Here is the call graph for this function:

◆ TensorAnnotation() [2/5]

PROTOBUF_CONSTEXPR onnx::TensorAnnotation::TensorAnnotation ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ TensorAnnotation() [3/5]

onnx::TensorAnnotation::TensorAnnotation ( const TensorAnnotation from)
Here is the call graph for this function:

◆ TensorAnnotation() [4/5]

onnx::TensorAnnotation::TensorAnnotation ( TensorAnnotation &&  from)
inlinenoexcept

◆ TensorAnnotation() [5/5]

onnx::TensorAnnotation::TensorAnnotation ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected
Here is the call graph for this function:

Member Function Documentation

◆ _internal_add_quant_parameter_tensor_names()

onnx::StringStringEntryProto * onnx::TensorAnnotation::_internal_add_quant_parameter_tensor_names ( )
inlineprivate
Here is the caller graph for this function:

◆ _internal_mutable_tensor_name()

std::string * onnx::TensorAnnotation::_internal_mutable_tensor_name ( )
inlineprivate
Here is the caller graph for this function:

◆ _internal_quant_parameter_tensor_names()

const ::onnx::StringStringEntryProto & onnx::TensorAnnotation::_internal_quant_parameter_tensor_names ( int  index) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_quant_parameter_tensor_names_size()

int onnx::TensorAnnotation::_internal_quant_parameter_tensor_names_size ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_set_tensor_name()

void onnx::TensorAnnotation::_internal_set_tensor_name ( const std::string &  value)
inlineprivate
Here is the caller graph for this function:

◆ _internal_tensor_name()

const std::string & onnx::TensorAnnotation::_internal_tensor_name ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _InternalParse()

const char * onnx::TensorAnnotation::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final
Here is the call graph for this function:

◆ _InternalSerialize()

uint8_t * onnx::TensorAnnotation::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final
Here is the call graph for this function:

◆ add_quant_parameter_tensor_names()

onnx::StringStringEntryProto * onnx::TensorAnnotation::add_quant_parameter_tensor_names ( )
inline

◆ ByteSizeLong()

size_t onnx::TensorAnnotation::ByteSizeLong ( ) const
final
Here is the call graph for this function:

◆ CheckTypeAndMergeFrom()

void onnx::TensorAnnotation::CheckTypeAndMergeFrom ( const ::PROTOBUF_NAMESPACE_ID::MessageLite &  from)
final
Here is the call graph for this function:

◆ Clear()

void onnx::TensorAnnotation::Clear ( )
final
Here is the caller graph for this function:

◆ clear_quant_parameter_tensor_names()

void onnx::TensorAnnotation::clear_quant_parameter_tensor_names ( )
inline

◆ clear_tensor_name()

void onnx::TensorAnnotation::clear_tensor_name ( )
inline

◆ CopyFrom()

void onnx::TensorAnnotation::CopyFrom ( const TensorAnnotation from)
Here is the call graph for this function:

◆ default_instance()

static const TensorAnnotation & onnx::TensorAnnotation::default_instance ( )
inlinestatic

◆ FullMessageName()

::PROTOBUF_NAMESPACE_ID::StringPiece onnx::TensorAnnotation::FullMessageName ( )
inlinestaticprivate

◆ GetCachedSize()

int onnx::TensorAnnotation::GetCachedSize ( ) const
inlinefinal

◆ GetTypeName()

std::string onnx::TensorAnnotation::GetTypeName ( ) const
final

◆ internal_default_instance()

static const TensorAnnotation * onnx::TensorAnnotation::internal_default_instance ( )
inlinestatic

◆ InternalSwap()

void onnx::TensorAnnotation::InternalSwap ( TensorAnnotation other)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsInitialized()

bool onnx::TensorAnnotation::IsInitialized ( ) const
final

◆ MergeFrom()

void onnx::TensorAnnotation::MergeFrom ( const TensorAnnotation from)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mutable_quant_parameter_tensor_names() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::onnx::StringStringEntryProto > * onnx::TensorAnnotation::mutable_quant_parameter_tensor_names ( )
inline

◆ mutable_quant_parameter_tensor_names() [2/2]

onnx::StringStringEntryProto * onnx::TensorAnnotation::mutable_quant_parameter_tensor_names ( int  index)
inline

◆ mutable_tensor_name()

std::string * onnx::TensorAnnotation::mutable_tensor_name ( )
inline

◆ New()

TensorAnnotation * onnx::TensorAnnotation::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ operator=() [1/2]

TensorAnnotation & onnx::TensorAnnotation::operator= ( const TensorAnnotation from)
inline

◆ operator=() [2/2]

TensorAnnotation & onnx::TensorAnnotation::operator= ( TensorAnnotation &&  from)
inlinenoexcept

◆ quant_parameter_tensor_names() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::onnx::StringStringEntryProto > & onnx::TensorAnnotation::quant_parameter_tensor_names ( ) const
inline

◆ quant_parameter_tensor_names() [2/2]

const ::onnx::StringStringEntryProto & onnx::TensorAnnotation::quant_parameter_tensor_names ( int  index) const
inline

◆ quant_parameter_tensor_names_size()

int onnx::TensorAnnotation::quant_parameter_tensor_names_size ( ) const
inline

◆ release_tensor_name()

std::string * onnx::TensorAnnotation::release_tensor_name ( )
inline

◆ set_allocated_tensor_name()

void onnx::TensorAnnotation::set_allocated_tensor_name ( std::string *  tensor_name)
inline

◆ set_tensor_name() [1/2]

template<typename ArgT0 = const std::string&, typename... ArgT>
void onnx::TensorAnnotation::set_tensor_name ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_tensor_name() [2/2]

template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void onnx::TensorAnnotation::set_tensor_name ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ SetCachedSize()

void onnx::TensorAnnotation::SetCachedSize ( int  size) const
private
Here is the caller graph for this function:

◆ SharedCtor()

void onnx::TensorAnnotation::SharedCtor ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned 
)
inlineprivate
Here is the caller graph for this function:

◆ SharedDtor()

void onnx::TensorAnnotation::SharedDtor ( )
inlineprivate
Here is the caller graph for this function:

◆ Swap()

void onnx::TensorAnnotation::Swap ( TensorAnnotation other)
inline

◆ tensor_name()

const std::string & onnx::TensorAnnotation::tensor_name ( ) const
inline

◆ UnsafeArenaSwap()

void onnx::TensorAnnotation::UnsafeArenaSwap ( TensorAnnotation other)
inline

Friends And Related Symbol Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

◆ ::TableStruct_onnx_2eproto3

friend struct ::TableStruct_onnx_2eproto3
friend

◆ swap

void swap ( TensorAnnotation a,
TensorAnnotation b 
)
friend

Member Data Documentation

◆ [union]

union { ... } onnx::TensorAnnotation

◆ _impl_

Impl_ onnx::TensorAnnotation::_impl_

◆ kIndexInFileMessages

constexpr int onnx::TensorAnnotation::kIndexInFileMessages
staticconstexpr
Initial value:
=
12

The documentation for this class was generated from the following files: