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

#include "onnx.proto3.pb.h"

Inheritance diagram for onnx::SparseTensorProto:
Collaboration diagram for onnx::SparseTensorProto:

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int {
  kDimsFieldNumber = 3 ,
  kValuesFieldNumber = 1 ,
  kIndicesFieldNumber = 2
}
 

Public Member Functions

 SparseTensorProto ()
 
PROTOBUF_CONSTEXPR SparseTensorProto (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 SparseTensorProto (const SparseTensorProto &from)
 
 SparseTensorProto (SparseTensorProto &&from) noexcept
 
 ~SparseTensorProto () 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
 
void add_dims (int64_t value)
 
size_t ByteSizeLong () const final
 
void CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_dims ()
 
void clear_indices ()
 
void clear_values ()
 
void CopyFrom (const SparseTensorProto &from)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > & dims () const
 
int64_t dims (int index) const
 
int dims_size () const
 
int GetCachedSize () const final
 
std::string GetTypeName () const final
 
bool has_indices () const
 
bool has_values () const
 
const ::onnx::TensorProtoindices () const
 
bool IsInitialized () const final
 
void MergeFrom (const SparseTensorProto &from)
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > * mutable_dims ()
 
::onnx::TensorProtomutable_indices ()
 
::onnx::TensorProtomutable_values ()
 
SparseTensorProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
SparseTensorProtooperator= (const SparseTensorProto &from)
 
SparseTensorProtooperator= (SparseTensorProto &&from) noexcept
 
PROTOBUF_NODISCARD::onnx::TensorProto * release_indices ()
 
PROTOBUF_NODISCARD::onnx::TensorProto * release_values ()
 
void set_allocated_indices (::onnx::TensorProto *indices)
 
void set_allocated_values (::onnx::TensorProto *values)
 
void set_dims (int index, int64_t value)
 
void Swap (SparseTensorProto *other)
 
::onnx::TensorProtounsafe_arena_release_indices ()
 
::onnx::TensorProtounsafe_arena_release_values ()
 
void unsafe_arena_set_allocated_indices (::onnx::TensorProto *indices)
 
void unsafe_arena_set_allocated_values (::onnx::TensorProto *values)
 
void UnsafeArenaSwap (SparseTensorProto *other)
 
const ::onnx::TensorProtovalues () const
 

Static Public Member Functions

static const SparseTensorProtodefault_instance ()
 
static const SparseTensorProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

void _internal_add_dims (int64_t value)
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > & _internal_dims () const
 
int64_t _internal_dims (int index) const
 
int _internal_dims_size () const
 
bool _internal_has_indices () const
 
bool _internal_has_values () const
 
const ::onnx::TensorProto_internal_indices () const
 
::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > * _internal_mutable_dims ()
 
::onnx::TensorProto_internal_mutable_indices ()
 
::onnx::TensorProto_internal_mutable_values ()
 
const ::onnx::TensorProto_internal_values () const
 
void InternalSwap (SparseTensorProto *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 (SparseTensorProto &a, SparseTensorProto &b)
 

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kDimsFieldNumber 
kValuesFieldNumber 
kIndicesFieldNumber 

Constructor & Destructor Documentation

◆ SparseTensorProto() [1/5]

onnx::SparseTensorProto::SparseTensorProto ( )
inline

◆ ~SparseTensorProto()

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

◆ SparseTensorProto() [2/5]

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

◆ SparseTensorProto() [3/5]

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

◆ SparseTensorProto() [4/5]

onnx::SparseTensorProto::SparseTensorProto ( SparseTensorProto &&  from)
inlinenoexcept

◆ SparseTensorProto() [5/5]

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

Member Function Documentation

◆ _internal_add_dims()

void onnx::SparseTensorProto::_internal_add_dims ( int64_t  value)
inlineprivate
Here is the caller graph for this function:

◆ _internal_dims() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > & onnx::SparseTensorProto::_internal_dims ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_dims() [2/2]

int64_t onnx::SparseTensorProto::_internal_dims ( int  index) const
inlineprivate

◆ _internal_dims_size()

int onnx::SparseTensorProto::_internal_dims_size ( ) const
inlineprivate

◆ _internal_has_indices()

bool onnx::SparseTensorProto::_internal_has_indices ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_has_values()

bool onnx::SparseTensorProto::_internal_has_values ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_indices()

const ::onnx::TensorProto & onnx::SparseTensorProto::_internal_indices ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_mutable_dims()

PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > * onnx::SparseTensorProto::_internal_mutable_dims ( )
inlineprivate
Here is the caller graph for this function:

◆ _internal_mutable_indices()

onnx::TensorProto * onnx::SparseTensorProto::_internal_mutable_indices ( )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _internal_mutable_values()

onnx::TensorProto * onnx::SparseTensorProto::_internal_mutable_values ( )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _internal_values()

const ::onnx::TensorProto & onnx::SparseTensorProto::_internal_values ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ add_dims()

void onnx::SparseTensorProto::add_dims ( int64_t  value)
inline

◆ ByteSizeLong()

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

◆ CheckTypeAndMergeFrom()

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

◆ Clear()

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

◆ clear_dims()

void onnx::SparseTensorProto::clear_dims ( )
inline

◆ clear_indices()

void onnx::SparseTensorProto::clear_indices ( )
inline

◆ clear_values()

void onnx::SparseTensorProto::clear_values ( )
inline

◆ CopyFrom()

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

◆ default_instance()

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

◆ dims() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > & onnx::SparseTensorProto::dims ( ) const
inline

◆ dims() [2/2]

int64_t onnx::SparseTensorProto::dims ( int  index) const
inline

◆ dims_size()

int onnx::SparseTensorProto::dims_size ( ) const
inline

◆ FullMessageName()

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

◆ GetCachedSize()

int onnx::SparseTensorProto::GetCachedSize ( ) const
inlinefinal
Here is the caller graph for this function:

◆ GetTypeName()

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

◆ has_indices()

bool onnx::SparseTensorProto::has_indices ( ) const
inline

◆ has_values()

bool onnx::SparseTensorProto::has_values ( ) const
inline

◆ indices()

const ::onnx::TensorProto & onnx::SparseTensorProto::indices ( ) const
inline

◆ internal_default_instance()

static const SparseTensorProto * onnx::SparseTensorProto::internal_default_instance ( )
inlinestatic
Here is the caller graph for this function:

◆ InternalSwap()

void onnx::SparseTensorProto::InternalSwap ( SparseTensorProto other)
private

◆ IsInitialized()

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

◆ MergeFrom()

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

◆ mutable_dims()

PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > * onnx::SparseTensorProto::mutable_dims ( )
inline

◆ mutable_indices()

onnx::TensorProto * onnx::SparseTensorProto::mutable_indices ( )
inline

◆ mutable_values()

onnx::TensorProto * onnx::SparseTensorProto::mutable_values ( )
inline

◆ New()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ release_indices()

onnx::TensorProto * onnx::SparseTensorProto::release_indices ( )
inline

◆ release_values()

onnx::TensorProto * onnx::SparseTensorProto::release_values ( )
inline

◆ set_allocated_indices()

void onnx::SparseTensorProto::set_allocated_indices ( ::onnx::TensorProto indices)
inline

◆ set_allocated_values()

void onnx::SparseTensorProto::set_allocated_values ( ::onnx::TensorProto values)
inline

◆ set_dims()

void onnx::SparseTensorProto::set_dims ( int  index,
int64_t  value 
)
inline

◆ SetCachedSize()

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

◆ SharedCtor()

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

◆ SharedDtor()

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

◆ Swap()

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

◆ unsafe_arena_release_indices()

onnx::TensorProto * onnx::SparseTensorProto::unsafe_arena_release_indices ( )
inline

◆ unsafe_arena_release_values()

onnx::TensorProto * onnx::SparseTensorProto::unsafe_arena_release_values ( )
inline

◆ unsafe_arena_set_allocated_indices()

void onnx::SparseTensorProto::unsafe_arena_set_allocated_indices ( ::onnx::TensorProto indices)
inline

◆ unsafe_arena_set_allocated_values()

void onnx::SparseTensorProto::unsafe_arena_set_allocated_values ( ::onnx::TensorProto values)
inline

◆ UnsafeArenaSwap()

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

◆ values()

const ::onnx::TensorProto & onnx::SparseTensorProto::values ( ) const
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 ( SparseTensorProto a,
SparseTensorProto b 
)
friend

Member Data Documentation

◆ [union]

union { ... } onnx::SparseTensorProto

◆ _impl_

Impl_ onnx::SparseTensorProto::_impl_

◆ kIndexInFileMessages

constexpr int onnx::SparseTensorProto::kIndexInFileMessages
staticconstexpr
Initial value:
=
16

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