Model.Builder
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
공개 생성자
|
Builder(컨텍스트 컨텍스트, String modelPath)
메모리 매핑 파일을 사용하여 애셋 폴더에서 tflite 모델을 로드하는 빌더를 만듭니다.
|
상속된 메서드
java.lang.Object
클래스에서 상속됨
boolean
|
|
최종 Class<?>
|
getClass()
|
int
|
hashCode()
|
최종
void
|
notify()
|
최종
void
|
notifyAll()
|
String
|
toString()
|
최종
void
|
wait(long arg0, int arg1)
|
최종
void
|
wait(long arg0)
|
최종
void
|
wait()
|
공개 생성자
public
빌더
(컨텍스트 컨텍스트, String modelPath)
메모리 매핑 파일을 사용하여 애셋 폴더에서 tflite 모델을 로드하는 빌더를 만듭니다.
매개변수
context |
애셋에 액세스할 애플리케이션 컨텍스트입니다. |
modelPath |
모델의 애셋 경로입니다 (.tflite 파일). |
공개 메서드
실행 중인 기기를 설정합니다. 기본적으로 TFLite는 CPU에서 실행됩니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-05-14(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]