MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / PositiveRemainder

Function PositiveRemainder

tensorflow/lite/kernels/strided_slice.cc:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62const int kMaxDim = 4;
63
64inline int32_t PositiveRemainder(int32_t dividend, int32_t divisor) {
65 return (divisor + (dividend % divisor)) % divisor;
66}
67
68inline int32_t ClampedIndex(int32_t index, int dim, bool pos_stride) {
69 return pos_stride

Callers 1

ClampedIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected