(
self,
executorch_program: Union[
ExecutorchProgram,
ExecutorchProgramManager,
],
method_test_suites: Sequence[MethodTestSuite],
bptd: BundledProgramTestData,
)
| 191 | ) |
| 192 | |
| 193 | def _serialize( |
| 194 | self, |
| 195 | executorch_program: Union[ |
| 196 | ExecutorchProgram, |
| 197 | ExecutorchProgramManager, |
| 198 | ], |
| 199 | method_test_suites: Sequence[MethodTestSuite], |
| 200 | bptd: BundledProgramTestData, |
| 201 | ) -> bytes: |
| 202 | bundled_program = BundledProgram( |
| 203 | executorch_program=executorch_program, method_test_suites=method_test_suites |
| 204 | ) |
| 205 | bundled_program_buffer = serialize_from_bundled_program_to_flatbuffer( |
| 206 | bundled_program |
| 207 | ) |
| 208 | return bundled_program_buffer |
no test coverage detected