ailiaGetOutputShapeND method
- Pointer<
AILIANetwork> net, - Pointer<
UnsignedInt> shape, - int dim
Gets the shape of the output data during inference.
Parameters:
net: A network instance pointershape: The storage location of the shape array. (It stores dim-1, dim-2, ... ,1, 0 order.)dim: The size of shape
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
This API can be call after call ailiaOpenWeighXXX().
Implementation
int ailiaGetOutputShapeND(
ffi.Pointer<AILIANetwork> net,
ffi.Pointer<ffi.UnsignedInt> shape,
int dim,
) {
return _ailiaGetOutputShapeND(
net,
shape,
dim,
);
}