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

Function NodeOffset

tensorflow/lite/kernels/internal/optimized/optimized_ops.h:2885–2887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2883}
2884
2885inline int NodeOffset(int b, int h, int w, int height, int width) {
2886 return (b * height + h) * width + w;
2887}
2888
2889inline bool AveragePool(const PoolParams& params,
2890 const RuntimeShape& input_shape,

Callers 2

AveragePoolFunction · 0.70
MaxPoolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected