int ANeuralNetworksMemory_createFromFd(size_t size, int prot, int fd, size_t offset,
ANeuralNetworksMemory** memory) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksModel_finish(ANeuralNetworksModel* model) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksModel_addOperand(ANeuralNetworksModel* model,
const ANeuralNetworksOperandType* type) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksModel_setOperandValue(ANeuralNetworksModel* model, int32_t index,
const void* buffer, size_t length) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const ANeuralNetworksMemory* memory,
size_t offset, size_t length) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const uint32_t* inputs, uint32_t outputCount,
const uint32_t* outputs) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const uint32_t* inputs, uint32_t outputCount,
const uint32_t* outputs) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksCompilation_create(ANeuralNetworksModel* model,
ANeuralNetworksCompilation** compilation) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksCompilation_setPreference(ANeuralNetworksCompilation* compilation,
int32_t preference) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksCompilation_finish(ANeuralNetworksCompilation* compilation) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksExecution_create(ANeuralNetworksCompilation* compilation,
ANeuralNetworksExecution** execution) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const ANeuralNetworksOperandType* type, const void* buffer,
size_t length) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const ANeuralNetworksMemory* memory, size_t offset,
size_t length) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const ANeuralNetworksOperandType* type, void* buffer,
size_t length) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
const ANeuralNetworksMemory* memory, size_t offset,
size_t length) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksExecution_startCompute(ANeuralNetworksExecution* execution,
ANeuralNetworksEvent** event) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0
int ANeuralNetworksEvent_wait(ANeuralNetworksEvent* event) {
// Dummy Implementation
- return 0;
+ return ANEURALNETWORKS_NO_ERROR;
// Original code for reference
#if 0