Searched refs:target_max (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/ops/ |
D | init_ops_test.py | 39 target_max=None, argument 48 if target_max is not None: 49 self.assertGreater(lim, abs(output.max() - target_max)) 61 target_max=1, 82 target_max=2, 93 target_max=2, 219 target_max=1.) 227 target_max=1.) 234 init_ops.Zeros(), tensor_shape, target_mean=0., target_max=0.) 241 init_ops.Ones(), tensor_shape, target_mean=1., target_max=1.)
|
D | init_ops_v2_test.py | 60 target_max=None, argument 69 if target_max is not None: 70 self.assertGreater(lim, abs(output.max() - target_max)) 95 init_ops_v2.Zeros(), shape=(4, 5), target_mean=0., target_max=0.) 112 init_ops_v2.Ones(), shape=(4, 5), target_mean=1., target_max=1.) 125 target_max=2, 201 target_max=1, 273 target_max=2, 471 target_max=1.) 478 target_max=1.)
|
D | image_ops_test.py | 3281 target_max = ops.convert_to_tensor([max_h, max_w]) 3284 target_max = (max_h, max_w) 3288 target_max=target_max, argument 3291 t, ops.convert_to_tensor(target_max), 3835 target_max = ops.convert_to_tensor([max_h, max_w]) 3838 target_max = [max_h, max_w] 3842 x_tensor, target_max, preserve_aspect_ratio=preserve_aspect_ratio)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/nx-gzip/ |
D | gunz_test.c | 622 int target_max = NX_MAX(0, fifo_free_bytes(used_out, fifo_out_len) in decompress_file() local 625 NXPRT(fprintf(stderr, "target_max %d (0x%x)\n", target_max, in decompress_file() 626 target_max)); in decompress_file() 628 first_free = NX_MIN(target_max, first_free); in decompress_file() 635 last_free = NX_MIN(target_max - first_free, last_free); in decompress_file() 660 source_sz_estimate = ((uint64_t)target_max * last_comp_ratio * 3UL) in decompress_file() 668 target_sz_estimate = target_max; in decompress_file() 676 target_max); in decompress_file() 751 assert(target_max >= tpbc); in decompress_file() 781 assert(target_max >= tpbc); in decompress_file()
|