MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetReduceOperationAsCString

Function GetReduceOperationAsCString

include/armnn/TypesUtils.hpp:171–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171constexpr char const* GetReduceOperationAsCString(ReduceOperation reduce_operation)
172{
173 switch (reduce_operation)
174 {
175 case ReduceOperation::Sum: return "Sum";
176 case ReduceOperation::Max: return "Max";
177 case ReduceOperation::Mean: return "Mean";
178 case ReduceOperation::Min: return "Min";
179 case ReduceOperation::Prod: return "Prod";
180 default: return "Unknown";
181 }
182}
183constexpr unsigned int GetDataTypeSize(DataType dataType)
184{
185 switch (dataType)

Callers 2

SerializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected