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

Function Is4Alighed

tensorflow/lite/delegates/gpu/cl/kernels/strided_slice.cc:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84bool Is4Alighed(const SliceAttributes& attr) {
85 return attr.strides.c == 1 && attr.starts.c % 4 == 0;
86}
87
88int3 GetOffset(const SliceAttributes& attr, int src_width, int src_height,
89 int src_channels) {

Callers 2

GetOffsetFunction · 0.85
CompileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected