ailiaGetSelectedEnvironment method

int ailiaGetSelectedEnvironment(
  1. Pointer<AILIANetwork> net,
  2. Pointer<Pointer<AILIAEnvironment>> env,
  3. int version
)

~japanese @brief 選択された計算環境を取得します @param net ネットワークオブジェクトポインタ @param env 計算環境情報の格納先(AILIANetworkインスタンスを破棄するまで有効) @param version AILIA_ENVIRONMENT_VERSION @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。

~english @brief Gets the selected computational environment. @param net A network instance pointer @param env The storage location of the computational environment information (valid until the AILIANetwork instance is destroyed) @param version AILIA_ENVIRONMENT_VERSION @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaGetSelectedEnvironment(
  ffi.Pointer<AILIANetwork> net,
  ffi.Pointer<ffi.Pointer<AILIAEnvironment>> env,
  int version,
) {
  return _ailiaGetSelectedEnvironment(
    net,
    env,
    version,
  );
}