/external/tensorflow/tensorflow/python/kernel_tests/ |
D | as_string_op_test.py | 39 input_ = array_ops.placeholder(dtype) 41 output = string_ops.as_string(input_, shortest=True) 42 result = output.eval(feed_dict={input_: float_inputs_}) 46 output = string_ops.as_string(input_, scientific=True) 47 result = output.eval(feed_dict={input_: float_inputs_}) 50 output = string_ops.as_string(input_) 51 result = output.eval(feed_dict={input_: float_inputs_}) 54 output = string_ops.as_string(input_, width=3) 55 result = output.eval(feed_dict={input_: float_inputs_}) 58 output = string_ops.as_string(input_, width=3, fill="0") [all …]
|
/external/libaom/libaom/test/ |
D | fft_test.cc | 91 input_ = (float *)aom_memalign(32, sizeof(*input_) * n * n); in SetUp() 94 memset(input_, 0, sizeof(*input_) * n * n); in SetUp() 99 aom_free(input_); in TearDown() 103 float *input_; member in __anonf43981990111::FFT2DTest 111 input_[i] = 1; in TEST_P() 112 std::vector<std::complex<float> > expected = fft2d<float>(&input_[0], n); in TEST_P() 113 GetParam().fft(&input_[0], &temp_[0], &output_[0]); in TEST_P() 121 input_[i] = 0; in TEST_P() 129 input_[i % (n * n)] = 1; in TEST_P() 130 GetParam().fft(&input_[0], &temp_[0], &output_[0]); in TEST_P() [all …]
|
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
D | prettyprint_ops.py | 91 def print_op(input_, argument 131 if input_ is None: 135 tensor_list = _get_tensor_repr(input_, print_tensor_name, print_tensor_type, 144 if isinstance(input_, ops.Tensor) or isinstance(input_, variables.Variable): 145 input_ = logging_ops.Print(input_, tensor_list, message, first_n, summarize, 147 elif isinstance(input_, sparse_tensor.SparseTensor): 153 input_ = sparse_tensor.SparseTensor( 154 array_ops.identity(input_.indices), 155 array_ops.identity(input_.values), 156 array_ops.identity(input_.dense_shape)) [all …]
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | threadpool_dataset_op.cc | 144 input_(input), in Dataset() 147 input_->Ref(); in Dataset() 152 input_->Unref(); in ~Dataset() 163 return input_->output_dtypes(); in output_dtypes() 166 return input_->output_shapes(); in output_shapes() 173 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() 180 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 195 return dataset()->input_->MakeIterator( in Initialize() 227 const DatasetBase* const input_; member in tensorflow::data::__anon16b1edff0111::ThreadPoolDatasetOp::Dataset 256 input_(input), in Dataset() [all …]
|
D | stats_dataset_ops.cc | 54 input_(input), in Dataset() 56 input_->Ref(); in Dataset() 59 ~Dataset() override { input_->Unref(); } in ~Dataset() 68 return input_->output_dtypes(); in output_dtypes() 71 return input_->output_shapes(); in output_shapes() 78 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() 85 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_node)); in AsGraphDefInternal() 99 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 142 const DatasetBase* const input_; member in tensorflow::data::__anon4cb6850f0111::LatencyStatsDatasetOp::Dataset 164 input_(input), in Dataset() [all …]
|
D | sleep_dataset_op.cc | 48 input_(input), in Dataset() 50 input_->Ref(); in Dataset() 53 ~Dataset() override { input_->Unref(); } in ~Dataset() 62 return input_->output_dtypes(); in output_dtypes() 65 return input_->output_shapes(); in output_shapes() 70 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() 77 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 98 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 130 const DatasetBase* const input_; member in tensorflow::data::__anon7a2476060111::SleepDatasetOp::Dataset
|
D | ignore_errors_dataset_op.cc | 40 : DatasetBase(DatasetContext(ctx)), input_(input) { in Dataset() 41 input_->Ref(); in Dataset() 44 ~Dataset() override { input_->Unref(); } in ~Dataset() 53 return input_->output_dtypes(); in output_dtypes() 56 return input_->output_shapes(); in output_shapes() 63 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() 70 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 82 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 139 const DatasetBase* const input_; member in tensorflow::data::__anon4f0f93cd0111::IgnoreErrorsDatasetOp::Dataset
|
D | set_stats_aggregator_dataset_op.cc | 102 input_(input), in Dataset() 107 input_->Ref(); in Dataset() 112 input_->Unref(); in ~Dataset() 123 return input_->output_dtypes(); in output_dtypes() 126 return input_->output_shapes(); in output_shapes() 133 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() 140 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 160 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 201 const DatasetBase* const input_; member in tensorflow::data::__anon0e0168890111::SetStatsAggregatorDatasetOp::Dataset
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | take_dataset_op.h | 28 : DatasetBase(DatasetContext(ctx)), count_(count), input_(input) { in TakeDataset() 29 input_->Ref(); in TakeDataset() 36 input_(input) { in TakeDataset() 37 input_->Ref(); in TakeDataset() 40 ~TakeDataset() override { input_->Unref(); } in ~TakeDataset() 46 return input_->output_dtypes(); in output_dtypes() 50 return input_->output_shapes(); in output_shapes() 56 int64 n = input_->Cardinality(); in Cardinality() 75 const DatasetBase* const input_; variable
|
D | repeat_dataset_op.cc | 45 : DatasetBase(DatasetContext(ctx)), count_(count), input_(input) { in Dataset() 46 input_->Ref(); in Dataset() 49 ~Dataset() override { input_->Unref(); } in ~Dataset() 66 return input_->output_dtypes(); in output_dtypes() 69 return input_->output_shapes(); in output_shapes() 75 int64 n = input_->Cardinality(); in Cardinality() 96 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 138 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 157 dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_)); in GetNextInternal() 210 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() [all …]
|
D | shard_dataset_op.cc | 62 input_(input) { in Dataset() 63 input_->Ref(); in Dataset() 66 ~Dataset() override { input_->Unref(); } in ~Dataset() 75 return input_->output_dtypes(); in output_dtypes() 79 return input_->output_shapes(); in output_shapes() 88 int64 n = input_->Cardinality(); in Cardinality() 100 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 117 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 186 const DatasetBase* const input_; member in tensorflow::data::__anon00b3bd020111::ShardDatasetOp::Dataset
|
D | model_dataset_op.cc | 54 input_(input), in Dataset() 56 input_->Ref(); in Dataset() 59 ~Dataset() override { input_->Unref(); } in ~Dataset() 68 return input_->output_dtypes(); in output_dtypes() 71 return input_->output_shapes(); in output_shapes() 76 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality() 83 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 110 return dataset()->input_->MakeIterator( in Initialize() 198 const DatasetBase* input_; member in tensorflow::data::__anon92466e010111::ModelDatasetOp::Dataset
|
D | skip_dataset_op.cc | 44 : DatasetBase(DatasetContext(ctx)), count_(count), input_(input) { in Dataset() 45 input_->Ref(); in Dataset() 48 ~Dataset() override { input_->Unref(); } in ~Dataset() 62 return input_->output_dtypes(); in output_dtypes() 65 return input_->output_shapes(); in output_shapes() 71 int64 n = input_->Cardinality(); in Cardinality() 83 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 126 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 203 const DatasetBase* const input_; member in tensorflow::data::__anonfd444e470111::SkipDatasetOp::Dataset
|
D | batch_dataset_op.cc | 59 input_(input) { in Dataset() 60 input_->Ref(); in Dataset() 65 const auto& input_shapes = input_->output_shapes(); in Dataset() 78 ~Dataset() override { input_->Unref(); } in ~Dataset() 87 return input_->output_dtypes(); in output_dtypes() 99 int64 n = input_->Cardinality(); in Cardinality() 112 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal() 129 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize() 250 const DatasetBase* const input_; member in tensorflow::data::__anon7bc448b20111::BatchDatasetOp::Dataset
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_test.cc | 201 input_ = AddInput(input); in FloatPoolingOpModel() 210 BuildInterpreter({GetShape(input_)}); in FloatPoolingOpModel() 214 PopulateTensor(input_, data); in SetInput() 220 int input_; member in tflite::__anon0c68fcb70111::FloatPoolingOpModel 272 input_ = AddInput(input); in ConvolutionOpModel() 282 auto bias_scale = GetScale(input_) * GetScale(filter_); in ConvolutionOpModel() 293 CHECK_LT(GetScale(input_) * GetScale(filter_), GetScale(output_)); in ConvolutionOpModel() 302 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in ConvolutionOpModel() 306 SetData(input_, input_type_, data); in SetInput() 337 int input_; member in tflite::__anon0c68fcb70111::ConvolutionOpModel [all …]
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl.cc | 298 : input_(input) { in CopyingIstreamInputStream() 305 input_->read(reinterpret_cast<char*>(buffer), size); in Read() 306 int result = input_->gcount(); in Read() 307 if (result == 0 && input_->fail() && !input_->eof()) { in Read() 417 : input_(input), limit_(limit) { in LimitingInputStream() 418 prior_bytes_read_ = input_->ByteCount(); in LimitingInputStream() 423 if (limit_ < 0) input_->BackUp(-limit_); in ~LimitingInputStream() 428 if (!input_->Next(data, size)) return false; in Next() 440 input_->BackUp(count - limit_); in BackUp() 443 input_->BackUp(count); in BackUp() [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 124 : input_(NULL), in Parser() 138 return input_->current().text == text; in LookingAt() 142 return input_->current().type == token_type; in LookingAtType() 151 input_->Next(); in TryConsume() 178 *output = input_->current().text; in ConsumeIdentifier() 179 input_->Next(); in ConsumeIdentifier() 190 if (!io::Tokenizer::ParseInteger(input_->current().text, in ConsumeInteger() 196 input_->Next(); in ConsumeInteger() 221 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64() 227 input_->Next(); in ConsumeInteger64() [all …]
|
/external/pcre/pcrecpp/ |
D | pcre_scanner.cc | 44 input_(data_), in Scanner() 55 input_(data_), in Scanner() 113 for (const char* p = data_.data(); p < input_.data(); ++p) in LineNumber() 120 return (int)(input_.data() - data_.c_str()); in Offset() 125 return re.DoMatch(input_, RE::ANCHOR_START, &consumed, 0, 0); in LookingAt() 131 const char* start_data = input_.data(); in ConsumeSkip() 132 while (skip_->Consume(&input_)) { in ConsumeSkip() 143 int length = (int)(input_.data() - start_data); in ConsumeSkip()
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | audio_device_template.h | 45 input_(audio_manager_), in AudioDeviceTemplate() 69 if (input_.Init() != 0) { in Init() 80 int32_t err = input_.Terminate(); in Terminate() 160 return input_.InitRecording(); in InitRecording() 164 return input_.RecordingIsInitialized(); in RecordingIsInitialized() 190 return input_.StartRecording(); in StartRecording() 197 int32_t err = input_.StopRecording(); in StopRecording() 202 return input_.Recording() ; in Recording() 433 input_.AttachAudioBuffer(audioBuffer); in AttachAudioBuffer() 460 return input_.EnableBuiltInAEC(enable); in EnableBuiltInAEC() [all …]
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | validation_test_input_parser.cc | 111 const std::string& input_; member in mojo::test::__anon8531dfb10111::ValidationTestInputParser 151 : input_(input), in ValidationTestInputParser() 200 input_cursor_ = input_.find_first_not_of(kWhitespaceChars, input_cursor_); in GetNextItem() 202 if (input_cursor_ >= input_.size()) in GetNextItem() 206 Range(&input_[0] + input_cursor_, &input_[0] + input_.size()), in GetNextItem() 210 input_cursor_ = input_.find_first_of(kEndOfLineChars, input_cursor_); in GetNextItem() 212 range->first = &input_[0] + input_cursor_; in GetNextItem() 213 input_cursor_ = input_.find_first_of(kItemDelimiters, input_cursor_); in GetNextItem() 214 range->second = input_cursor_ >= input_.size() in GetNextItem() 215 ? &input_[0] + input_.size() in GetNextItem() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | reshape_test.cc | 69 PopulateTensor<T>(input_, data); in SetInput() 73 PopulateStringTensor(input_, data); in SetStringInput() 82 input_ = AddInput({GetTensorType<T>(), input_shape}); in BuildWithHardcodedShape() 88 BuildInterpreter({GetShape(input_)}); in BuildWithHardcodedShape() 94 input_ = AddInput({GetTensorType<T>(), input_shape}); in BuildWithTensorShape() 102 BuildInterpreter({GetShape(input_), GetShape(shape_input_tensor)}); in BuildWithTensorShape() 111 input_ = AddInput({GetTensorType<T>(), input_shape}); in BuildWithConstantTensorShape() 119 BuildInterpreter({GetShape(input_)}); in BuildWithConstantTensorShape() 122 int input_; member in tflite::__anondc2713f00111::ReshapeOpModel
|
D | activations_test.cc | 32 input_ = AddInput(input); in BaseActivationsOpModel() 41 BuildInterpreter({GetShape(input_)}); in BaseActivationsOpModel() 46 input_ = AddInput(input); in BaseActivationsOpModel() 56 BuildInterpreter({GetShape(input_)}); in BaseActivationsOpModel() 61 input_ = AddInput(input); in BaseActivationsOpModel() 64 BuildInterpreter({GetShape(input_)}); in BaseActivationsOpModel() 68 int input_; member in tflite::__anonbb9f564d0111::BaseActivationsOpModel 77 PopulateTensor(input_, data); in SetInput() 107 QuantizeAndPopulate<T>(input_, data); in SetInput() 840 input_ = AddInput(input); in BasePReluOpModel() [all …]
|
D | topk_v2_test.cc | 32 input_ = AddInput(input_type); in TopKV2OpModel() 42 PopulateTensor<float>(input_, data); in SetInputFloat() 46 PopulateTensor<uint8_t>(input_, data); in SetInputUInt8() 50 PopulateTensor<int8_t>(input_, data); in SetInputInt8() 54 PopulateTensor<int32_t>(input_, data); in SetInputInt32() 58 PopulateTensor<int64_t>(input_, data); in SetInputInt64() 86 int input_; member in tflite::__anonf0b0a46d0111::TopKV2OpModel
|
/external/tensorflow/tensorflow/core/kernels/ |
D | matrix_diag_op.h | 34 : input_(input) {} in MatrixDiagPartGenerator() 40 return input_(diag_from_coords); in operator() 44 typename TTypes<T, 3>::ConstTensor input_; 52 : input_(input) {} in MatrixDiagGenerator() 59 return input_(diag_coords); in operator() 63 typename TTypes<T, 2>::ConstTensor input_;
|
/external/tensorflow/tensorflow/python/ops/ |
D | rnn.py | 86 for input_ in flat_input: 87 shape = input_.shape 92 "Expected input tensor %s to have rank at least 2" % input_) 325 flat_input_seq = tuple(nest.flatten(input_) for input_ in input_seq) 331 for input_ in sequence: 332 input_shape.merge_with(input_.get_shape()) 333 input_.set_shape(input_shape) 346 results = [nest.pack_sequence_as(structure=input_, flat_sequence=flat_result) 347 for input_, flat_result in zip(input_seq, flat_results)] 453 def _reverse(input_, seq_lengths, seq_axis, batch_axis): argument [all …]
|