ailiaGetEnvironment method
- Pointer<
Pointer< env,AILIAEnvironment> > - int env_idx,
- int version
~japanese @brief 計算環境の一覧を取得します @param env 計算環境情報の格納先(AILIANetworkインスタンスを破棄するまで有効) @param env_idx 計算環境情報のインデックス(0~ ailiaGetEnvironmentCount() -1) @param version AILIA_ENVIRONMENT_VERSION @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Gets the list of computational environments. @param env The storage location of the computational environment information (valid until the AILIANetwork instance is destroyed) @param env_idx The index of the computational environment information (0 to ailiaGetEnvironmentCount() -1) @param version AILIA_ENVIRONMENT_VERSION @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaGetEnvironment(
ffi.Pointer<ffi.Pointer<AILIAEnvironment>> env,
int env_idx,
int version,
) {
return _ailiaGetEnvironment(
env,
env_idx,
version,
);
}