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

Function MakeReadonlyObject

tensorflow/lite/delegates/gpu/gl/object.h:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124inline Object MakeReadonlyObject(const ObjectSize& size,
125 const std::vector<float>& data) {
126 return Object{AccessType::READ,
127 DataType::FLOAT32,
128 ObjectType::UNKNOWN,
129 0,
130 size,
131 internal_object::ToBytesVector(data, 16)};
132}
133
134inline Object MakeReadonlyTexture(const ObjectSize& size,
135 const std::vector<float>& data) {

Callers 9

GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85
GenerateCodeMethod · 0.85

Calls 3

ToBytesVectorFunction · 0.85
IntegralDivideRoundUpFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected