MCPcopy Create free account
hub / github.com/OpenNMT/CTranslate2 / max

Method max

include/ctranslate2/primitives.h:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104 template <typename T>
105 static void max(T a, T* y, dim_t size) {
106 max(a, y, y, size);
107 }
108
109 template <typename T>
110 static void min(T a, const T* x, T* y, dim_t size);

Callers

nothing calls this directly

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected