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

Method OnShader

tensorflow/lite/delegates/gpu/gl/serialization_test.cc:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47struct Handler : public DeserializationHandler {
48 Status OnShader(absl::Span<const char> shader_src) final {
49 shaders.push_back(std::string(shader_src.data(), shader_src.size()));
50 return OkStatus();
51 }
52
53 Status OnProgram(const std::vector<Variable>& parameters,
54 const std::vector<Object>& objects,

Callers 1

DeserializeCompiledModelFunction · 0.80

Calls 4

OkStatusFunction · 0.85
push_backMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected