Searched refs:max_array (Results 1 – 2 of 2) sorted by relevance
/third_party/mindspore/mindspore/nn/layer/ |
D | quant.py | 409 max_array = self._get_init_array(self.max_init) 410 if not np.greater(max_array, min_array).all(): 414 self._default_init(min_array, max_array) 416 self._learned_scale_init(min_array, max_array) 436 max_array = self._get_init_array(self.max_init) 437 if not np.greater(max_array, min_array).all(): 442 self.maxq.set_data(Tensor(max_array)) 447 def _default_init(self, min_array, max_array): argument 453 self.maxq = Parameter(Tensor(max_array), name='quant_max', requires_grad=False) 481 def _learned_scale_init(self, min_array, max_array): argument [all …]
|
/third_party/e2fsprogs/e2fsck/ |
D | rehash.c | 84 blk_t max_array, num_array; member 197 if (fd->num_array >= fd->max_array) { in fill_dir_block() 201 fd->max_array, in fill_dir_block() 202 fd->max_array + 500, in fill_dir_block() 208 fd->max_array += 500; in fill_dir_block() 1005 fd.max_array = inode.i_size / 32; in e2fsck_rehash_dir() 1007 fd.max_array, &fd.harray); in e2fsck_rehash_dir()
|