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

Function IsPHWC4

tensorflow/lite/delegates/gpu/gl_delegate.cc:72–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 TfLiteTensor* tensor);
71
72inline bool IsPHWC4(const BHWC& shape) {
73 return shape.c == 4 || (shape.h == 1 && shape.w == 1 && shape.c % 4 == 0);
74}
75
76class Delegate {
77 struct ValueRef {

Callers 2

PrepareMethod · 0.85
InvokeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected