Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/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 …]
/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/mindspore/tests/st/ops/ascend/test_tbe_ops/
Dtest_stridedslice_grad.py32 def construct(self, input_, output_grad): argument
33 gout = self.grad(self.network)(input_, output_grad)
45 def construct(self, input_): argument
46 x = self.stridedslice(input_, self.begin, self.end, self.stride)
50 def me_stridedslice(input_, begin, end, stride, gradients): argument
51 input_me = Tensor(input_)
60 input_ = np.random.randn(2).astype(np.float32)
65 me_stridedslice(input_, begin, end, stride, gradients)
Dtest_transpose_d.py32 def construct(self, input_): argument
33 x = self.transpose(input_, self.perm)
37 def ms_transpose(input_, perm_in): argument
39 input_me = Tensor(input_)
50 input_ = np.random.randn(8, 24, 1, 1).astype(np.float16)
52 ms_transpose(input_, perm)
Dtest_stridedslice.py34 def construct(self, input_): argument
35 x = self.stridedslice(input_, self.begin, self.end, self.stride)
49 input_ = np.random.randn(5, 5).astype(np.int32)
54 me_stridedslice(input_, begin, end, stride)
58 input_ = np.random.randn(5, 5, 5).astype(np.float32)
62 me_stridedslice(input_, begin, end, stride)
Dtest_unsorted_segment_sum.py35 def me_un_seg_sum(input_, indices, num_segments): argument
38 out = net(Tensor(input_), Tensor(indices), Tensor(num_segments, mstype.int32))
43 input_ = np.random.randn(*shape).astype(dtype)
45 out_me = me_un_seg_sum(input_, indices_me, num_segments)
Dtest_pow.py32 def construct(self, input_, exp): argument
33 return self.pow(input_, exp)
36 def pow_forward_me_impl(input_, exp): argument
40 out = m.predict(input_, exp)
Dtest_layernorm_grad.py33 def construct(self, input_, output_grad,): argument
34 gout = self.grad(self.network)(input_, output_grad)
43 def construct(self, input_): argument
44 x = self.layernorm(input_)
/third_party/gn/src/gn/
Dtokenizer.cc75 input_(input_file->contents()), in Tokenizer()
109 std::string_view token_value(&input_.data()[token_begin], in Run()
253 char following_char = CanIncrement() ? input_[cur_ + 1] : '\0'; in ClassifyCurrent()
302 if (CanIncrement() && CouldBeTwoCharOperatorEnd(input_[cur_ + 1])) in AdvanceToEndOfToken()
342 char c = input_[location]; in AtStartOfLine()
353 char c = input_[cur_]; in IsCurrentWhitespace()
368 for (int i = static_cast<int>(cur_) - 1; i >= 0 && input_[i] == '\\'; i--) in IsCurrentStringTerminator()
377 return IsNewline(input_, cur_); in IsCurrentNewline()
381 DCHECK(cur_ < input_.size()); in Advance()
405 } else if (cur_char() == '/' && cur_ + 1 < input_.size() && in GetErrorForInvalidToken()
[all …]
Dtokenizer.h76 bool CanIncrement() const { return cur_ < input_.size() - 1; } in CanIncrement()
88 bool at_end() const { return cur_ == input_.size(); } in at_end()
89 char cur_char() const { return input_[cur_]; } in cur_char()
96 const std::string_view input_; variable
/third_party/boost/boost/spirit/home/support/iterators/detail/
Dinput_iterator_policy.hpp72 return *mp.shared()->input_; in get_input()
78 ++mp.shared()->input_; in advance_input()
86 return mp.shared()->input_ == end_iter; in input_at_eof()
103 explicit shared(T const& input) : input_(input) {} in shared()
105 T input_; member
Distream_policy.hpp91 : input_(input), curtok_(-1) in shared()
99 if (!(input_ >> curtok_)) { in read_one()
110 input_.peek(); // try for eof in peek_one()
112 eof_reached_ = input_.eof(); in peek_one()
115 T& input_; member
Dbuffering_input_iterator_policy.hpp82 return mp.shared()->input_ == end_iter; in input_at_eof()
103 : input_(input), curtok_(0), input_is_valid_(false) {} in shared()
107 ++input_; in advance_input()
114 curtok_ = *input_; in get_input()
120 T input_; member
/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc184 : input_(NULL), in Parser()
197 return input_->current().text == text; in LookingAt()
201 return input_->current().type == token_type; in LookingAtType()
208 input_->Next(); in TryConsume()
235 *output = input_->current().text; in ConsumeIdentifier()
236 input_->Next(); in ConsumeIdentifier()
247 if (!io::Tokenizer::ParseInteger(input_->current().text, kint32max, in ConsumeInteger()
253 input_->Next(); in ConsumeInteger()
278 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64()
284 input_->Next(); in ConsumeInteger64()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc383 : input_(input), limit_(limit) { in LimitingInputStream()
384 prior_bytes_read_ = input_->ByteCount(); in LimitingInputStream()
389 if (limit_ < 0) input_->BackUp(-limit_); in ~LimitingInputStream()
394 if (!input_->Next(data, size)) return false; in Next()
406 input_->BackUp(count - limit_); in BackUp()
409 input_->BackUp(count); in BackUp()
417 input_->Skip(limit_); in Skip()
421 if (!input_->Skip(count)) return false; in Skip()
429 return input_->ByteCount() + limit_ - prior_bytes_read_; in ByteCount()
431 return input_->ByteCount() - prior_bytes_read_; in ByteCount()
/third_party/boost/boost/asio/ssl/detail/
Dio.hpp44 if (core.input_.size() == 0) in io()
46 core.input_ = boost::asio::buffer(core.input_buffer_, in io()
53 core.input_ = core.engine_.put_input(core.input_); in io()
152 if (core_.input_.size() != 0) in operator ()()
154 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()()
259 core_.input_ = boost::asio::buffer( in operator ()()
261 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()()
/third_party/boost/libs/asio/include/boost/asio/ssl/detail/
Dio.hpp44 if (core.input_.size() == 0) in io()
46 core.input_ = boost::asio::buffer(core.input_buffer_, in io()
53 core.input_ = core.engine_.put_input(core.input_); in io()
152 if (core_.input_.size() != 0) in operator ()()
154 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()()
259 core_.input_ = boost::asio::buffer( in operator ()()
261 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dbatchnorm_fp16.cc65input_ = ConvertInputFp32toFp16(input_tensor, static_cast<const lite::InnerContext *>(this->ms_con… in Run()
67 if (input_ == nullptr || output_ == nullptr) { in Run()
88 BatchNormFp16(input_, mean_, variance_, param, task_id, output_); in DoExecute()
94 ms_context_->allocator->Free(input_); in FreeInputAndOutput()
95 input_ = nullptr; in FreeInputAndOutput()
Dscale_fp16.cc77 DoScaleRelu6Fp16(input_, output_, scale_, offset_, task_id, scale_param_); in Scale()
80 Fp16DoScaleRelu(input_, output_, scale_, offset_, task_id, scale_param_); in Scale()
83 DoScaleFp16(input_, output_, scale_, offset_, task_id, scale_param_); in Scale()
107 input_ = reinterpret_cast<float16_t *>(input_tensor->data()); in Run()
109 CHECK_NULL_RETURN(input_); in Run()
/third_party/python/Lib/test/test_json/
Dtest_tool.py164 input_ = '[1, 2]'
172 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True)
177 input_ = '[1,\n2]'
180 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True)
185 input_ = '[1, 2]'
188 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True)
193 input_ = '[ 1 ,\n 2]'
196 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Declipse.py382 for input_ in action['inputs']:
383 if os.path.splitext(input_)[1] == '.jar' and not input_.startswith('$'):
384 if os.path.isabs(input_):
385 yield input_
387 yield os.path.join(os.path.dirname(target_name), input_)
395 for input_ in action['inputs']:
396 if (os.path.splitext(input_)[1] == '.java' and
397 not input_.startswith('$')):
399 input_))
/third_party/node/tools/gyp/pylib/gyp/generator/
Declipse.py420 for input_ in action["inputs"]:
421 if os.path.splitext(input_)[1] == ".jar" and not input_.startswith("$"):
422 if os.path.isabs(input_):
423 yield input_
425 yield os.path.join(os.path.dirname(target_name), input_)
433 for input_ in action["inputs"]:
434 if os.path.splitext(input_)[1] == ".java" and not input_.startswith(
438 os.path.join(os.path.dirname(target_name), input_)
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dclip_by_norm_no_div_square_sum_fusion.cc34 VectorRef greater_pattern({greater, input_, constant_greater_}); in DefinePattern()
38 …orRef({sqrt, VectorRef({prim::kPrimSelect, greater_pattern, input_, constant_select_})}), input_}), in DefinePattern()
53 BaseRef &input_gnode = (*equiv)[input_]; in Process()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dunique_cpu_kernel.h33 DataType *input_{nullptr};
78 MS_EXCEPTION_IF_NULL(params->input_); in CalculateEachBucketSize()
85 auto bucket_id = BucketId(params->input_[i], bucket_num); in CalculateEachBucketSize()
96 MS_EXCEPTION_IF_NULL(params->input_); in SplitAndCalculateBucketSize()
121 segments[i]->input_ = params->input_ + current_offset; in SplitAndCalculateBucketSize()
140 MS_EXCEPTION_IF_NULL(segment->input_); in SegmentToBuckets()
147 DataType data = segment->input_[i]; in SegmentToBuckets()
160 bucket->input_[bucket_index] = data; in SegmentToBuckets()
197 bucket->input_ = params->output_ + current_offset; in GatherSegmentsToBuckets()
212 bucket->input_ = buckets[j]->input_ + tmp_bucket_data_size[j]; in GatherSegmentsToBuckets()
[all …]

123456