MCPcopy Create free account
hub / github.com/pytorch/executorch / Pack

Method Pack

exir/_serialize/generated/executorch_flatbuffer/String.py:93–100  ·  view source on GitHub ↗
(self, builder)

Source from the content-addressed store, hash-verified

91
92 # StringT
93 def Pack(self, builder):
94 if self.stringVal is not None:
95 stringVal = builder.CreateString(self.stringVal)
96 StringStart(builder)
97 if self.stringVal is not None:
98 StringAddStringVal(builder, stringVal)
99 string = StringEnd(builder)
100 return string

Callers

nothing calls this directly

Calls 3

StringStartFunction · 0.85
StringAddStringValFunction · 0.85
StringEndFunction · 0.85

Tested by

no test coverage detected