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

Method add

src/cpu/vec.h:115–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 static inline value_type add(value_type a, value_type b) {
116 return a + b;
117 }
118
119 static inline value_type sub(value_type a, value_type b) {
120 return a - b;

Callers 5

_create_vocabFunction · 0.45
applyMethod · 0.45
apply_min_lengthFunction · 0.45
applyMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

_create_vocabFunction · 0.36
TESTFunction · 0.36