/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sparse_reshape_op_test.py | 81 input_val = self._SparseTensorValue_5x6() 82 sp_output = sparse_ops.sparse_reshape(input_val, [5, 6]) 85 self.assertAllEqual(output_val.indices, input_val.indices) 86 self.assertAllEqual(output_val.values, input_val.values) 87 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) 92 input_val = self._SparseTensorValue_5x6() 95 output_val = sess.run(sp_output, {sp_input: input_val}) 96 self.assertAllEqual(output_val.indices, input_val.indices) 97 self.assertAllEqual(output_val.values, input_val.values) 98 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) [all …]
|
D | sparse_reorder_op_test.py | 60 input_val = self._SparseTensorValue_5x6(np.arange(6)) 61 sp_output = sparse_ops.sparse_reorder(input_val) 64 self.assertAllEqual(output_val.indices, input_val.indices) 65 self.assertAllEqual(output_val.values, input_val.values) 66 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) 71 input_val = self._SparseTensorValue_5x6(np.arange(6)) 74 output_val = sess.run(sp_output, {sp_input: input_val}) 75 self.assertAllEqual(output_val.indices, input_val.indices) 76 self.assertAllEqual(output_val.values, input_val.values) 77 self.assertAllEqual(output_val.dense_shape, input_val.dense_shape) [all …]
|
D | slice_op_test.py | 108 input_val = 0 112 constant_op.constant(input_val)[:].get_shape() 119 sess.run([slice_t], feed_dict={input_t: input_val}) 122 input_val = [1, 2] 126 constant_op.constant(input_val)[1:, 1:].get_shape() 133 sess.run([slice_t], feed_dict={input_t: input_val})
|
D | sparse_tensors_map_ops_test.py | 171 input_val = self._SparseTensorValue_5x6(np.arange(6)) 172 handle = add_sparse_to_tensors_map(input_val)
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/ |
D | depthwiseconv_float.h | 238 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 …]
|
D | optimized_ops.h | 422 int16x8_t input_val[2]; in FullyConnectedAsGEMV() local 425 input_val[0] = vreinterpretq_s16_u16(vmovl_u8(low)); in FullyConnectedAsGEMV() 426 input_val[1] = vreinterpretq_s16_u16(vmovl_u8(high)); in FullyConnectedAsGEMV() 427 input_val[0] = vaddq_s16(input_val[0], input_offset_vec); in FullyConnectedAsGEMV() 428 input_val[1] = vaddq_s16(input_val[1], input_offset_vec); in FullyConnectedAsGEMV() 441 vget_low_s16(input_val[p])); in FullyConnectedAsGEMV() 445 vget_high_s16(input_val[p])); in FullyConnectedAsGEMV() 456 int16x8_t input_val; in FullyConnectedAsGEMV() local 457 input_val = vreinterpretq_s16_u16(vmovl_u8(input_val_u8)); in FullyConnectedAsGEMV() 458 input_val = vaddq_s16(input_val, input_offset_vec); in FullyConnectedAsGEMV() [all …]
|
D | depthwiseconv_uint8.h | 858 const int16 input_val = *local_input_ptr++ + input_offset; 861 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val; 923 const int16 input_val = *local_input_ptr++ + input_offset; 926 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val; 1011 const int16 input_val = *local_input_ptr++ + input_offset; 1013 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val; 1586 const int16 input_val = *input_ptr++ + input_offset; 1589 *acc_buffer_ptr++ += static_cast<int32>(filter_val) * input_val;
|
/external/tensorflow/tensorflow/core/kernels/ |
D | sparse_reorder_op.cc | 45 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() 63 sparse::SparseTensor input_sp(input_ind, input_val, input_shape, std_order); in Compute() 71 tensor::DeepCopy(input_val), in Compute()
|
D | remote_fused_graph_execute_op_test.cc | 183 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/vixl/examples/aarch64/ |
D | factorial.cc | 68 uint64_t input_val = 16; in main() local 69 simulator.WriteXRegister(0, input_val); in main() 72 input_val, in main()
|
D | factorial-rec.cc | 70 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/ |
D | depthwiseconv_float.h | 240 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/contrib/lite/kernels/internal/reference/ |
D | depthwiseconv_uint8.h | 67 int32 input_val = in DepthwiseConv() local 72 (filter_val + filter_offset) * (input_val + input_offset); in DepthwiseConv()
|
D | reference_ops.h | 289 int32 input_val = input_data[Offset(input_dims, in_channel, in Conv() local 295 (filter_val + filter_offset) * (input_val + input_offset); in Conv() 519 int32 input_val = input_data[b * accum_depth + d]; in FullyConnected() local 521 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected() 1513 int16 input_val = concat_temp_data_uint8[b * fc_accum_depth + d] - 128; in LstmCell() local 1516 accum += input_val * weights_val; in LstmCell() 2080 const float input_val = in LocalResponseNormalization() local 2082 accum += input_val * input_val; in LocalResponseNormalization()
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/ |
D | training_test.py | 1403 input_val = np.random.random((10, 4)) 1407 model.train_on_batch(input_val, None) 1412 model.train_on_batch(input_val, None) 1427 model.train_on_batch(input_val, target_val) 1430 input_val = np.random.random((10, 4)) 1442 model.train_on_batch(input_val, None) 1448 model.train_on_batch(input_val, None) 1453 model.train_on_batch(input_val, None,
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
D | backend_test.py | 875 input_val = np.random.random( 901 inputs = keras.backend.variable(input_val)
|