Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
72
inline bool IsPHWC4(const BHWC& shape) {
73
return shape.c == 4 || (shape.h == 1 && shape.w == 1 && shape.c % 4 == 0);
74
}
75
76
class Delegate {
77
struct ValueRef {
Callers
2
Prepare
Method · 0.85
Invoke
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected