我要评分
获取效率
正确性
完整性
易理解

getDim

API Definition

def getDim() -> int

Function

Returns the data dimension in the current graph index.

Parameters

None

Return Value

Data Type

Description

int

For parametrized constructors, the value is the same as that of K_features. For no-argument constructors or the parametrized constructors after load/deserialize/loadGraph is called, the value is the dimension of the data read from the searcher or the graph index.