ValuesEqual
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/compliant_node_builder.h>
- Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a
Function Usage
Compares whether two values are equal.
Prototype
1 2 3 | template <typename T> bool ValuesEqual(const T &a, const T &b) bool ValuesEqual(const std::vector<T> &a, const std::vector<T> &b) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
a |
Input |
First value. |
b |
Input |
Second value. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
bool |
If they are equal, true is returned. Otherwise, false is returned. |
Constraints
None
Parent topic: CompliantNodeBuilder