triton-inference-server / fil_backend

FIL backend for the Triton Inference Server
Apache License 2.0
68 stars 35 forks source link

Avoid narrowing conversion in FIL CPU with custom types #204

Open wphicks opened 2 years ago

wphicks commented 2 years ago

Several calculations in FIL CPU would benefit from an "at least one" integer type to prevent a narrowing conversion that is logically safe but whose safety is not guaranteed by the type.