ailiaGetInputDim method

int ailiaGetInputDim(
  1. Pointer<AILIANetwork> net,
  2. Pointer<UnsignedInt> dim
)

Gets the dimension of the input data during inference.

Parameters:

  • net: A network instance pointer
  • dim: The storage location of the dimension

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 ailiaGetInputDim(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.UnsignedInt> dim,
) {
  return _ailiaGetInputDim(
    net,
    dim,
  );
}