@file aurorafw/android/platform/neuralnetworks.d
For {@link ANeuralNetworksModel_setOperandValue}, values with a length smaller or equal to this will be immediately copied into the model. The size is in bytes.
Fused activation function types.
Operand types.
Operation types.
Implicit padding algorithms.
Execution preferences.
Result codes.
Create a {@link ANeuralNetworksCompilation} to compile the given model.
Indicate that we have finished modifying a compilation. Required before calling {@link ANeuralNetworksExecution_create}.
Destroy a compilation.
Sets the execution preference.
Destroys the event.
Waits until the execution completes.
Create a {@link ANeuralNetworksExecution} to apply the given compilation. This only creates the object. Computation is only performed once {@link ANeuralNetworksExecution_startCompute} is invoked.
Destroy an execution.
Associate a user buffer with an input of the model of the {@link ANeuralNetworksExecution}.
Associate part of a memory object with an input of the model of the {@link ANeuralNetworksExecution}.
Associate a user buffer with an output of the model of the {@link ANeuralNetworksExecution}.
Associate part of a memory object with an output of the model of the {@link ANeuralNetworksExecution}.
Schedule evaluation of the execution.
Creates a shared memory object from a file descriptor.
Delete a memory object.
Add an operand to a model.
Add an operation to a model.
Create an empty {@link ANeuralNetworksModel}.
Indicate that we have finished modifying a model. Required before calling {@link ANeuralNetworksCompilation_create}.
Destroy a model.
Specifies which operands will be the model's inputs and outputs. Every model must have at least one input and one output.
Specifies whether {@link ANEURALNETWORKS_TENSOR_FLOAT32} is allowed to be calculated with range and/or precision as low as that of the IEEE 754 16-bit floating-point format. By default, {@link ANEURALNETWORKS_TENSOR_FLOAT32} must be calculated using at least the range and precision of the IEEE 754 32-bit floating-point format.
Sets an operand to a constant value.
Sets an operand to a value stored in a memory object.
ANeuralNetworksCompilation is an opaque type that can be used to compile a machine learning model.
ANeuralNetworksEvent is an opaque type that represents an event that will be signaled once an execution completes.
ANeuralNetworksExecution is an opaque type that can be used to apply a machine learning model to a set of inputs.
ANeuralNetworksMemory is an opaque type that represents memory.
ANeuralNetworksModel is an opaque type that contains a description of the mathematical operations that constitute the model.
ANeuralNetworksOperandType describes the type of an operand. This structure is used to describe both scalars and tensors.