Home
last modified time | relevance | path

Searched defs:_Array (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/explainer/benchmark/_attribution/
Dfaithfulness.py30 _Array = np.ndarray variable
36 def _calc_feature_importance(saliency: _Array, masks: _Array) -> _Array:
135 inputs: _Array,
138 saliency: _Array) -> np.ndarray:
227 inputs: _Array,
230 saliency: _Array) -> _Array:
308 inputs: _Array,
311 saliency: _Array) -> _Array:
/third_party/mindspore/mindspore/explainer/explanation/_attribution/_perturbation/
Dreplacement.py20 _Array = np.ndarray variable
62 def __call__(self, inputs: _Array) -> _Array:
72 def __call__(self, inputs: _Array) -> _Array:
82 def __call__(self, inputs: _Array) -> _Array:
/third_party/mindspore/mindspore/explainer/
D_utils.py42 _Array = np.ndarray variable
244 def calc_auc(x: _Array) -> _Array:
253 def rank_pixels(inputs: _Array, descending: bool = True) -> _Array: