Home
last modified time | relevance | path

Searched refs:input_ (Results 1 – 25 of 213) sorted by relevance

123456789

/external/tensorflow/tensorflow/python/kernel_tests/
Das_string_op_test.py39 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/angle/third_party/spirv-tools/src/tools/sva/src/
Dlexer.js22 this.input_ = input;
84 if (this.input_[this.cur_pos_ + i] !== str[i])
149 if (this.input_[end] === "-")
152 while (end < this.len_ && this.isNum(this.input_[end]))
156 if (end >= this.len_ || this.input_[end] !== ".")
160 while (end < this.len_ && this.isNum(this.input_[end]))
163 let substr = this.input_.substr(start, end - start);
183 if (end + 2 >= this.len_ || this.input_[end] !== "0" ||
184 this.input_[end + 1] !== "x") {
190 while (end < this.len_ && this.isHex(this.input_[end]))
[all …]
/external/deqp-deps/SPIRV-Tools/tools/sva/src/
Dlexer.js22 this.input_ = input;
84 if (this.input_[this.cur_pos_ + i] !== str[i])
149 if (this.input_[end] === "-")
152 while (end < this.len_ && this.isNum(this.input_[end]))
156 if (end >= this.len_ || this.input_[end] !== ".")
160 while (end < this.len_ && this.isNum(this.input_[end]))
163 let substr = this.input_.substr(start, end - start);
183 if (end + 2 >= this.len_ || this.input_[end] !== "0" ||
184 this.input_[end + 1] !== "x") {
190 while (end < this.len_ && this.isHex(this.input_[end]))
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dlexer.js22 this.input_ = input;
84 if (this.input_[this.cur_pos_ + i] !== str[i])
149 if (this.input_[end] === "-")
152 while (end < this.len_ && this.isNum(this.input_[end]))
156 if (end >= this.len_ || this.input_[end] !== ".")
160 while (end < this.len_ && this.isNum(this.input_[end]))
163 let substr = this.input_.substr(start, end - start);
183 if (end + 2 >= this.len_ || this.input_[end] !== "0" ||
184 this.input_[end + 1] !== "x") {
190 while (end < this.len_ && this.isHex(this.input_[end]))
[all …]
/external/libaom/libaom/test/
Dfft_test.cc92 input_ = (float *)aom_memalign(32, sizeof(*input_) * n * n); in SetUp()
95 memset(input_, 0, sizeof(*input_) * n * n); in SetUp()
100 aom_free(input_); in TearDown()
104 float *input_; member in __anon8c1aabc40111::FFT2DTest
112 input_[i] = 1; in TEST_P()
113 std::vector<std::complex<float> > expected = fft2d<float>(&input_[0], n); in TEST_P()
114 GetParam().fft(&input_[0], &temp_[0], &output_[0]); in TEST_P()
122 input_[i] = 0; in TEST_P()
130 input_[i % (n * n)] = 1; in TEST_P()
131 GetParam().fft(&input_[0], &temp_[0], &output_[0]); in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dthreadpool_dataset_op.cc144 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()
176 return input_->CheckExternalState(); in CheckExternalState()
184 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
199 return dataset()->input_->MakeIterator( in Initialize()
231 const DatasetBase* const input_; member in tensorflow::data::experimental::__anon1867a0ca0111::ThreadPoolDatasetOp::Dataset
[all …]
Dstats_dataset_ops.cc55 input_(input), in Dataset()
57 input_->Ref(); in Dataset()
60 ~Dataset() override { input_->Unref(); } in ~Dataset()
69 return input_->output_dtypes(); in output_dtypes()
72 return input_->output_shapes(); in output_shapes()
79 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
82 return input_->CheckExternalState(); in CheckExternalState()
90 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_node)); in AsGraphDefInternal()
104 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
148 const DatasetBase* const input_; member in tensorflow::data::experimental::__anon27a48a5a0111::LatencyStatsDatasetOp::Dataset
[all …]
Dignore_errors_dataset_op.cc38 : DatasetBase(DatasetContext(ctx)), input_(input) { in Dataset()
39 input_->Ref(); in Dataset()
42 ~Dataset() override { input_->Unref(); } in ~Dataset()
51 return input_->output_dtypes(); in output_dtypes()
54 return input_->output_shapes(); in output_shapes()
61 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
64 return input_->CheckExternalState(); in CheckExternalState()
72 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
84 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
142 const DatasetBase* const input_; member in tensorflow::data::experimental::__anon52af56b80111::IgnoreErrorsDatasetOp::Dataset
Dsleep_dataset_op.cc47 input_(input), in Dataset()
49 input_->Ref(); in Dataset()
52 ~Dataset() override { input_->Unref(); } in ~Dataset()
61 return input_->output_dtypes(); in output_dtypes()
64 return input_->output_shapes(); in output_shapes()
69 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
72 return input_->CheckExternalState(); in CheckExternalState()
80 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
118 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
159 const DatasetBase* const input_; member in tensorflow::data::experimental::__anon2b717df10111::SleepDatasetOp::Dataset
Dtake_while_dataset_op.cc60 input_(input), in Dataset()
62 input_->Ref(); in Dataset()
65 ~Dataset() override { input_->Unref(); } in ~Dataset()
74 return input_->output_dtypes(); in output_dtypes()
78 return input_->output_shapes(); in output_shapes()
89 return input_->CheckExternalState(); in CheckExternalState()
97 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_node)); in AsGraphDefInternal()
126 dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_)); in Initialize()
197 const DatasetBase* const input_; member in tensorflow::data::experimental::__anon86c1aa350111::TakeWhileDatasetOp::Dataset
Dnon_serializable_dataset_op.cc47 input_(input), in Dataset()
50 input_->Ref(); in Dataset()
53 ~Dataset() override { input_->Unref(); } in ~Dataset()
73 return input_->CheckExternalState(); in CheckExternalState()
84 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
93 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
123 const DatasetBase* input_; member in tensorflow::data::experimental::__anon2b049c390111::NonSerializableDatasetOp::Dataset
Dset_stats_aggregator_dataset_op.cc108 input_(input), in Dataset()
113 input_->Ref(); in Dataset()
118 input_->Unref(); in ~Dataset()
129 return input_->output_dtypes(); in output_dtypes()
132 return input_->output_shapes(); in output_shapes()
139 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
142 return input_->CheckExternalState(); in CheckExternalState()
150 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
171 return dataset()->input_->MakeIterator(&iter_ctx, prefix(), in Initialize()
218 const DatasetBase* const input_; member in tensorflow::data::experimental::__anonac8155140111::SetStatsAggregatorDatasetOp::Dataset
Dassert_next_dataset_op.cc40 input_(input), in Dataset()
44 input_->Ref(); in Dataset()
47 ~Dataset() override { input_->Unref(); } in ~Dataset()
64 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
67 return input_->CheckExternalState(); in CheckExternalState()
75 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
106 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
137 const DatasetBase* input_; member in tensorflow::data::experimental::AssertNextDatasetOp::Dataset
/external/python/asn1crypto/asn1crypto/
D_teletex_codec.py16 def encode(self, input_, errors='strict'): argument
17 return codecs.charmap_encode(input_, errors, ENCODING_TABLE)
19 def decode(self, input_, errors='strict'): argument
20 return codecs.charmap_decode(input_, errors, DECODING_TABLE)
25 def encode(self, input_, final=False): argument
26 return codecs.charmap_encode(input_, self.errors, ENCODING_TABLE)[0]
31 def decode(self, input_, final=False): argument
32 return codecs.charmap_decode(input_, self.errors, DECODING_TABLE)[0]
/external/tensorflow/tensorflow/core/kernels/data/
Drepeat_dataset_op.cc44 : DatasetBase(DatasetContext(ctx)), count_(count), input_(input) { in Dataset()
45 input_->Ref(); in Dataset()
48 ~Dataset() override { input_->Unref(); } in ~Dataset()
65 return input_->output_dtypes(); in output_dtypes()
68 return input_->output_shapes(); in output_shapes()
76 int64 n = input_->Cardinality(); in Cardinality()
93 return input_->CheckExternalState(); in CheckExternalState()
101 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
142 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
161 dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_)); in GetNextInternal()
[all …]
Dtake_dataset_op.cc37 : DatasetBase(DatasetContext(ctx)), count_(count), input_(input) { in TakeDataset()
38 input_->Ref(); in TakeDataset()
45 input_(input) { in TakeDataset()
46 input_->Ref(); in TakeDataset()
49 TakeDataset::~TakeDataset() { input_->Unref(); } in ~TakeDataset()
52 return input_->output_dtypes(); in output_dtypes()
56 return input_->output_shapes(); in output_shapes()
64 int64 n = input_->Cardinality(); in Cardinality()
78 return input_->CheckExternalState(); in CheckExternalState()
114 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
[all …]
Dskip_dataset_op.cc41 : DatasetBase(DatasetContext(ctx)), count_(count), input_(input) { in Dataset()
42 input_->Ref(); in Dataset()
45 ~Dataset() override { input_->Unref(); } in ~Dataset()
59 return input_->output_dtypes(); in output_dtypes()
63 return input_->output_shapes(); in output_shapes()
71 int64 n = input_->Cardinality(); in Cardinality()
79 return input_->CheckExternalState(); in CheckExternalState()
87 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
129 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
205 const DatasetBase* const input_; member in tensorflow::data::SkipDatasetOp::Dataset
Dshard_dataset_op.cc47 input_(input), in Dataset()
49 input_->Ref(); in Dataset()
52 ~Dataset() override { input_->Unref(); } in ~Dataset()
61 return input_->output_dtypes(); in output_dtypes()
65 return input_->output_shapes(); in output_shapes()
75 int64 n = input_->Cardinality(); in Cardinality()
83 return input_->CheckExternalState(); in CheckExternalState()
91 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
118 return dataset()->input_->MakeIterator(ctx, prefix(), &input_impl_); in Initialize()
205 const DatasetBase* const input_; member in tensorflow::data::ShardDatasetOp::Dataset
Dmodel_dataset_op.cc68 input_(input), in Dataset()
72 input_->Ref(); in Dataset()
75 ~Dataset() override { input_->Unref(); } in ~Dataset()
84 return input_->output_dtypes(); in output_dtypes()
87 return input_->output_shapes(); in output_shapes()
92 int64 Cardinality() const override { return input_->Cardinality(); } in Cardinality()
95 return input_->CheckExternalState(); in CheckExternalState()
103 TF_RETURN_IF_ERROR(b->AddInputDataset(ctx, input_, &input_graph_node)); in AsGraphDefInternal()
130 return dataset()->input_->MakeIterator( in Initialize()
218 const DatasetBase* input_; member in tensorflow::data::__anon07923c0c0111::ModelDatasetOp::Dataset
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_template.h45 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/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc434 input_ = AddInput(input); in FloatPoolingOpModel()
443 BuildInterpreter({GetShape(input_)}); in FloatPoolingOpModel()
447 PopulateTensor(input_, data); in SetInput()
453 int input_; member in tflite::__anonb997e7020111::FloatPoolingOpModel
505 input_ = AddInput(input); in ConvolutionOpModel()
515 auto bias_scale = GetScale(input_) * GetScale(filter_); in ConvolutionOpModel()
528 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in ConvolutionOpModel()
532 SetData(input_, input_type_, data); in SetInput()
563 int input_; member in tflite::__anonb997e7020111::ConvolutionOpModel
773 QuantizeAndPopulate<uint8_t>(input_, data); in SetInput()
[all …]
/external/tensorflow/tensorflow/lite/experimental/delegates/hexagon/builders/tests/
Dresize_bilinear_test.cc26 input_ = AddInput(input); in ResizeBilinearOpModel()
32 BuildInterpreter({GetShape(input_)}); in ResizeBilinearOpModel()
37 PopulateTensor(input_, data); in SetInput()
46 QuantizeAndPopulate<uint8_t>(input_, data); in SetQuantizedInput()
54 int input() { return input_; } in input()
57 int input_; member in tflite::ResizeBilinearOpModel
Ddepthwise_conv_test.cc28 input_ = AddInput(input); in QuantizedDepthwiseConvolutionOpModel()
35 auto bias_scale = GetScale(input_) * GetScale(filter_); in QuantizedDepthwiseConvolutionOpModel()
41 int input_depth = GetShape(input_)[3]; in QuantizedDepthwiseConvolutionOpModel()
53 BuildInterpreter({GetShape(input_), GetShape(filter_), GetShape(bias_)}); in QuantizedDepthwiseConvolutionOpModel()
57 QuantizeAndPopulate<uint8_t>(input_, data); in SetInput()
74 int input_; member in tflite::QuantizedDepthwiseConvolutionOpModel
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc183 : input_(NULL), in Parser()
196 return input_->current().text == text; in LookingAt()
200 return input_->current().type == token_type; in LookingAtType()
207 input_->Next(); in TryConsume()
234 *output = input_->current().text; in ConsumeIdentifier()
235 input_->Next(); in ConsumeIdentifier()
246 if (!io::Tokenizer::ParseInteger(input_->current().text, kint32max, in ConsumeInteger()
252 input_->Next(); in ConsumeInteger()
277 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64()
283 input_->Next(); in ConsumeInteger64()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dvalidation_test_input_parser.cc111 const std::string& input_; member in mojo::test::__anon367ee79c0111::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 …]

123456789