2016-08-02 2 views
-1

이 라이브러리는 zip 형식으로 다운로드하고 jar 파일이 아닌 전체 폴더 구조로 추출합니다. JBLAS 라이브러리를 Android 스튜디오로 가져 오는 방법

https://github.com/mikiobraun/jblas-examples/blob/master/src/CG.java

나는 안드로이드 스튜디오로 수입이 점점 도움이 필요했습니다.

+0

고성능 컴퓨팅 부분은 RenderScript 미리 정의 된 BLAS 함수를 호출 : https://developer.android.com/reference /android/renderscript/ScriptIntrinsicBLAS.html –

답변

0
  1. 다운로드 jblas jar 파일 project/app/libs 디렉토리에
  2. 복사 jar 파일 (존재하지 않는 경우 libs와 응용 프로그램 폴더 아래에 폴더 생성).
  3. 이 앱의 build.gradle 파일에 .jar 파일 종속성을 추가 : 안드로이드의

    dependencies { 
        // ... other dependencies 
        compile files('libs/jblas-1.2.4.jar') 
    } 
    
관련 문제