Commit Graph

2 Commits

Author SHA1 Message Date
RJ Ascani b45012b52c
Fix RISC-V codegen example (#2199)
The RISC-V toolchain we're using failed to properly discern the TfLiteEvalTensor type for use with an assignment operator. It produced compiler errors for "no match for 'operator=' with operand types TfLiteEvalTensor and a brace-closed initializer list. This PR resolves this issue by explicitly using the TfLiteEvalTensor constructor for the initializer list. We also apply this approach to the TfLiteNode initialization as well, just for consistency.

BUG=#2195
2023-08-29 18:22:08 +00:00
RJ Ascani 4d07bd0f44
Generate static TfLiteEvalTensors (#2193)
This PR generates all of the TfLiteEvalTensors for the graph. It also generates all of the static buffers used for tensors that were present in the flatbuffer.

BUG=b/295077140
2023-08-29 03:44:17 +00:00