Home
last modified time | relevance | path

Searched refs:input_val (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_reshape_op_test.py84 input_val = self._SparseTensorValue_5x6()
85 sp_output = sparse_ops.sparse_reshape(input_val, [5, 6])
88 self.assertAllEqual(output_val.indices, input_val.indices)
89 self.assertAllEqual(output_val.values, input_val.values)
90 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape)
96 input_val = self._SparseTensorValue_5x6()
99 output_val = sess.run(sp_output, {sp_input: input_val})
100 self.assertAllEqual(output_val.indices, input_val.indices)
101 self.assertAllEqual(output_val.values, input_val.values)
102 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape)
[all …]
Dsparse_reorder_op_test.py61 input_val = self._SparseTensorValue_5x6(np.arange(6))
62 sp_output = sparse_ops.sparse_reorder(input_val)
65 self.assertAllEqual(output_val.indices, input_val.indices)
66 self.assertAllEqual(output_val.values, input_val.values)
67 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape)
73 input_val = self._SparseTensorValue_5x6(np.arange(6))
76 output_val = sess.run(sp_output, {sp_input: input_val})
77 self.assertAllEqual(output_val.indices, input_val.indices)
78 self.assertAllEqual(output_val.values, input_val.values)
79 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape)
[all …]
Dslice_op_test.py151 input_val = 0
155 constant_op.constant(input_val)[:].get_shape()
162 sess.run([slice_t], feed_dict={input_t: input_val})
166 input_val = [1, 2]
170 constant_op.constant(input_val)[1:, 1:].get_shape()
177 sess.run([slice_t], feed_dict={input_t: input_val})
Dsparse_tensors_map_ops_test.py179 input_val = self._SparseTensorValue_5x6(np.arange(6))
180 handle = add_sparse_to_tensors_map(input_val)
/external/u-boot/drivers/pinctrl/nxp/
Dpinctrl-imx.c25 int mux_reg, conf_reg, input_reg, input_val, mux_mode, config_val; in imx_pinctrl_set_state() local
87 input_val = pin_data[j++]; in imx_pinctrl_set_state()
92 mux_reg, conf_reg, input_reg, mux_mode, input_val, in imx_pinctrl_set_state()
127 if (input_val >> 24 == 0xff) { in imx_pinctrl_set_state()
128 u32 val = input_val; in imx_pinctrl_set_state()
147 writel(input_val, info->input_sel_base + in imx_pinctrl_set_state()
150 writel(input_val, info->base + input_reg); in imx_pinctrl_set_state()
153 input_reg, input_val); in imx_pinctrl_set_state()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_float.h238 const float input_val = *local_input_ptr++;
240 *acc_buffer_ptr++ += filter_val * input_val;
293 const float input_val = *local_input_ptr++;
301 acc[i] = vmlaq_n_f32(acc[i], filter[i], input_val);
410 const float input_val = *local_input_ptr++;
413 acc_buffer_ptr[i] += local_filter_ptr[i] * input_val;
504 const float input_val = *input_ptr;
513 acc[i] = vmlaq_n_f32(acc[i], filter[i], input_val);
542 const float input_val = *input_ptr;
554 acc_0 = vmlaq_n_f32(acc_0, filter_0, input_val);
[all …]
Doptimized_ops.h412 int16x8_t input_val; in GEMVForLstmCell() local
413 input_val = vreinterpretq_s16_u16(vmovl_u8(input_val_u8)); in GEMVForLstmCell()
414 input_val = vaddq_s16(input_val, input_offset_vec); in GEMVForLstmCell()
429 vget_low_s16(input_val)); in GEMVForLstmCell()
431 vget_low_s16(input_val)); in GEMVForLstmCell()
433 vget_low_s16(input_val)); in GEMVForLstmCell()
435 vget_low_s16(input_val)); in GEMVForLstmCell()
437 vget_high_s16(input_val)); in GEMVForLstmCell()
439 vget_high_s16(input_val)); in GEMVForLstmCell()
441 vget_high_s16(input_val)); in GEMVForLstmCell()
[all …]
Ddepthwiseconv_uint8.h861 const int16 input_val = *local_input_ptr++ + input_offset;
864 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
926 const int16 input_val = *local_input_ptr++ + input_offset;
929 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1014 const int16 input_val = *local_input_ptr++ + input_offset;
1016 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
1575 const int16 input_val = *input_ptr++ + input_offset;
1578 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
Ddepthwiseconv_uint8_transitional.h2304 int32 input_val = selected_data[y][d][x];
2306 acc += filter_val * input_val;
2468 int32 input_val = selected_data[y][x];
2470 acc += filter_val * input_val;
2685 int32 input_val = left_bank_0[d][x];
2687 acc += filter_val * input_val;
2690 int32 input_val = left_bank_1[d][x];
2692 acc += filter_val * input_val;
2695 int32 input_val = left_bank_2[d][x];
2697 acc += filter_val * input_val;
/external/tensorflow/tensorflow/core/kernels/
Dsparse_reorder_op.cc45 const Tensor& input_val = context->input(1); in Compute() local
46 OP_REQUIRES(context, TensorShapeUtils::IsVector(input_val.shape()), in Compute()
49 input_val.shape().DebugString())); in Compute()
65 context, sparse::SparseTensor::Create(input_ind, input_val, input_shape, in Compute()
76 tensor::DeepCopy(input_val), in Compute()
Dremote_fused_graph_execute_op_test.cc183 const float input_val = *input_tensor.scalar<float>().data(); in ExecuteGraph() local
193 output_a_plus_b.flat<float>().data()[0] = input_val + b_val; in ExecuteGraph()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dfully_connected.h98 int32 input_val = input_data[b * accum_depth + d]; in FullyConnected() local
100 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
149 int16 input_val = input_data[b * accum_depth + d] + input_offset; in FullyConnected() local
151 accum += filter_val * input_val; in FullyConnected()
244 int8 input_val = shuffled_input_data[d + j]; in ShuffledFullyConnected() local
246 accum[i] += weights_val * input_val; in ShuffledFullyConnected()
291 int8 input_val = shuffled_input_ptr[16 * b + j]; in ShuffledFullyConnected() local
293 accum[i][b] += weights_val * input_val; in ShuffledFullyConnected()
Ddepthwiseconv_uint8.h149 int32 input_val = in Run() local
154 (input_val + input_offset); in Run()
/external/vixl/examples/aarch64/
Dfactorial.cc68 uint64_t input_val = 16; in main() local
69 simulator.WriteXRegister(0, input_val); in main()
72 input_val, in main()
Dfactorial-rec.cc70 uint64_t input_val = 16; in main() local
71 simulator.WriteXRegister(0, input_val); in main()
74 input_val, in main()
/external/tensorflow/tensorflow/core/kernels/neon/
Ddepthwiseconv_float.h240 const float input_val = *local_input_ptr++;
242 *acc_buffer_ptr++ += filter_val * input_val;
295 const float input_val = *local_input_ptr++;
303 acc[i] = vmlaq_n_f32(acc[i], filter[i], input_val);
409 const float input_val = *local_input_ptr++;
412 acc_buffer_ptr[i] += local_filter_ptr[i] * input_val;
527 const float input_val = *input_ptr++;
530 *acc_buffer_ptr++ += filter_val * input_val;
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dfully_connected.h50 int32 input_val = input_data[b * accum_depth + d]; in FullyConnected() local
52 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
Dconv.h82 int32 input_val = input_data[Offset(input_shape, batch, in_y, in ConvPerChannel() local
103 acc += filter_val * (input_val - input_offset); in ConvPerChannel()
Ddepthwise_conv.h81 int32 input_val = input_data[Offset(input_shape, batch, in_y, in DepthwiseConvPerChannel() local
101 acc += filter_val * (input_val - input_offset); in DepthwiseConvPerChannel()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dexhaustive_op_test.cc262 IntegralT input_val = i + begin; in RunImpl() local
265 if (input_val >= known_incorrect_begin_ && in RunImpl()
266 input_val < known_incorrect_end_) { in RunImpl()
269 input_arr[i] = absl::bit_cast<T>(input_val); in RunImpl()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h260 gemmlowp::FixedPoint<int32, InputIntegerBits> input_val) { in log_x_for_x_greater_than_or_equal_to_1_impl() argument
294 FixedPoint0 z_a = FixedPoint0::FromRaw(input_val.raw()); in log_x_for_x_greater_than_or_equal_to_1_impl()
342 gemmlowp::FixedPoint<int32, InputIntegerBits> input_val) { in log_x_for_x_greater_than_or_equal_to_1() argument
348 input_val); in log_x_for_x_greater_than_or_equal_to_1()
Dlog_quantized_test.cc56 inline int32 LogPositiveValuesViaFloat(int32 input_val, int input_integer_bits, in LogPositiveValuesViaFloat() argument
59 static_cast<double>(input_val) * 0.5 / (1 << (30 - input_integer_bits))); in LogPositiveValuesViaFloat()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h534 int16x8_t input_val; in GEMVForLstmCell() local
535 input_val = vreinterpretq_s16_u16(vmovl_u8(input_val_u8)); in GEMVForLstmCell()
536 input_val = vaddq_s16(input_val, input_offset_vec); in GEMVForLstmCell()
551 vget_low_s16(input_val)); in GEMVForLstmCell()
553 vget_low_s16(input_val)); in GEMVForLstmCell()
555 vget_low_s16(input_val)); in GEMVForLstmCell()
557 vget_low_s16(input_val)); in GEMVForLstmCell()
559 vget_high_s16(input_val)); in GEMVForLstmCell()
561 vget_high_s16(input_val)); in GEMVForLstmCell()
563 vget_high_s16(input_val)); in GEMVForLstmCell()
[all …]
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/
Ddepthwise_conv.cc246 int32 input_val = *current_input; in DepthwiseConvOptimizedForFilterWidthEight() local
251 (filter_val + filter_offset) * (input_val + input_offset); in DepthwiseConvOptimizedForFilterWidthEight()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_test.py2148 input_val = np.random.random((10, 4))
2152 model.train_on_batch(input_val, None)
2156 model.train_on_batch(input_val, None)
2161 model.train_on_batch(input_val, None)
2176 model.train_on_batch(input_val, target_val)
2179 input_val = np.random.random((10, 4))
2191 model.train_on_batch(input_val, None)
2197 model.train_on_batch(input_val, None)
2205 model.train_on_batch(input_val, None,

12