/external/tensorflow/tensorflow/python/kernel_tests/math_ops/ |
D | transpose_op_test.py | 43 perm = (rank - 1) - np.arange(rank) 72 perm = (rank - 1) - np.arange(rank) 139 self._compareCpu(np.arange(0., 2), [0]) 142 vector = np.arange(0, 2).reshape((1, 1, 1, 2, 1)) 163 inp = np.arange( 186 inp = np.arange( 223 inp = np.arange( 248 inp = np.arange( 271 inp = np.arange( 336 self._compareCpu(np.arange(0, 6).reshape([3, 2]).astype(np.float32), [0, 1]) [all …]
|
D | cumulative_logsumexp_test.py | 60 x = np.arange(10) / 10.0 - 0.5 65 x = np.reshape(np.arange(20) / 20.0 - 0.5, (2, 10)) 86 x = np.arange(10) / 10.0 - 0.5 102 x_np = np.arange(20) * 20.0
|
/external/elfutils/libdwfl/ |
D | cu.c | 42 return &mod->dw->aranges->info[mod->aranges[idx].arange]; in dwar() 47 addrarange (Dwfl_Module *mod, Dwarf_Addr addr, struct dwfl_arange **arange) in addrarange() argument 77 aranges[naranges].arange = i; in addrarange() 128 *arange = &mod->aranges[idx]; in addrarange() 295 arangecu (Dwfl_Module *mod, struct dwfl_arange *arange, struct dwfl_cu **cu) in arangecu() argument 297 if (arange->cu == NULL) in arangecu() 299 const Dwarf_Arange *dwarange = &mod->dw->aranges->info[arange->arange]; in arangecu() 300 Dwfl_Error result = intern_cu (mod, dwarange->offset, &arange->cu); in arangecu() 303 assert (arange->cu != NULL && arange->cu != (void *) -1l); in arangecu() 307 *cu = arange->cu; in arangecu() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | shape_ops_test.py | 36 tensor = constant_op.constant(np.arange(9152), dtypes.int32) 41 expected = np.tile(np.arange(512), (49, 1)) 42 expected += np.tile(np.arange(49) * 180, (512, 1)).T 49 tensor = constant_op.constant(np.arange(10000), dtypes.int32) 54 expected = np.tile(np.arange(512), (53, 1)) 55 expected += np.tile(np.arange(53) * 192, (512, 1)).T 158 signal = np.arange(6) 182 signal = np.vstack([np.arange(6), 183 np.arange(6) + 10]) 210 signal = np.vstack([np.arange(6), [all …]
|
/external/elfutils/libdw/ |
D | dwarf_getaranges.c | 41 Dwarf_Arange arange; member 51 if (l1->arange.addr != l2->arange.addr) in compare_aranges() 52 return (l1->arange.addr < l2->arange.addr) ? -1 : 1; in compare_aranges() 198 new_arange->arange.addr = range_address; in dwarf_getaranges() 199 new_arange->arange.length = range_length; in dwarf_getaranges() 210 new_arange->arange.offset = __libdw_first_die_off_from_cu (cu); in dwarf_getaranges() 217 if (unlikely (new_arange->arange.offset in dwarf_getaranges() 271 (*aranges)->info[i] = elt->arange; in dwarf_getaranges()
|
D | dwarf_getarangeinfo.c | 38 dwarf_getarangeinfo (Dwarf_Arange *arange, Dwarf_Addr *addrp, in dwarf_getarangeinfo() argument 41 if (arange == NULL) in dwarf_getarangeinfo() 45 *addrp = arange->addr; in dwarf_getarangeinfo() 47 *lengthp = arange->length; in dwarf_getarangeinfo() 49 *offsetp = arange->offset; in dwarf_getarangeinfo()
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_array_ops_test.py | 380 int_values = np.arange(-3, 3).tolist() 381 float_values = np.arange(-3.5, 3.5).tolist() 386 self.match(np_array_ops.arange(start), np.arange(start), msg=msg) 388 np_array_ops.arange(start, dtype=dtype), 389 np.arange(start, dtype=dtype), 394 np_array_ops.arange(start, stop), np.arange(start, stop), msg=msg) 399 np_array_ops.arange(start, stop, dtype=dtype), 400 np.arange(start, stop, dtype=dtype), 412 np_array_ops.arange(start, stop, step), 413 np.arange(start, stop, step), [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | training_ops_test.py | 64 x = np.arange(100).astype(dtype) 66 delta = np.arange(100).astype(dtype) 189 x = np.arange(100).astype(dtype) 190 y = np.arange(1, 101).astype(dtype) 192 grad = np.arange(100).astype(dtype) 199 x = np.arange(100).astype(dtype) 200 y = np.arange(1, 101).astype(dtype) 201 z = np.arange(102, 202).astype(dtype) 205 grad = np.arange(100).astype(dtype) 212 x = np.arange(100).astype(dtype) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/control_flow/ |
D | scan_ops_test.py | 98 x = np.arange(1, 6).reshape([5]).astype(dtype) 108 x = np.arange(1, 6).reshape([5]).astype(dtype) 116 x = np.arange(1, 6).reshape([5]).astype(dtype) 123 x = np.arange(0, 10).reshape([2, 5]).astype(dtype) 130 x = np.arange(0, 20).reshape([2, 2, 5]).astype(dtype) 137 x = np.arange(1, 145).reshape([2, 2, 3, 3, 2, 2]).astype(dtype) 149 x = np.arange(0, 10).reshape([2, 5]).astype(np.float32) 166 x = np.arange(0, 50).reshape(shape).astype(np.float64) 231 x = np.arange(1, 6).reshape([5]).astype(dtype) 241 x = np.arange(1, 6).reshape([5]).astype(dtype) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | scan_ops_test.py | 100 x = np.arange(1, 6).reshape([5]).astype(dtype) 109 x = np.arange(1, 6).reshape([5]).astype(dtype) 115 x = np.arange(0, 10).reshape([2, 5]).astype(dtype) 121 x = np.arange(0, 20).reshape([2, 2, 5]).astype(dtype) 127 x = np.arange(1, 145).reshape([2, 2, 3, 3, 2, 2]).astype(dtype) 141 x = np.arange(0, 10).reshape([2, 5]).astype(np.float32) 187 x = np.arange(1, 6).reshape([5]).astype(dtype) 196 x = np.arange(1, 6).reshape([5]).astype(dtype) 202 x = np.arange(1, 11).reshape([2, 5]).astype(dtype) 208 x = np.arange(1, 21).reshape([2, 2, 5]).astype(dtype) [all …]
|
D | reduce_ops_test.py | 77 np.arange(1, 7).reshape(2, 3), 78 np.arange(-10, -4).reshape(2, 3), 79 np.arange(-4, 2).reshape(2, 3), 84 np.arange(1, 13, dtype=np.float32).view(np.complex64).reshape(2, 3), 85 np.arange(-14, -2, dtype=np.float32).view(np.complex64).reshape(2, 3), 86 np.arange(-4, 8, dtype=np.float32).view(np.complex64).reshape(2, 3),
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | reshape_op_test.py | 65 x = np.arange(1., 7.).reshape([1, 6]) > 3 69 x = np.arange(1., 7.).reshape([1, 6]).astype(np.float32) 73 x = np.arange(1., 7.).reshape([1, 6]).astype(np.float64) 77 x = np.arange(1., 7.).reshape([1, 6]).astype(np.int32) 81 x = np.arange(1., 7.).reshape([1, 6]).astype(np.complex64) 85 x = np.arange(1., 7.).reshape([1, 6]).astype(np.complex128) 89 x = np.arange(1., 28.).reshape([1, 27]).astype(np.float32) 93 x = np.arange(1., 7.).reshape([6]).astype(np.float32) 97 x = np.arange(1., 7.).reshape([6]).astype(np.float32) 101 x = np.arange(1., 7.).reshape([6]).astype(np.float32) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/image_ops/ |
D | extract_volume_patches_op_test.py | 56 image = np.arange(2 * 3 * 4 * 5 * 6).reshape([2, 3, 4, 5, 6]) + 1 68 image = np.arange(6 * 2 * 4 * 5 * 3).reshape([6, 2, 4, 5, 3]) + 1 80 image = np.arange(45).reshape([1, 3, 3, 5, 1]) + 1 99 image = np.arange(8).reshape([1, 2, 2, 2, 1]) + 1 110 image = np.arange(8).reshape([1, 2, 2, 2, 1]) + 1
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | unbatch_test.py | 163 data = dataset_ops.Dataset.from_tensors((np.arange(7), np.arange(8), 164 np.arange(9))) 182 ph1: np.arange(7).astype(np.int32), 183 ph2: np.arange(8).astype(np.int32) 192 ph1: np.arange(7).astype(np.int32), 233 components = (np.arange(tensor_slice_len), np.array([[1, 2, 3]]) * 234 np.arange(tensor_slice_len)[:, np.newaxis], 235 np.array(multiplier) * np.arange(tensor_slice_len)) 256 components = (np.arange(tensor_slice_len), np.array([[1, 2, 3]]) * 257 np.arange(tensor_slice_len)[:, np.newaxis], [all …]
|
D | range_test.py | 40 expected_output = np.arange(stop, dtype=output_type.as_numpy_dtype) 53 expected_output = np.arange(start, stop, dtype=output_type.as_numpy_dtype) 67 expected_output = np.arange( 95 expected_output = np.arange( 109 expected_output = np.arange(start, stop, dtype=output_type.as_numpy_dtype) 123 expected_output = np.arange( 138 expected_output = np.arange( 203 expected_output = np.arange(
|
D | group_by_window_test.py | 71 expected_scalar_int = np.arange(32, dtype=np.int64) 75 expected_vec3_str = np.vstack(3 * [np.arange(32).astype(bytes)]).T 112 expected_scalar_int = np.arange(0, 32 * 2, 2, dtype=np.int64) 117 [np.arange(0, 32 * 2, 2).astype(bytes)]).T 124 expected_scalar_int = np.arange(1, 32 * 2 + 1, 2, dtype=np.int64) 129 3 * [np.arange(1, 32 * 2 + 1, 2).astype(bytes)]).T 173 np.arange(0, 64, 2, dtype=np.int64), bucketed_values_even0["x"]) 175 np.arange(64, 128, 2, dtype=np.int64), bucketed_values_even1["x"]) 179 components = np.arange(100).astype(np.int64)
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_grad_test_base.py | 46 x = np.arange(0, 4).reshape(in_shape).astype(nptype) 61 x = np.arange(0, 6).reshape(in_shape).astype(nptype) 78 x = np.arange(0, 24).reshape(in_shape).astype(nptype) 95 x = np.arange(0, np.prod(in_shape)).reshape(in_shape).astype(nptype) 141 x = np.arange(np.prod(in_shape)).reshape(in_shape).astype(dtype) 164 x = np.arange(np.prod(in_shape)).reshape(in_shape).astype(np.float32) 227 x = np.arange(0, 24).reshape(in_shape).astype(np.uint8) 285 x = np.arange(0, 4).reshape(in_shape).astype(np.float32) 300 x = np.arange(0, 6).reshape(in_shape).astype(np.float32) 319 x = np.arange(0, 24).reshape(in_shape).astype(np.float32) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/sparse_ops/ |
D | sparse_reorder_op_test.py | 50 self._SparseTensorValue_5x6(np.arange(6))) 57 input_val = self._SparseTensorValue_5x6(np.arange(6)) 69 input_val = self._SparseTensorValue_5x6(np.arange(6)) 78 expected_output_val = self._SparseTensorValue_5x6(np.arange(6)) 92 expected_output_val = self._SparseTensorValue_5x6(np.arange(6))
|
D | sparse_tensors_map_ops_test.py | 79 sp_input0 = self._SparseTensorValue_5x6(np.arange(6)) 80 sp_input1 = self._SparseTensorValue_3x4(np.arange(6)) 103 input0_val = self._SparseTensorValue_5x6(np.arange(6)) 104 input1_val = self._SparseTensorValue_3x4(np.arange(6)) 154 input0_val = self._SparseTensorValue_5x6(np.arange(6)) 175 input_val = self._SparseTensorValue_5x6(np.arange(6)) 194 indices_value = np.arange(num_elements, dtype=np.int64)
|
D | sparse_serialization_ops_test.py | 71 sp_input = self._SparseTensorValue_5x6(np.arange(6)) 95 sp_input = self._SparseTensorValue_5x6(np.arange(6)) 131 sp_input0 = self._SparseTensorValue_5x6(np.arange(6)) 132 sp_input1 = self._SparseTensorValue_3x4(np.arange(6)) 166 sp_input = self._SparseTensorValue_5x6(np.arange(6)) 213 input0_val = self._SparseTensorValue_5x6(np.arange(6)) 214 input1_val = self._SparseTensorValue_3x4(np.arange(6)) 370 input0_val = self._SparseTensorValue_5x6(np.arange(6)) 371 input1_val = self._SparseTensorValue_3x4(np.arange(6)) 408 input0_val = self._SparseTensorValue_5x6(np.arange(6)) [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/ |
D | atrous_conv2d_test.py | 65 x = np.arange(np.prod(x_shape), dtype=np.float32).reshape(x_shape) 71 f = np.arange(np.prod(f_shape), dtype=np.float32).reshape(f_shape) 170 x = np.arange(np.prod(x_shape), dtype=np.float32).reshape(x_shape) 176 f = np.arange(np.prod(f_shape), dtype=np.float32).reshape(f_shape) 210 x = np.arange(np.prod(x_shape), dtype=np.float32).reshape(x_shape) 216 f = np.arange(np.prod(f_shape), dtype=np.float32).reshape(f_shape)
|
/external/elfutils/tests/ |
D | get-aranges.c | 99 Dwarf_Arange *arange = dwarf_onearange (aranges, i); in main() local 100 if (arange == NULL) in main() 110 if (dwarf_getarangeinfo (arange, &start, &length, &cu_offset) in main()
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/python_tests/ |
D | tf_transpose_test.py | 78 arg0 = np.arange(0, dim_size * dim_size * dim_size, 1, 103 arg0 = np.arange(0, dim_size * dim_size * dim_size, 1, 128 arg0 = np.arange(0, dim_size * dim_size * dim_size, 1, 153 arg0 = np.arange(0, dim_size * dim_size * dim_size, 1, 178 arg0 = np.arange(0, dim_size * dim_size * dim_size, 1,
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | sequence_feature_column_test.py | 52 seq_input = ops.convert_to_tensor(np.arange(12).reshape(2, 3, 2)) 53 context_input = ops.convert_to_tensor(np.arange(10).reshape(2, 5)) 67 'seq_input_arg': np.arange(100).reshape(10, 10)}, 69 'seq_input_arg': np.arange(100).reshape(5, 5, 2, 2)} 73 context_input = ops.convert_to_tensor(np.arange(100).reshape(10, 10)) 81 'context_input_arg': np.arange(100)}, 83 'context_input_arg': np.arange(100).reshape(5, 5, 4)} 87 seq_input = ops.convert_to_tensor(np.arange(100).reshape(5, 5, 4)) 94 seq_input = ops.convert_to_tensor(np.arange(100).reshape(5, 5, 4)) 95 context_input = ops.convert_to_tensor(np.arange(100).reshape(10, 10)) [all …]
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_split_op_test.py | 101 pylist=np.arange(4 * 2).reshape(4, 2), 109 pylist=np.arange(4 * 2).reshape(4, 2), 186 pylist=np.arange(4 * 2).reshape(4, 2), 194 pylist=np.arange(4 * 2).reshape(4, 2), 202 pylist=np.arange(4 * 3).reshape(4, 3), 211 pylist=np.arange(4 * 3).reshape(4, 3),
|