dgllife.utils.BaseBondFeaturizer.feat_size

BaseBondFeaturizer.feat_size(feat_name=None)[source]

Get the feature size for feat_name.

When there is only one feature, users do not need to provide feat_name.

Parameters

feat_name (str) – Feature for query.

Returns

Feature size for the feature with name feat_name. Default to None.

Return type

int