/external/tensorflow/tensorflow/core/framework/ |
D | variant_op_registry_test.cc | 43 VariantValue* v_out) { in CPUZerosLikeFn() 47 v_out->value = 1; // CPU in CPUZerosLikeFn() 51 VariantValue* v_out) { in GPUZerosLikeFn() 55 v_out->value = 2; // GPU in GPUZerosLikeFn() 168 Variant v_out; in TEST() local 175 TF_EXPECT_OK((*copy_to_gpu_fn)(v, &v_out, dummy_copy_fn)); in TEST() 177 VariantValue* copied_value = v_out.get<VariantValue>(); in TEST() 202 Variant v_out = VariantValue(); in TEST() local 206 ZEROS_LIKE_VARIANT_UNARY_OP, v, &v_out); in TEST() 213 null_context_pointer, ZEROS_LIKE_VARIANT_UNARY_OP, v, &v_out)); in TEST() [all …]
|
D | variant_op_registry.h | 309 Variant* v_out) { in UnaryOpVariant() argument 318 return (*unary_op_fn)(ctx, v, v_out); in UnaryOpVariant() 423 Variant* v_out) -> Status { in UnaryVariantUnaryOpRegistration() 424 DCHECK_NE(v_out, nullptr); in UnaryVariantUnaryOpRegistration() 425 *v_out = T(); in UnaryVariantUnaryOpRegistration() 432 T* t_out = v_out->get<T>(); in UnaryVariantUnaryOpRegistration()
|
/external/libevent/test/ |
D | regress_zlib.c | 135 struct evbuffer_iovec v_out[1]; in zlib_input_filter() local 152 evbuffer_reserve_space(dst, 4096, v_out, 1); in zlib_input_filter() 153 p->next_out = (unsigned char *)v_out[0].iov_base; in zlib_input_filter() 154 p->avail_out = v_out[0].iov_len; in zlib_input_filter() 161 nwrite = v_out[0].iov_len - p->avail_out; in zlib_input_filter() 164 v_out[0].iov_len = nwrite; in zlib_input_filter() 165 evbuffer_commit_space(dst, v_out, 1); in zlib_input_filter() 189 struct evbuffer_iovec v_out[1]; in zlib_output_filter() local 206 evbuffer_reserve_space(dst, 4096, v_out, 1); in zlib_output_filter() 207 p->next_out = (unsigned char *)v_out[0].iov_base; in zlib_output_filter() [all …]
|
/external/vixl/examples/aarch64/ |
D | neon-matrix-multiply.cc | 50 VRegister v_out = VRegister(out_column, kQRegSize, 4); in GenerateMultiplyColumn() local 54 __ Fmul(v_out, v4.V4S(), v_in, 0); // e.g. (v0.V4S(), v4.V4S(), v8.S(), 0). in GenerateMultiplyColumn() 55 __ Fmla(v_out, v5.V4S(), v_in, 1); in GenerateMultiplyColumn() 56 __ Fmla(v_out, v6.V4S(), v_in, 2); in GenerateMultiplyColumn() 57 __ Fmla(v_out, v7.V4S(), v_in, 3); in GenerateMultiplyColumn()
|
/external/libtextclassifier/native/lang_id/common/ |
D | embedding-network.cc | 272 std::vector<float> *v_out = nullptr; in ComputeFinalScores() local 275 v_out = scores; in ComputeFinalScores() 279 v_out = &(storage[i % 2]); in ComputeFinalScores() 283 apply_relu, layer_weights_[i], layer_bias_[i], *v_in, v_out); in ComputeFinalScores() 284 v_in = v_out; in ComputeFinalScores()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | aggregate_ops.cc | 187 Variant* v_out = &(out.scalar<Variant>()()); in Compute() local 191 ctx->input(1).scalar<Variant>()(), v_out)); in Compute() 193 const Variant tmp = std::move(*v_out); in Compute() 196 inp, tmp, v_out)); in Compute()
|
D | word2vec_kernels.cc | 319 auto v_out = Tw_out.chip<0>(label); in Compute() local 320 auto dot = (v_in * v_out).sum(); in Compute() 322 Tbuf = v_out * (g() * lr); in Compute() 323 v_out += v_in * (g() * lr); in Compute()
|
D | cwise_ops_common.h | 332 Variant v_out; in Compute() local 333 OP_REQUIRES_OK(ctx, UnaryOpVariant<Device>(ctx, OpEnum, v, &v_out)); in Compute() 336 out.scalar<Variant>()() = std::move(v_out); in Compute()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | copy_tensor.cc | 97 Variant* v_out = copy.flat<Variant>().data(); in CopyHostToDevice() local 101 VariantDeviceCopyDirection::HOST_TO_DEVICE, v[i], &v_out[i], copier); in CopyHostToDevice() 173 Variant* v_out = copy.flat<Variant>().data(); in CopyDeviceToDevice() local 178 &v_out[i], copier); in CopyDeviceToDevice() 375 Variant* v_out = copy.flat<Variant>().data(); in CopyDeviceToHost() local 379 VariantDeviceCopyDirection::DEVICE_TO_HOST, v[i], &v_out[i], copier); in CopyDeviceToHost()
|
/external/clang/test/SemaCXX/ |
D | crashes.cpp | 139 cc_YCbCr v_out = cc_YCbCr( rgb()); in YCbCr() local 140 return v_out; in YCbCr()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_clear.c | 184 nir_variable *v_out = nir_variable_create(b.shader, nir_var_shader_out, in blorp_params_get_layer_offset_vs() local 186 v_out->data.location = VARYING_SLOT_VAR0 + i; in blorp_params_get_layer_offset_vs() 188 nir_copy_var(&b, v_out, a_in); in blorp_params_get_layer_offset_vs()
|
/external/webp/src/dec/ |
D | frame_dec.c | 181 uint8_t* const v_out = dec->cache_v_ + mb_x * 8 + uv_offset; in ReconstructRow() local 187 memcpy(v_out + j * dec->cache_uv_stride_, v_dst + j * BPS, 8); in ReconstructRow()
|
/external/brotli/c/enc/ |
D | brotli_bit_stream.c | 612 uint32_t* v_out) { in MoveToFrontTransform() argument 632 v_out[i] = (uint32_t)index; in MoveToFrontTransform()
|
/external/libyuv/files/source/ |
D | row_msa.cc | 246 shf0, shf1, shf2, shf3, v_out, u_out) \ argument 271 v_out = (v16u8)__msa_pckod_b((v16i8)reg1_m, (v16i8)reg0_m); \
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | row_msa.cc | 246 shf0, shf1, shf2, shf3, v_out, u_out) \ argument 271 v_out = (v16u8)__msa_pckod_b((v16i8)reg1_m, (v16i8)reg0_m); \
|