Searched refs:round_func (Results 1 – 2 of 2) sorted by relevance
91 size_t ToString(T value, int (*round_func)(T), char* buf) { in ToString()103 int scaled = round_func(value); in ToString()109 scaled = round_func(value * scale); in ToString()
90 T max_range, T scale, T inverse_scale, Func round_func, in ClampScaleAndRound() argument93 .unaryExpr(round_func) * in ClampScaleAndRound()121 Func round_func, Vec output) { in ScaleAndRound() argument122 output.device(d) = (input * scale).unaryExpr(round_func) * inverse_scale; in ScaleAndRound()