TensorFlow가 5월 14일 Google I/O로 돌아왔습니다!
지금 등록하세요
RaggedTensorToSparse
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
`RaggedTensor`를 동일한 값을 가진 `SparseTensor`로 변환합니다.
입력=ragged.from_nested_row_splits(rt_dense_values, rt_nested_splits) 출력=SparseTensor(indices=sparse_indices, 값=sparse_values,densense_shape=sparse_dense_shape)
상속된 메서드
java.lang.Object 클래스에서 부울 | 같음 (개체 arg0) |
마지막 수업<?> | getClass () |
정수 | 해시 코드 () |
최종 무효 | 알림 () |
최종 무효 | 통지모두 () |
끈 | toString () |
최종 무효 | 대기 (long arg0, int arg1) |
최종 무효 | 기다리세요 (긴 arg0) |
최종 무효 | 기다리다 () |
공개 방법
새로운 RaggedTensorToSparse 작업을 래핑하는 클래스를 생성하는 팩토리 메서드입니다.
매개변수
범위 | 현재 범위 |
---|
rt중첩 분할 | `RaggedTensor`에 대한 `row_splits`. |
---|
rtDense값 | `RaggedTensor`에 대한 `플랫_값`. |
---|
보고
- RaggedTensorToSparse의 새로운 인스턴스
공개 출력 <Long> sparseDenseShape ()
`sparse_dense_shape`은 입력 `RaggedTensor`의 긴밀한 경계 상자입니다.
공개 출력 <Long> sparseIndices ()
공개 출력 <U> sparseValues ()
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 크리에이티브 커먼즈 저작자 표시 라이선스 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다. 일부 콘텐츠에는 Numpy 라이선스가 부여됩니다.
최종 업데이트: 2023-12-02(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":"기타"
}]