Home
last modified time | relevance | path

Searched refs:input0 (Results 1 – 25 of 51) sorted by relevance

123

/external/tensorflow/tensorflow/lite/kernels/
Dpack.cc37 const TfLiteTensor* input0 = GetInput(context, node, 0); in Prepare() local
38 TF_LITE_ENSURE(context, NumDimensions(input0) >= data->axis); in Prepare()
41 if (input0->type != kTfLiteInt32 && input0->type != kTfLiteFloat32 && in Prepare()
42 input0->type != kTfLiteUInt8 && input0->type != kTfLiteInt8 && in Prepare()
43 input0->type != kTfLiteInt16 && input0->type != kTfLiteInt64) { in Prepare()
45 TfLiteTypeGetName(input0->type)); in Prepare()
51 TF_LITE_ENSURE(context, HaveSameShapes(input0, input)); in Prepare()
52 TF_LITE_ENSURE_EQ(context, input0->type, input->type); in Prepare()
56 const int dimension_size = NumDimensions(input0) + 1; in Prepare()
57 const TfLiteIntArray* input_shape = input0->dims; in Prepare()
[all …]
/external/v8/src/compiler/
Dnode-matchers.cc38 Node* input0 = merge->InputAt(0); in DiamondMatcher() local
39 if (input0->InputCount() != 1) return; in DiamondMatcher()
42 Node* branch = input0->InputAt(0); in DiamondMatcher()
45 if (input0->opcode() == IrOpcode::kIfTrue && in DiamondMatcher()
48 if_true_ = input0; in DiamondMatcher()
50 } else if (input0->opcode() == IrOpcode::kIfFalse && in DiamondMatcher()
54 if_false_ = input0; in DiamondMatcher()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktAtomicOperationTests.cpp337 const T input0 = *reinterpret_cast<const T*>(&original.input[elementNdx]); in checkOperation() local
347 …exp.push_back(Expected<T>(originalInout + input0 + input1, originalInout, originalInout + input0)); in checkOperation()
348 …exp.push_back(Expected<T>(originalInout + input0 + input1, originalInout + input1, originalInout)); in checkOperation()
354 …exp.push_back(Expected<T>(originalInout & input0 & input1, originalInout, originalInout & input0)); in checkOperation()
355 …exp.push_back(Expected<T>(originalInout & input0 & input1, originalInout & input1, originalInout)); in checkOperation()
361 …exp.push_back(Expected<T>(originalInout | input0 | input1, originalInout, originalInout | input0)); in checkOperation()
362 …exp.push_back(Expected<T>(originalInout | input0 | input1, originalInout | input1, originalInout)); in checkOperation()
368 …exp.push_back(Expected<T>(originalInout ^ input0 ^ input1, originalInout, originalInout ^ input0)); in checkOperation()
369 …exp.push_back(Expected<T>(originalInout ^ input0 ^ input1, originalInout ^ input1, originalInout)); in checkOperation()
375 …k(Expected<T>(de::min(de::min(originalInout, input0), input1), originalInout, de::min(originalInou… in checkOperation()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dstring_join_op_test.py29 input0 = ["a", "b"]
34 output = string_ops.string_join([input0, input1])
37 output = string_ops.string_join([input0, input1], separator="--")
40 output = string_ops.string_join([input0, input1, input0], separator="--")
50 string_ops.string_join([input0, input2]).eval()
/external/tensorflow/tensorflow/lite/python/
Dinterpreter_test.py159 self.input0 = self.interpreter.get_input_details()[0]['index']
164 array_ref = self.interpreter.tensor(self.input0)
168 self.interpreter.get_tensor(self.input0), self.initial_data)
172 self.interpreter.set_tensor(self.input0, self.initial_data)
173 array_initial_copy = self.interpreter.get_tensor(self.input0)
175 self.interpreter.set_tensor(self.input0, new_value)
177 self.assertAllEqual(self.interpreter.get_tensor(self.input0), new_value)
181 _ = self.interpreter.tensor(self.input0)
183 in0 = self.interpreter.tensor(self.input0)()
185 in0b = self.interpreter.tensor(self.input0)()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlattice_mips.c127 void WebRtcIsacfix_FilterMaLoopMIPS(int16_t input0, // Filter coefficient in WebRtcIsacfix_FilterMaLoopMIPS() argument
240 : [input0] "r" (input0), [input1] "r" (input1), in WebRtcIsacfix_FilterMaLoopMIPS()
324 : [input0] "r" (input0), [input1] "r" (input1), in WebRtcIsacfix_FilterMaLoopMIPS()
Dcodec.h170 void WebRtcIsacfix_FilterMaLoopC(int16_t input0,
184 void WebRtcIsacfix_FilterMaLoopNeon(int16_t input0,
199 void WebRtcIsacfix_FilterMaLoopMIPS(int16_t input0,
216 typedef void (*FilterMaLoopFix)(int16_t input0,
Dlattice_neon.c25 void WebRtcIsacfix_FilterMaLoopNeon(int16_t input0, // Filter coefficient in WebRtcIsacfix_FilterMaLoopNeon() argument
36 int32x4_t input0_v = vdupq_n_s32((int32_t)input0 << 16); in WebRtcIsacfix_FilterMaLoopNeon()
185 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr0); in WebRtcIsacfix_FilterMaLoopNeon()
192 tmp32b = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr2); in WebRtcIsacfix_FilterMaLoopNeon()
Dlattice.c55 void WebRtcIsacfix_FilterMaLoopC(int16_t input0, // Filter coefficient in WebRtcIsacfix_FilterMaLoopC() argument
76 tmp32a = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr0); // Q15 * Q15 >> 15 = Q15 in WebRtcIsacfix_FilterMaLoopC()
82 tmp32b = WEBRTC_SPL_MUL_16_32_RSFT15(input0, *ptr2); // Q15*Q15>>15 = Q15 in WebRtcIsacfix_FilterMaLoopC()
/external/libxcam/tests/
Dtest-image-blend.cpp150 SmartPtr<VideoBuffer> input0, SmartPtr<VideoBuffer> input1, in blend_images() argument
155 input0->attach_buffer (input1); in blend_images()
156 return blender->execute (input0, output_buf); in blend_images()
170 SmartPtr<VideoBuffer> input0, input1; in main() local
311 input0 = dma_buf_to_xcam_buf ( in main()
322 input0 = buf_pool0->get_buffer (buf_pool0); in main()
324 XCAM_ASSERT (input0.ptr () && input1.ptr ()); in main()
329 read_buf = input0; in main()
358 input0->clear_attached_buffers (); in main()
362 …geo_correct_image (geo_map_handler, input0, geo_map0, map_width, map_height, file_in0_name, need_s… in main()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dresolve_constant_unary_test.cc34 Array& input0 = model.GetOrCreateArray("input0"); in RunResolveSum() local
38 *input0.mutable_shape()->mutable_dims() = input_shape; in RunResolveSum()
39 input0.data_type = ArrayDataType::kFloat; in RunResolveSum()
40 input0.GetMutableBuffer<ArrayDataType::kFloat>().data = input; in RunResolveSum()
/external/libxcam/modules/ocl/
Dcl_blender.cpp110 SmartPtr<VideoBuffer> input0, input1; in prepare_parameters() local
120 input0 = next; in prepare_parameters()
123 input0 = input; in prepare_parameters()
128 const VideoBufferInfo &in0_info = input0->get_video_info (); in prepare_parameters()
166 ret = allocate_cl_buffers (context, input0, input1, output); in prepare_parameters()
Dcl_image_360_stitch.h110 …SmartPtr<VideoBuffer> &input0, SmartPtr<VideoBuffer> &input1, SmartPtr<VideoBuffer> &output, int i…
112 SmartPtr<VideoBuffer> &input0, SmartPtr<VideoBuffer> &input1, SmartPtr<VideoBuffer> &output,
Dcl_blender.h99 SmartPtr<CLContext> context, SmartPtr<VideoBuffer> &input0,
/external/tensorflow/tensorflow/core/kernels/
Daggregate_ops.cc49 const Tensor& input0 = ctx->input(0); in Compute() local
53 ctx->set_output(0, input0); in Compute()
63 if (ctx->forward_input_to_output_with_shape(input_idx, 0, input0.shape(), in Compute()
70 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, input0.shape(), &output)); in Compute()
164 const Tensor& input0 = ctx->input(0); in Compute() local
168 ctx->set_output(0, input0); in Compute()
/external/libvpx/libvpx/vp8/common/mips/msa/
Didct_msa.c89 v8i16 input0, input1; in idct4x4_addblk_msa() local
95 LD_SH2(input, 8, input0, input1); in idct4x4_addblk_msa()
96 UNPCK_SH_SW(input0, in0, in1); in idct4x4_addblk_msa()
138 v8i16 input0, input1, tmp0, tmp1, tmp2, tmp3, out0, out1; in vp8_short_inv_walsh4x4_msa() local
144 LD_SH2(input, 8, input0, input1); in vp8_short_inv_walsh4x4_msa()
146 tmp0 = input0 + input1; in vp8_short_inv_walsh4x4_msa()
147 tmp1 = input0 - input1; in vp8_short_inv_walsh4x4_msa()
151 VSHF_H2_SH(out0, out1, out0, out1, mask2, mask3, input0, input1); in vp8_short_inv_walsh4x4_msa()
152 tmp0 = input0 + input1; in vp8_short_inv_walsh4x4_msa()
153 tmp1 = input0 - input1; in vp8_short_inv_walsh4x4_msa()
[all …]
/external/skqp/src/effects/imagefilters/
DSkComposeImageFilter.cpp69 auto input0 = xformer->apply(this->getInput(0)); in onMakeColorSpace() local
71 if (input0.get() != this->getInput(0) || input1.get() != this->getInput(1)) { in onMakeColorSpace()
72 return SkComposeImageFilter::Make(std::move(input0), std::move(input1)); in onMakeColorSpace()
/external/skia/src/effects/imagefilters/
DSkComposeImageFilter.cpp69 auto input0 = xformer->apply(this->getInput(0)); in onMakeColorSpace() local
71 if (input0.get() != this->getInput(0) || input1.get() != this->getInput(1)) { in onMakeColorSpace()
72 return SkComposeImageFilter::Make(std::move(input0), std::move(input1)); in onMakeColorSpace()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator_test.cc169 TfLiteTensor* input0 = interpreter->tensor(0); in TEST() local
170 input0->data.f[0] = 1.5f; in TEST()
171 input0->data.f[1] = 0.5f; in TEST()
/external/libxcam/cl_kernel/
Dkernel_gauss_lap_pyramid.cl3 * input0
203 __read_only image2d_t input0, __read_only image2d_t input1,
216 float8 data0 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input0, sampler, pos))));
336 * input0: RGBA-CL_UNSIGNED_INT16
342 __read_only image2d_t input0, int offset0,
350 …int8 data0 = convert_int8(as_uchar8(convert_ushort4(read_imageui(input0, sampler, (int2)(g_x + off…
358 * input0: RGBA-CL_UNSIGNED_INT16
435 __read_only image2d_t input0, __read_only image2d_t input1,
444 float8 data0 = convert_float8(as_uchar8(convert_ushort4(read_imageui(input0, sampler, pos))));
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dlayout_optimizer.cc1306 auto input0 = node_map_->GetNode(node_->input(0)); in GetInputPos() local
1312 if (IsPortDimsFour(*input0, input0_port)) { in GetInputPos()
1322 auto input0 = node_map_->GetNode(node_->input(0)); in IsNDOperateWithMD() local
1329 if (input0 && input1) { in IsNDOperateWithMD()
1330 bool input0_is_n = (n == 4) ? IsPortDimsFour(*input0, input0_port) in IsNDOperateWithMD()
1331 : IsPortDimsN(*input0, input0_port, n); in IsNDOperateWithMD()
1659 auto input0 = node_map_->GetNode(node_->input(0)); in ShouldProcess() local
1662 bool is_input0_scalar_vector_4d = IsPortDimsN(*input0, input0_port, 0) || in ShouldProcess()
1663 IsPortDimsN(*input0, input0_port, 1) || in ShouldProcess()
1664 IsPortDimsN(*input0, input0_port, 4); in ShouldProcess()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dmultioutput_fusion_test.cc176 Literal input0(ShapeUtil::MakeShapeWithDescendingLayout(F32, {size})); in RunTest1D() local
177 input0.PopulateWithValue(2.5f); in RunTest1D()
182 auto actual = ExecuteAndTransfer(std::move(hlo_module), {&input0, &input1}); in RunTest1D()
Dtuple_test.cc467 auto input0 = Parameter(&builder, 0, arg0_shape, "input0"); in XLA_TEST_F() local
468 auto t0 = GetTupleElement(input0, 0); in XLA_TEST_F()
469 auto t1 = GetTupleElement(input0, 1); in XLA_TEST_F()
/external/webp/src/dsp/
Ddec_msa.c44 v8i16 input0, input1; in TransformOne() local
50 LD_SH2(in, 8, input0, input1); in TransformOne()
51 UNPCK_SH_SW(input0, in0, in1); in TransformOne()
78 v8i16 input0, input1; in TransformWHT() local
86 LD_SH2(in, 8, input0, input1); in TransformWHT()
88 tmp0 = input0 + input1; in TransformWHT()
89 tmp1 = input0 - input1; in TransformWHT()
93 VSHF_H2_SH(out0, out1, out0, out1, mask2, mask3, input0, input1); in TransformWHT()
94 tmp0 = input0 + input1; in TransformWHT()
95 tmp1 = input0 - input1; in TransformWHT()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DInterpreterTest.java183 float[] input0 = {1.23f}; in testRunForMultipleInputsOutputs() local
185 Object[] inputs = {input0, input1, input0, input1}; in testRunForMultipleInputsOutputs()

123