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

#include "onnx.proto3.pb.h"

Inheritance diagram for onnx::TypeProto_Tensor:
Collaboration diagram for onnx::TypeProto_Tensor:

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int {
  kShapeFieldNumber = 2 ,
  kElemTypeFieldNumber = 1
}
 

Public Member Functions

 TypeProto_Tensor ()
 
PROTOBUF_CONSTEXPR TypeProto_Tensor (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 TypeProto_Tensor (const TypeProto_Tensor &from)
 
 TypeProto_Tensor (TypeProto_Tensor &&from) noexcept
 
 ~TypeProto_Tensor () 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
 
size_t ByteSizeLong () const final
 
void CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_elem_type ()
 
void clear_shape ()
 
void CopyFrom (const TypeProto_Tensor &from)
 
int32_t elem_type () const
 
int GetCachedSize () const final
 
std::string GetTypeName () const final
 
bool has_shape () const
 
bool IsInitialized () const final
 
void MergeFrom (const TypeProto_Tensor &from)
 
::onnx::TensorShapeProtomutable_shape ()
 
TypeProto_TensorNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
TypeProto_Tensoroperator= (const TypeProto_Tensor &from)
 
TypeProto_Tensoroperator= (TypeProto_Tensor &&from) noexcept
 
PROTOBUF_NODISCARD::onnx::TensorShapeProto * release_shape ()
 
void set_allocated_shape (::onnx::TensorShapeProto *shape)
 
void set_elem_type (int32_t value)
 
const ::onnx::TensorShapeProtoshape () const
 
void Swap (TypeProto_Tensor *other)
 
::onnx::TensorShapeProtounsafe_arena_release_shape ()
 
void unsafe_arena_set_allocated_shape (::onnx::TensorShapeProto *shape)
 
void UnsafeArenaSwap (TypeProto_Tensor *other)
 

Static Public Member Functions

static const TypeProto_Tensordefault_instance ()
 
static const TypeProto_Tensorinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 

Protected Member Functions

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

Private Types

typedef void DestructorSkippable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

int32_t _internal_elem_type () const
 
bool _internal_has_shape () const
 
::onnx::TensorShapeProto_internal_mutable_shape ()
 
void _internal_set_elem_type (int32_t value)
 
const ::onnx::TensorShapeProto_internal_shape () const
 
void InternalSwap (TypeProto_Tensor *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 (TypeProto_Tensor &a, TypeProto_Tensor &b)
 

Member Typedef Documentation

◆ DestructorSkippable_

◆ InternalArenaConstructable_

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kShapeFieldNumber 
kElemTypeFieldNumber 

Constructor & Destructor Documentation

◆ TypeProto_Tensor() [1/5]

onnx::TypeProto_Tensor::TypeProto_Tensor ( )
inline

◆ ~TypeProto_Tensor()

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

◆ TypeProto_Tensor() [2/5]

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

◆ TypeProto_Tensor() [3/5]

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

◆ TypeProto_Tensor() [4/5]

onnx::TypeProto_Tensor::TypeProto_Tensor ( TypeProto_Tensor &&  from)
inlinenoexcept

◆ TypeProto_Tensor() [5/5]

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

Member Function Documentation

◆ _internal_elem_type()

int32_t onnx::TypeProto_Tensor::_internal_elem_type ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_has_shape()

bool onnx::TypeProto_Tensor::_internal_has_shape ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _internal_mutable_shape()

onnx::TensorShapeProto * onnx::TypeProto_Tensor::_internal_mutable_shape ( )
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _internal_set_elem_type()

void onnx::TypeProto_Tensor::_internal_set_elem_type ( int32_t  value)
inlineprivate
Here is the caller graph for this function:

◆ _internal_shape()

const ::onnx::TensorShapeProto & onnx::TypeProto_Tensor::_internal_shape ( ) const
inlineprivate
Here is the caller graph for this function:

◆ _InternalParse()

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

◆ _InternalSerialize()

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

◆ ByteSizeLong()

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

◆ CheckTypeAndMergeFrom()

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

◆ Clear()

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

◆ clear_elem_type()

void onnx::TypeProto_Tensor::clear_elem_type ( )
inline

◆ clear_shape()

void onnx::TypeProto_Tensor::clear_shape ( )
inline

◆ CopyFrom()

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

◆ default_instance()

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

◆ elem_type()

int32_t onnx::TypeProto_Tensor::elem_type ( ) const
inline

◆ FullMessageName()

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

◆ GetCachedSize()

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

◆ GetTypeName()

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

◆ has_shape()

bool onnx::TypeProto_Tensor::has_shape ( ) const
inline

◆ internal_default_instance()

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

◆ InternalSwap()

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

◆ IsInitialized()

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

◆ MergeFrom()

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

◆ mutable_shape()

onnx::TensorShapeProto * onnx::TypeProto_Tensor::mutable_shape ( )
inline

◆ New()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ release_shape()

onnx::TensorShapeProto * onnx::TypeProto_Tensor::release_shape ( )
inline

◆ set_allocated_shape()

void onnx::TypeProto_Tensor::set_allocated_shape ( ::onnx::TensorShapeProto shape)
inline

◆ set_elem_type()

void onnx::TypeProto_Tensor::set_elem_type ( int32_t  value)
inline

◆ SetCachedSize()

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

◆ shape()

const ::onnx::TensorShapeProto & onnx::TypeProto_Tensor::shape ( ) const
inline

◆ SharedCtor()

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

◆ SharedDtor()

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

◆ Swap()

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

◆ unsafe_arena_release_shape()

onnx::TensorShapeProto * onnx::TypeProto_Tensor::unsafe_arena_release_shape ( )
inline

◆ unsafe_arena_set_allocated_shape()

void onnx::TypeProto_Tensor::unsafe_arena_set_allocated_shape ( ::onnx::TensorShapeProto shape)
inline

◆ UnsafeArenaSwap()

void onnx::TypeProto_Tensor::UnsafeArenaSwap ( TypeProto_Tensor 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 ( TypeProto_Tensor a,
TypeProto_Tensor b 
)
friend

Member Data Documentation

◆ [union]

union { ... } onnx::TypeProto_Tensor

◆ _impl_

Impl_ onnx::TypeProto_Tensor::_impl_

◆ kIndexInFileMessages

constexpr int onnx::TypeProto_Tensor::kIndexInFileMessages
staticconstexpr
Initial value:
=
19

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