#include "onnx.proto3.pb.h"


Classes | |
| class | _Internal |
| struct | Impl_ |
Public Types | |
| enum | : int { kDeviceFieldNumber = 2 , kIndexToDeviceGroupMapFieldNumber = 3 , kShardedDimFieldNumber = 4 , kTensorNameFieldNumber = 1 } |
Public Member Functions | |
| ShardingSpecProto () | |
| PROTOBUF_CONSTEXPR | ShardingSpecProto (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) |
| ShardingSpecProto (const ShardingSpecProto &from) | |
| ShardingSpecProto (ShardingSpecProto &&from) noexcept | |
| ~ShardingSpecProto () 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_device (int64_t value) |
| ::onnx::IntIntListEntryProto * | add_index_to_device_group_map () |
| ::onnx::ShardedDimProto * | add_sharded_dim () |
| size_t | ByteSizeLong () const final |
| void | CheckTypeAndMergeFrom (const ::PROTOBUF_NAMESPACE_ID::MessageLite &from) final |
| PROTOBUF_ATTRIBUTE_REINITIALIZES void | Clear () final |
| void | clear_device () |
| void | clear_index_to_device_group_map () |
| void | clear_sharded_dim () |
| void | clear_tensor_name () |
| void | CopyFrom (const ShardingSpecProto &from) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > & | device () const |
| int64_t | device (int index) const |
| int | device_size () const |
| int | GetCachedSize () const final |
| std::string | GetTypeName () const final |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::onnx::IntIntListEntryProto > & | index_to_device_group_map () const |
| const ::onnx::IntIntListEntryProto & | index_to_device_group_map (int index) const |
| int | index_to_device_group_map_size () const |
| bool | IsInitialized () const final |
| void | MergeFrom (const ShardingSpecProto &from) |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > * | mutable_device () |
| ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::onnx::IntIntListEntryProto > * | mutable_index_to_device_group_map () |
| ::onnx::IntIntListEntryProto * | mutable_index_to_device_group_map (int index) |
| ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::onnx::ShardedDimProto > * | mutable_sharded_dim () |
| ::onnx::ShardedDimProto * | mutable_sharded_dim (int index) |
| std::string * | mutable_tensor_name () |
| ShardingSpecProto * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final |
| ShardingSpecProto & | operator= (const ShardingSpecProto &from) |
| ShardingSpecProto & | operator= (ShardingSpecProto &&from) noexcept |
| PROTOBUF_NODISCARD std::string * | release_tensor_name () |
| void | set_allocated_tensor_name (std::string *tensor_name) |
| void | set_device (int index, int64_t value) |
| 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) |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::onnx::ShardedDimProto > & | sharded_dim () const |
| const ::onnx::ShardedDimProto & | sharded_dim (int index) const |
| int | sharded_dim_size () const |
| void | Swap (ShardingSpecProto *other) |
| const std::string & | tensor_name () const |
| void | UnsafeArenaSwap (ShardingSpecProto *other) |
Static Public Member Functions | |
| static const ShardingSpecProto & | default_instance () |
| static const ShardingSpecProto * | internal_default_instance () |
Static Public Attributes | |
| static constexpr int | kIndexInFileMessages |
Protected Member Functions | |
| ShardingSpecProto (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false) | |
Private Types | |
| typedef void | DestructorSkippable_ |
| typedef void | InternalArenaConstructable_ |
Private Member Functions | |
| void | _internal_add_device (int64_t value) |
| ::onnx::IntIntListEntryProto * | _internal_add_index_to_device_group_map () |
| ::onnx::ShardedDimProto * | _internal_add_sharded_dim () |
| const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > & | _internal_device () const |
| int64_t | _internal_device (int index) const |
| int | _internal_device_size () const |
| const ::onnx::IntIntListEntryProto & | _internal_index_to_device_group_map (int index) const |
| int | _internal_index_to_device_group_map_size () const |
| ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > * | _internal_mutable_device () |
| std::string * | _internal_mutable_tensor_name () |
| PROTOBUF_ALWAYS_INLINE void | _internal_set_tensor_name (const std::string &value) |
| const ::onnx::ShardedDimProto & | _internal_sharded_dim (int index) const |
| int | _internal_sharded_dim_size () const |
| const std::string & | _internal_tensor_name () const |
| void | InternalSwap (ShardingSpecProto *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 (ShardingSpecProto &a, ShardingSpecProto &b) |
|
private |
|
private |
| anonymous enum : int |
|
inline |
|
override |

|
explicit |
| onnx::ShardingSpecProto::ShardingSpecProto | ( | const ShardingSpecProto & | from | ) |

|
inlinenoexcept |
|
explicitprotected |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |
|
inlineprivate |
|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
inlineprivate |

|
final |

|
final |

|
inline |
|
inline |
|
inline |
|
final |

|
final |

|
final |

|
inline |
|
inline |
|
inline |
|
inline |
| void onnx::ShardingSpecProto::CopyFrom | ( | const ShardingSpecProto & | from | ) |

|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlinefinal |
|
final |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
private |


|
final |
| void onnx::ShardingSpecProto::MergeFrom | ( | const ShardingSpecProto & | from | ) |


|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinefinal |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
| void onnx::ShardingSpecProto::set_tensor_name | ( | ArgT0 && | arg0, |
| ArgT... | args | ||
| ) |
|
inline |
|
private |

|
inline |
|
inline |
|
inline |
|
inlineprivate |

|
inlineprivate |

|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
| union { ... } onnx::ShardingSpecProto |
| Impl_ onnx::ShardingSpecProto::_impl_ |
|
staticconstexpr |