ListListTypeToPtrAndCounts
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/es_graph_builder.h>
- Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a
Function Usage
Converts the input parameter of the ListListType attribute into a pair that contains List of Ptrs and List inner size.
Prototype
1 2 | template <typename T> std::pair<std::vector<const T *>, std::vector<int64_t>> ListListTypeToPtrAndCounts(const std::vector<std::vector<T>> &list_list_type) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
T |
Input |
Type of the list of lists. |
list_list_type |
Input |
Input parameter of the ListListType attribute. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
std::pair<std::vector<const T *>, std::vector<int64_t>> |
Pair that contains List of Ptrs and List inner size. |
Restrictions
None
Parent topic: EsGraphBuilder