/external/tensorflow/tensorflow/contrib/resampler/python/ops/ |
D | resampler_ops_test.py | 90 warp = np.concatenate((x.reshape([warp_height, warp_width, 1]), 92 warp = np.tile(warp.reshape([1, warp_height, warp_width, 2]), 94 warp += np.random.randn(*warp.shape) 95 return warp.astype(dtype) 136 warp = _make_warp(batch_size, warp_height, warp_width, dtype.as_numpy_dtype) 142 warp_ph = array_ops.placeholder(dtype, shape=(None,) + warp.shape[1:]) 143 outputs = resampler.resampler(data=data_ph, warp=warp_ph) 146 out = sess.run(outputs, feed_dict={data_ph: data, warp_ph: warp}) 154 warp[batch, :, :, 0], 155 warp[batch, :, :, 1]) [all …]
|
D | resampler_ops.py | 32 def resampler(data, warp, name="resampler"): argument 58 with ops.name_scope(name, "resampler", [data, warp]): 60 warp_tensor = ops.convert_to_tensor(warp, name="warp") 66 data, warp = op.inputs 68 return gen_resampler_ops.resampler_grad(data, warp, grad_output_tensor)
|
/external/python/cpython2/Tools/pybench/ |
D | pybench.py | 205 warp = 1 variable in Test 219 def __init__(self, warp=None, calibration_runs=None, timer=None): argument 222 if warp is not None: 223 self.rounds = int(self.rounds / warp) 226 self.warp = warp 403 warp = 1 # Warp factor variable in Benchmark 420 def __init__(self, name, verbose=None, timer=None, warp=None, argument 432 if warp is not None: 433 self.warp = warp 489 warp=self.warp, [all …]
|
D | README | 70 -w arg set warp factor to arg (10) 123 Running 10 round(s) of the suite at warp factor 10: 246 # 1-2 seconds (at warp 1). 350 100-200ms using warp 10 351 - changed default warp factor to 10 (from 20)
|
/external/tensorflow/tensorflow/contrib/resampler/kernels/ |
D | resampler_ops.cc | 41 const T* __restrict__ data, const T* __restrict__ warp, in operator ()() 73 const T x = warp[batch_id * warp_batch_stride + sample_id * 2]; in operator ()() 74 const T y = warp[batch_id * warp_batch_stride + sample_id * 2 + 1]; in operator ()() 133 const ::tensorflow::Tensor& warp = ctx->input(1); in Compute() local 142 const ::tensorflow::TensorShape& warp_shape = warp.shape(); in Compute() 163 ::tensorflow::TensorShape output_shape = warp.shape(); in Compute() 165 const int num_sampling_points = warp.NumElements() / batch_size / 2; in Compute() 173 warp.flat<T>().data(), output->flat<T>().data(), batch_size, in Compute() 207 const T* __restrict__ data, const T* __restrict__ warp, in operator ()() 260 const T x = warp[batch_id * warp_batch_stride + sample_id * 2]; in operator ()() [all …]
|
D | resampler_ops_gpu.cu.cc | 40 const T* __restrict__ warp, in Resampler2DKernel() argument 64 const T x = warp[batch_id * warp_batch_stride + sample_id * 2]; in Resampler2DKernel() 65 const T y = warp[batch_id * warp_batch_stride + sample_id * 2 + 1]; in Resampler2DKernel() 114 const T* __restrict__ data, const T* __restrict__ warp, in operator ()() 124 d.stream(), data, warp, output, batch_size, data_height, data_width, in operator ()() 145 const T* __restrict__ data, const T* __restrict__ warp, in ResamplerGrad2DKernel() argument 172 const T x = warp[warp_id_x]; in ResamplerGrad2DKernel() 173 const T y = warp[warp_id_y]; in ResamplerGrad2DKernel() 244 const T* __restrict__ data, const T* __restrict__ warp, in operator ()() 271 warp, grad_output, grad_data, grad_warp, in operator ()()
|
D | resampler_ops.h | 34 const T* __restrict__ data, const T* __restrict__ warp, 44 const T* __restrict__ data, const T* __restrict__ warp,
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/ |
D | barrier.ll | 3 declare void @llvm.nvvm.bar.warp.sync(i32) 26 ; CHECK: bar.warp.sync [[ID]]; 27 call void @llvm.nvvm.bar.warp.sync(i32 %id) 28 ; CHECK: bar.warp.sync 6; 29 call void @llvm.nvvm.bar.warp.sync(i32 6)
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | resampler_ops.cc | 195 XlaOp BoundSamples(XlaOpKernelContext* ctx, XlaOp warp, in BoundSamples() argument 201 xla::Gt(warp, in BoundSamples() 206 warp, in BoundSamples() 249 XlaOp gather_indices, XlaOp warp, in CalculateGradData() argument 284 reshaped_weights = BoundSamples(ctx, warp, warp_type, warp_shape, in CalculateGradData() 512 XlaOp warp = ctx->Input("warp"); in Compile() local 517 XlaOp top_left = xla::ConvertElementType(warp, xla::S32); in Compile() 526 XlaOp ratio = warp - xla::ConvertElementType(top_left, data_type); in Compile() 555 auto is_ge_zero = xla::Ge(warp, xla::ZerosLike(warp)); in Compile() 558 warp, in Compile() [all …]
|
/external/skqp/src/compute/hs/gen/ |
D | target_opencl.c | 67 hsg_transpose_reg_prefix(state->config->warp.lanes_log2), in hsg_transpose_remap() 181 config->warp.lanes_log2, // FIXME - may be different on a SIMD target in hsg_target_opencl() 182 config->warp.lanes_log2, in hsg_target_opencl() 213 for (uint32_t ii=1; ii<=config->warp.lanes_log2; ii++) in hsg_target_opencl() 224 hsg_transpose(config->warp.lanes_log2, in hsg_target_opencl() 305 m->warps * config->warp.lanes, in hsg_target_opencl() 334 m->warps * config->warp.lanes, in hsg_target_opencl() 500 ops->b * config->warp.lanes, in hsg_target_opencl() 508 ops->b * config->warp.lanes, in hsg_target_opencl() 518 ops->b * config->warp.lanes); in hsg_target_opencl() [all …]
|
D | target_cuda.c | 67 hsg_transpose_reg_prefix(state->config->warp.lanes_log2), in hsg_transpose_remap() 179 config->warp.lanes_log2, in hsg_target_cuda() 180 config->warp.lanes_log2, in hsg_target_cuda() 212 for (uint32_t ii=1; ii<=config->warp.lanes_log2; ii++) in hsg_target_cuda() 223 hsg_transpose(config->warp.lanes_log2, in hsg_target_cuda() 336 m->warps * config->warp.lanes, in hsg_target_cuda() 373 m->warps * config->warp.lanes, in hsg_target_cuda() 569 ops->b * config->warp.lanes, in hsg_target_cuda() 577 ops->b * config->warp.lanes, in hsg_target_cuda() 587 ops->b * config->warp.lanes); in hsg_target_cuda() [all …]
|
D | target_glsl.c | 67 hsg_transpose_reg_prefix(state->config->warp.lanes_log2), in hsg_transpose_remap() 192 config->warp.lanes_log2, // FIXME -- this matters for SIMD in hsg_target_glsl() 193 config->warp.lanes_log2, in hsg_target_glsl() 224 for (uint32_t ii=1; ii<=config->warp.lanes_log2; ii++) in hsg_target_glsl() 235 hsg_transpose(config->warp.lanes_log2, in hsg_target_glsl() 324 m->warps * config->warp.lanes, in hsg_target_glsl() 369 m->warps * config->warp.lanes, in hsg_target_glsl() 588 ops->b * config->warp.lanes, in hsg_target_glsl() 596 ops->b * config->warp.lanes, in hsg_target_glsl() 606 ops->b * config->warp.lanes); in hsg_target_glsl() [all …]
|
D | main.c | 149 .warp = { 227 hsg_config.warp.skpw_bs = bs_keys / hsg_merge[0].warps; in hsg_config_init_shared() 240 uint32_t const bs_threads = merge->warps << hsg_config.warp.lanes_log2; in hsg_merge_levels_init_shared() 270 uint32_t const bc_threads = bc_warps_min << hsg_config.warp.lanes_log2; in hsg_merge_levels_init_shared() 728 uint32_t const level = hsg_config.warp.lanes; in hsg_warp_merge() 1014 ops = hsg_warp_half(ops,hsg_config.warp.lanes); in hsg_bs_flip_merge() 1141 ops = hsg_warp_half(ops,hsg_config.warp.lanes); in hsg_bc_clean() 1461 hsg_config.warp.lanes = atoi(optarg); in main() 1462 hsg_config.warp.lanes_log2 = msb_idx_u32(hsg_config.warp.lanes); in main()
|
/external/skia/src/compute/hs/gen/ |
D | target_opencl.c | 67 hsg_transpose_reg_prefix(state->config->warp.lanes_log2), in hsg_transpose_remap() 181 config->warp.lanes_log2, // FIXME - may be different on a SIMD target in hsg_target_opencl() 182 config->warp.lanes_log2, in hsg_target_opencl() 213 for (uint32_t ii=1; ii<=config->warp.lanes_log2; ii++) in hsg_target_opencl() 224 hsg_transpose(config->warp.lanes_log2, in hsg_target_opencl() 305 m->warps * config->warp.lanes, in hsg_target_opencl() 334 m->warps * config->warp.lanes, in hsg_target_opencl() 500 ops->b * config->warp.lanes, in hsg_target_opencl() 508 ops->b * config->warp.lanes, in hsg_target_opencl() 518 ops->b * config->warp.lanes); in hsg_target_opencl() [all …]
|
D | target_cuda.c | 67 hsg_transpose_reg_prefix(state->config->warp.lanes_log2), in hsg_transpose_remap() 179 config->warp.lanes_log2, in hsg_target_cuda() 180 config->warp.lanes_log2, in hsg_target_cuda() 212 for (uint32_t ii=1; ii<=config->warp.lanes_log2; ii++) in hsg_target_cuda() 223 hsg_transpose(config->warp.lanes_log2, in hsg_target_cuda() 336 m->warps * config->warp.lanes, in hsg_target_cuda() 373 m->warps * config->warp.lanes, in hsg_target_cuda() 569 ops->b * config->warp.lanes, in hsg_target_cuda() 577 ops->b * config->warp.lanes, in hsg_target_cuda() 587 ops->b * config->warp.lanes); in hsg_target_cuda() [all …]
|
D | target_glsl.c | 67 hsg_transpose_reg_prefix(state->config->warp.lanes_log2), in hsg_transpose_remap() 192 config->warp.lanes_log2, // FIXME -- this matters for SIMD in hsg_target_glsl() 193 config->warp.lanes_log2, in hsg_target_glsl() 224 for (uint32_t ii=1; ii<=config->warp.lanes_log2; ii++) in hsg_target_glsl() 235 hsg_transpose(config->warp.lanes_log2, in hsg_target_glsl() 324 m->warps * config->warp.lanes, in hsg_target_glsl() 369 m->warps * config->warp.lanes, in hsg_target_glsl() 588 ops->b * config->warp.lanes, in hsg_target_glsl() 596 ops->b * config->warp.lanes, in hsg_target_glsl() 606 ops->b * config->warp.lanes); in hsg_target_glsl() [all …]
|
D | main.c | 149 .warp = { 227 hsg_config.warp.skpw_bs = bs_keys / hsg_merge[0].warps; in hsg_config_init_shared() 240 uint32_t const bs_threads = merge->warps << hsg_config.warp.lanes_log2; in hsg_merge_levels_init_shared() 270 uint32_t const bc_threads = bc_warps_min << hsg_config.warp.lanes_log2; in hsg_merge_levels_init_shared() 728 uint32_t const level = hsg_config.warp.lanes; in hsg_warp_merge() 1014 ops = hsg_warp_half(ops,hsg_config.warp.lanes); in hsg_bs_flip_merge() 1141 ops = hsg_warp_half(ops,hsg_config.warp.lanes); in hsg_bc_clean() 1461 hsg_config.warp.lanes = atoi(optarg); in main() 1462 hsg_config.warp.lanes_log2 = msb_idx_u32(hsg_config.warp.lanes); in main()
|
/external/u-boot/board/warp/ |
D | README | 18 Put warp board in USB download mode 20 Connect a USB to serial adapter between the host PC and warp 22 Connect a USB cable between the OTG warp port and the host PC 52 Remove power from the warp board. 54 Put warp board into normal boot mode
|
D | Kconfig | 4 default "warp" 7 default "warp"
|
D | MAINTAINERS | 4 F: board/warp/ 5 F: include/configs/warp.h
|
D | Makefile | 6 obj-y := warp.o
|
/external/tensorflow/tensorflow/contrib/resampler/ops/ |
D | resampler_ops.cc | 31 ShapeHandle warp; in __anon447735090102() local 33 TF_RETURN_IF_ERROR(c->WithRankAtLeast(c->input(1), 1, &warp)); in __anon447735090102() 36 TF_RETURN_IF_ERROR(c->Subshape(warp, 0, -1, &output)); in __anon447735090102()
|
/external/tensorflow/tensorflow/contrib/resampler/xla/ |
D | resampler_ops_xla_test.py | 35 warp = array_ops.placeholder(warp_np.dtype) 36 resampled = resampler.resampler(input_image, warp, name='resampler') 37 out = sess.run(resampled, {input_image: image_np, warp: warp_np}) 46 warp = array_ops.placeholder(warp_np.dtype) 50 input_image, warp, grad_output) 54 warp: warp_np,
|
/external/aac/libSBRenc/src/ |
D | sbrenc_freq_sca.cpp | 428 FIXP_DBL warp = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_UpdateFreqScale() local 450 warp = FL2FXCONST_DBL(0.5f); /* 1.0/(1.0*2.0) */ in FDKsbrEnc_UpdateFreqScale() 452 warp = FL2FXCONST_DBL(1.0f / 2.6f); /* 1.0/(1.3*2.0); */ in FDKsbrEnc_UpdateFreqScale() 460 num_bands1 = numberOfBands(b_p_o, k1, k2, warp); in FDKsbrEnc_UpdateFreqScale()
|
/external/u-boot/configs/ |
D | warp_defconfig | 6 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp/imximage.cfg"
|