Home
last modified time | relevance | path

Searched refs:y_data (Results 1 – 21 of 21) sorted by relevance

/external/libxcam/cl_kernel/
Dkernel_tonemapping.cl63 float4 y_data = 0.0f;
64 y_data = mad(data_R, 255.f * 0.299f, y_data);
65 y_data = mad(data_G, 255.f * 0.587f, y_data);
66 y_data = mad(data_B, 255.f * 0.114f, y_data);
67 local_src_data[target_index] = y_data;
/external/tensorflow/tensorflow/core/kernels/
Dquantized_mul_op.cc114 const T* y_data, int32 offset_y, int64 num_elements, in VectorMultiply() argument
118 (static_cast<int32>(y_data[i]) - offset_y); in VectorMultiply()
126 const quint8* y_data, int32 offset_y, in VectorMultiply() argument
136 const uint8* y_data_ptr = &(y_data->value) + i; in VectorMultiply()
183 (static_cast<int32>(y_data[i]) - offset_y); in VectorMultiply()
313 const T* y_data = y.flat<T>().data(); in Compute() local
319 ScalarMultiply<T, Toutput>(context, y_data, offset_y, y.NumElements(), in Compute()
323 y_data[0], offset_y, z_data); in Compute()
325 VectorMultiply<T, Toutput>(context, x_data, offset_x, y_data, offset_y, in Compute()
339 tensor_data = y_data; in Compute()
[all …]
Dquantized_add_op.cc160 float max_x, const T* y_data, float min_y, float max_y, in VectorAddition() argument
167 y_data[i], min_y, max_y, output_min, output_max); in VectorAddition()
176 float max_x, const quint8* y_data, float min_y, float max_y, in VectorAddition() argument
211 const uint8* y_ptr = &(y_data->value) + i; in VectorAddition()
231 const int64 y_value = static_cast<int64>(y_data[i]); in VectorAddition()
245 float max_x, const quint8* y_data, float min_y, float max_y, in VectorAddition() argument
276 const int64 y_value = static_cast<int64>(y_data[i]); in VectorAddition()
484 const T* y_data = y.flat<T>().data(); in Compute() local
501 ScalarAddition<T, Toutput>(context, y_data, min_y, max_y, in Compute()
506 x.NumElements(), y_data[0], min_y, max_y, in Compute()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dslicing_test.cc63 auto y_data = CreateR0Parameter<int>(1, 2, "y", &builder, &y); in XLA_TEST_F() local
67 {a_data.get(), x_data.get(), y_data.get()}, in XLA_TEST_F()
93 auto y_data = CreateR0Parameter<int>(1, 3, "y", &builder, &y); in XLA_TEST_F() local
102 {a_data.get(), b_data.get(), x_data.get(), y_data.get()}); in XLA_TEST_F()
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc127 uint8_t* y_data = yuv_data.get(); in NativeToI420Buffer() local
128 uint8_t* u_data = y_data + height() * stride; in NativeToI420Buffer()
134 y_data, stride, in NativeToI420Buffer()
148 jobject byte_buffer = jni->NewDirectByteBuffer(y_data, size); in NativeToI420Buffer()
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddeep_graph_test.cc30 auto y_data = CreateR0Parameter<int32>(1, 1, "y", &b, &y); in TEST_F() local
36 {x_data.get(), y_data.get()}); in TEST_F()
Dhalf_test.cc149 auto y_data = CreateR1Parameter<half>(y, /*parameter_number=*/1, "y", in XLA_TEST_P() local
161 ComputeAndCompareR1<half>(&builder, expected, {x_data.get(), y_data.get()}, in XLA_TEST_P()
203 auto y_data = CreateR1Parameter<half>(y, /*parameter_number=*/1, "y", in XLA_TEST_P() local
216 ComputeAndCompareR1<bool>(&builder, expected, {x_data.get(), y_data.get()}); in XLA_TEST_P()
Ddot_operation_test.cc584 auto y_data = in XLA_TYPED_TEST() local
602 {x_data.get(), y_data.get()}, this->error_spec_); in XLA_TYPED_TEST()
628 auto y_data = in XLA_TYPED_TEST() local
638 {x_data.get(), y_data.get()}, this->error_spec_); in XLA_TYPED_TEST()
665 auto y_data = this->client_ in XLA_TYPED_TEST() local
672 /*expected=*/{{1.0f, 2.0f}, {7.0f, 8.0f}}, {x_data.get(), y_data.get()}, in XLA_TYPED_TEST()
698 auto y_data = in XLA_TYPED_TEST() local
706 /*expected=*/{{1.0f, 2.0f}, {7.0f, 8.0f}}, {x_data.get(), y_data.get()}, in XLA_TYPED_TEST()
738 auto y_data = in XLA_TYPED_TEST() local
750 {x_data.get(), y_data.get()}, this->error_spec_); in XLA_TYPED_TEST()
Dconcat_test.cc566 auto y_data = client_->TransferToServer(y_literal).ConsumeValueOrDie(); in XLA_TEST_F() local
578 {x_data.get(), y_data.get()}, ErrorSpec(1e-4)); in XLA_TEST_F()
589 auto y_data = client_->TransferToServer(y_literal).ConsumeValueOrDie(); in XLA_TEST_F() local
604 {x_data.get(), y_data.get(), z_data.get()}, ErrorSpec(1e-4)); in XLA_TEST_F()
617 auto y_data = client_->TransferToServer(y_literal).ConsumeValueOrDie(); in XLA_TEST_F() local
634 {x_data.get(), y_data.get(), z_data.get()}, in XLA_TEST_F()
Dreplay_test.cc98 std::unique_ptr<GlobalData> y_data = in XLA_TEST_F() local
104 /*arguments=*/{x_data.get(), y_data.get()}, in XLA_TEST_F()
Dbroadcast_simple_test.cc254 auto y_data = CreateR3Parameter<bool>(y_vals, 1, "y", &b, &y); in XLA_TEST_F() local
263 ComputeAndCompareR3<bool>(&b, expected, {x_data.get(), y_data.get()}); in XLA_TEST_F()
Darray_elementwise_ops_test.cc2961 auto y_data = client_->TransferToServer(y_literal).ConsumeValueOrDie(); in XLA_TEST_F() local
2968 ComputeAndCompareR1<float>(&builder, {-2, -3}, {x_data.get(), y_data.get()}, in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_test.py124 y_data = [
128 y_np = np.array(y_data, dtype=np.float32).reshape(x_shape) / 255.
137 y_data = [0, 0, 0, 81, 200, 255, 10, 0, 255, 116, 255, 0]
138 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
179 y_data = [0, 13, 1, 54, 226, 59, 8, 234, 150, 255, 39, 1]
180 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
197 y_data = [13, 0, 11, 226, 54, 221, 234, 8, 92, 1, 217, 255]
198 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
215 y_data = [13, 0, 11, 226, 54, 221, 234, 8, 92, 1, 217, 255]
216 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
[all …]
/external/libtextclassifier/lang_id/common/
Dembedding-network.cc77 float *const y_data = y->data(); in SparseReluProductPlusBias() local
110 y_data[j] += (*weight_ptr) * scale; in SparseReluProductPlusBias()
133 y_data[j] += Float16To32(*weight_ptr) * scale; in SparseReluProductPlusBias()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dobject_tracker_jni.cc107 jbyteArray y_data,
297 jbyteArray y_data, in OBJECT_TRACKER_METHOD()
316 jbyte* pixels = env->GetByteArrayElements(y_data, &iCopied); in OBJECT_TRACKER_METHOD()
327 env->ReleaseByteArrayElements(y_data, pixels, JNI_ABORT); in OBJECT_TRACKER_METHOD()
/external/tensorflow/tensorflow/cc/framework/
Dgradient_checker.cc191 Tensor y_data = (*y_datas)[y_idx]; in EvaluateGraph() local
192 if (y_data.SharesBufferWith((*x_datas)[x_idx])) { in EvaluateGraph()
197 (*y_datas)[y_idx] = tensor::DeepCopy(y_data); in EvaluateGraph()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.h553 dnn::ActivationMode activation_mode, DeviceMemory<float>* y_data,
564 dnn::ActivationMode activation_mode, DeviceMemory<Eigen::half>* y_data,
573 dnn::ActivationMode activation_mode, DeviceMemory<float>* y_data,
584 dnn::ActivationMode activation_mode, DeviceMemory<Eigen::half>* y_data,
727 DeviceMemory<T>* y_data, dnn::ProfileResult* output_profile_result);
737 DeviceMemory<T>* y_data, DeviceMemory<U>* batch_mean_data,
Drocm_dnn.cc4137 DeviceMemory<T>* y_data, dnn::ProfileResult* output_profile_result) { in DoFusedBatchNormActivationInferenceImpl() argument
4179 x_nd.handle(), y_data->opaque()); in DoFusedBatchNormActivationInferenceImpl()
4213 dnn::ActivationMode activation_mode, DeviceMemory<float>* y_data, in DoFusedBatchNormActivationInference() argument
4218 variance_data, epsilon, activation_mode, y_data, output_profile_result); in DoFusedBatchNormActivationInference()
4229 dnn::ActivationMode activation_mode, DeviceMemory<Eigen::half>* y_data, in DoFusedBatchNormActivationInference() argument
4234 variance_data, epsilon, activation_mode, y_data, output_profile_result); in DoFusedBatchNormActivationInference()
4245 DeviceMemory<T>* y_data, DeviceMemory<U>* batch_mean_data, in DoFusedBatchNormActivationForwardImpl() argument
4291 x_nd.handle(), y_data->opaque()); in DoFusedBatchNormActivationForwardImpl()
4323 dnn::ActivationMode activation_mode, DeviceMemory<float>* y_data, in DoFusedBatchNormActivationForward() argument
4330 activation_mode, y_data, batch_mean_data, batch_var_data, saved_mean_data, in DoFusedBatchNormActivationForward()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py364 y_data = [0, 13, 1, 54, 226, 59, 8, 234, 150, 255, 39, 1]
365 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
379 y_data = [13, 0, 11, 226, 54, 221, 234, 8, 92, 1, 217, 255]
380 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
394 y_data = [13, 0, 11, 226, 54, 221, 234, 8, 92, 1, 217, 255]
395 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
850 y_data = [6, 9, 13, 140, 180, 226, 135, 121, 234, 172, 255, 128]
851 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
865 y_data = [0, 5, 13, 0, 106, 226, 30, 0, 234, 89, 255, 0]
866 y_np = np.array(y_data, dtype=np.uint8).reshape(x_shape)
[all …]
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h2400 dnn::ActivationMode activation_mode, DeviceMemory<float>* y_data,
2413 dnn::ActivationMode activation_mode, DeviceMemory<Eigen::half>* y_data,
2452 dnn::ActivationMode activation_mode, DeviceMemory<float>* y_data,
2465 dnn::ActivationMode activation_mode, DeviceMemory<Eigen::half>* y_data,
/external/python/cpython3/Objects/
Dunicodeobject.c13168 void *x_data, *y_data, *z_data; in unicode_maketrans_impl() local
13185 y_data = PyUnicode_DATA(y); in unicode_maketrans_impl()
13190 value = PyLong_FromLong(PyUnicode_READ(y_kind, y_data, i)); in unicode_maketrans_impl()