public interface SparseVectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsSparseVector(int key)
map<uint32, float> sparse_vector = 1; |
Map<Integer,Float> |
getSparseVector()
已过时。
|
int |
getSparseVectorCount()
map<uint32, float> sparse_vector = 1; |
Map<Integer,Float> |
getSparseVectorMap()
map<uint32, float> sparse_vector = 1; |
float |
getSparseVectorOrDefault(int key,
float defaultValue)
map<uint32, float> sparse_vector = 1; |
float |
getSparseVectorOrThrow(int key)
map<uint32, float> sparse_vector = 1; |
int getSparseVectorCount()
map<uint32, float> sparse_vector = 1;boolean containsSparseVector(int key)
map<uint32, float> sparse_vector = 1;@Deprecated Map<Integer,Float> getSparseVector()
getSparseVectorMap() instead.float getSparseVectorOrDefault(int key,
float defaultValue)
map<uint32, float> sparse_vector = 1;float getSparseVectorOrThrow(int key)
map<uint32, float> sparse_vector = 1;Copyright © 2026. All rights reserved.