Home
last modified time | relevance | path

Searched refs:value_index (Results 1 – 25 of 62) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc41 for (int value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany() local
43 QuantizedToFloat(values_quantized[value_index], input_min, input_max), in TestRequantizeMany()
64 for (size_t value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany() local
65 int e = expected_values[value_index]; in TestRequantizeMany()
66 int v = output_values(value_index); in TestRequantizeMany()
69 << ", values_quantized[" << value_index in TestRequantizeMany()
70 << "]=" << values_quantized[value_index] << ", input_min=" << input_min in TestRequantizeMany()
72 << ", output_max=" << output_max << ", value_index=" << value_index; in TestRequantizeMany()
83 for (int value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany8To32Bit() local
85 QuantizedToFloat(values_quantized[value_index], input_min, input_max), in TestRequantizeMany8To32Bit()
[all …]
Dlookup_util.cc77 int64 value_index, Env* env) { in Init() argument
84 value_index_ = value_index; in Init()
351 int32 value_index, Env* env, in InitializeTableFromTextFile() argument
366 if (value_index == kLineNumber && value_dtype != DT_INT64) { in InitializeTableFromTextFile()
371 if (value_index == kWholeLine && value_dtype != DT_STRING) { in InitializeTableFromTextFile()
379 key_index, value_dtype, value_index, env)); in InitializeTableFromTextFile()
Dragged_tensor_to_variant_op.cc124 int value_index = 0; in UnbatchRaggedZerothDim() local
132 for (int j = 0; j < num_values * num_inner_elems; j++, value_index++) { in UnbatchRaggedZerothDim()
133 ragged_component_values_flat(j) = batched_flat(value_index); in UnbatchRaggedZerothDim()
Dragged_range_op.cc91 int value_index = 0; in Compute() local
97 rt_dense_values(value_index++) = T(value); in Compute()
Dlookup_table_init_op.h27 int32 value_index, Env* env,
/external/libtextclassifier/native/utils/tflite/
Dencoder_common.cc40 for (int value_index = 0; in CopyValuesToTensorAndPadOrTruncate() local
41 value_index < encoding_end_offsets.size() && output_offset < output_size; in CopyValuesToTensorAndPadOrTruncate()
42 ++value_index) { in CopyValuesToTensorAndPadOrTruncate()
48 std::min(std::max(0, encoding_end_offsets[value_index] - start_offset - in CopyValuesToTensorAndPadOrTruncate()
59 in.data.i32[value_index]); in CopyValuesToTensorAndPadOrTruncate()
64 in.data.f[value_index]); in CopyValuesToTensorAndPadOrTruncate()
/external/v8/src/objects/
Dliteral-objects.cc118 constexpr int ComputeEnumerationIndex(int value_index) { in ComputeEnumerationIndex() argument
122 return value_index + in ComputeEnumerationIndex()
344 int value_index) { in AddNamedProperty() argument
345 Smi value = Smi::FromInt(value_index); in AddNamedProperty()
347 UpdateNextEnumerationIndex(value_index); in AddNamedProperty()
349 value_index, value_kind, value); in AddNamedProperty()
359 int value_index) { in AddIndexedProperty() argument
360 Smi value = Smi::FromInt(value_index); in AddIndexedProperty()
362 value_index, value_kind, value); in AddIndexedProperty()
366 int value_index = key_index + 1; in AddComputed() local
[all …]
Dcompilation-cache-table.cc398 const int value_index = entry_index + 1; in Age() local
410 const int new_count = Smi::ToInt(get(value_index)) - 1; in Age()
415 NoWriteBarrierSet(*this, value_index, Smi::FromInt(new_count)); in Age()
419 SharedFunctionInfo info = SharedFunctionInfo::cast(get(value_index)); in Age()
431 int value_index = entry_index + 1; in Remove() local
432 if (get(value_index) == value) { in Remove()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc237 size_t prefix_index, value_index; in TryRemovePrefix() local
238 for (prefix_index = 0, value_index = 0; in TryRemovePrefix()
239 prefix_index < prefix_to_match.size() && value_index < value.size(); in TryRemovePrefix()
240 value_index++) { in TryRemovePrefix()
242 if (value[value_index] == '_') { in TryRemovePrefix()
245 if (ascii_tolower(value[value_index]) != prefix_to_match[prefix_index++]) { in TryRemovePrefix()
257 while (value_index < value.size() && value[value_index] == '_') { in TryRemovePrefix()
258 value_index++; in TryRemovePrefix()
262 if (value_index == value.size()) { in TryRemovePrefix()
266 return value.substr(value_index); in TryRemovePrefix()
/external/v8/src/compiler/backend/
Dspill-placer.cc122 void SetSpillRequiredSingleValue(int value_index) { in SetSpillRequiredSingleValue() argument
123 DCHECK_LT(value_index, kValueIndicesPerEntry); in SetSpillRequiredSingleValue()
124 uint64_t bit = uint64_t{1} << value_index; in SetSpillRequiredSingleValue()
127 void SetDefinitionSingleValue(int value_index) { in SetDefinitionSingleValue() argument
128 DCHECK_LT(value_index, kValueIndicesPerEntry); in SetDefinitionSingleValue()
129 uint64_t bit = uint64_t{1} << value_index; in SetDefinitionSingleValue()
276 int value_index = GetOrCreateIndexForLatestVreg(vreg); in SetSpillRequired() local
278 value_index); in SetSpillRequired()
283 int value_index = GetOrCreateIndexForLatestVreg(vreg); in SetDefinition() local
284 entries_[block.ToSize()].SetDefinitionSingleValue(value_index); in SetDefinition()
/external/perfetto/src/trace_processor/importers/systrace/
Dsystrace_parser.h180 size_t value_index = name_index + name_length.value() + 1; in ParseSystraceTracePoint() local
181 size_t value_pipe = str.find('|', value_index); in ParseSystraceTracePoint()
183 ? len - value_index in ParseSystraceTracePoint()
184 : value_pipe - value_index; in ParseSystraceTracePoint()
187 if (s[value_index + value_len - 1] == '\n') in ParseSystraceTracePoint()
189 std::string value_str(s + value_index, value_len); in ParseSystraceTracePoint()
/external/v8/src/deoptimizer/
Ddeoptimizer.cc3102 int value_index = static_cast<int>(frame.values_.size()); in CreateArgumentsElementsTranslatedValues() local
3108 object_positions_.push_back({frame_index, value_index}); in CreateArgumentsElementsTranslatedValues()
3161 int value_index = static_cast<int>(frame.values_.size()); in CreateNextTranslatedValue() local
3219 object_positions_.push_back({frame_index, value_index}); in CreateNextTranslatedValue()
3622 int value_index = pos.value_index_; in InitializeCapturedObjectAt() local
3625 TranslatedValue* slot = &(frame->values_[value_index]); in InitializeCapturedObjectAt()
3626 value_index++; in InitializeCapturedObjectAt()
3632 int children_init_index = value_index; in InitializeCapturedObjectAt()
3653 CHECK_EQ(frame->values_[value_index].kind(), TranslatedValue::kTagged); in InitializeCapturedObjectAt()
3654 Handle<Map> map = Handle<Map>::cast(frame->values_[value_index].GetValue()); in InitializeCapturedObjectAt()
[all …]
Ddeoptimizer.h369 void MaterializeFixedDoubleArray(TranslatedFrame* frame, int* value_index,
371 void MaterializeHeapNumber(TranslatedFrame* frame, int* value_index,
376 void SkipSlots(int slots_to_skip, TranslatedFrame* frame, int* value_index);
383 int* value_index, std::stack<int>* worklist);
389 void InitializeJSObjectAt(TranslatedFrame* frame, int* value_index,
393 TranslatedFrame* frame, int* value_index, TranslatedValue* slot,
401 Handle<Object> GetValueAndAdvance(TranslatedFrame* frame, int* value_index);
402 TranslatedValue* GetResolvedSlot(TranslatedFrame* frame, int value_index);
404 int* value_index);
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
DConstantValueAttribute_info.java65 public ConstantValueAttribute_info (final int attribute_name_index, final int value_index) in ConstantValueAttribute_info() argument
69 m_value_index = value_index; in ConstantValueAttribute_info()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RefMerge.pbtxt17 name: "value_index"
28 `value_index` to its index in `inputs`.
Dapi_def_Merge.pbtxt16 name: "value_index"
27 `value_index` to its index in `inputs`.
Dapi_def_InitializeTableFromTextFileV2.pbtxt25 name: "value_index"
49 `value_index`.
Dapi_def_InitializeTableFromTextFile.pbtxt23 name: "value_index"
47 `value_index`.
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-tensor.pbtxt35 name: "value_index"
40 …argspec: "args=[\'self\', \'op\', \'value_index\', \'dtype\'], varargs=None, keywords=None, defaul…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-tensor.pbtxt35 name: "value_index"
40 …argspec: "args=[\'self\', \'op\', \'value_index\', \'dtype\'], varargs=None, keywords=None, defaul…
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
Dfuse_auto_input.cc167 int value_index = i == 0 ? input_and_num.second : ++extra_input_num; in ApplyToNode() local
168 replacements.push_back(MakeValueReplacement(i, value_index)); in ApplyToNode()
174 absl::StrAppend(&values, " value_", value_index, " = $input_data_", in ApplyToNode()
/external/mesa3d/src/intel/vulkan/
DgenX_query.c345 uint32_t value_index, uint64_t result) in cpu_write_query_result() argument
349 dst64[value_index] = result; in cpu_write_query_result()
352 dst32[value_index] = result; in cpu_write_query_result()
1182 uint32_t value_index, in gpu_write_query_result_cond() argument
1194 struct anv_address res_addr = anv_address_add(dst_addr, value_index * 8); in gpu_write_query_result_cond()
1197 struct anv_address res_addr = anv_address_add(dst_addr, value_index * 4); in gpu_write_query_result_cond()
1208 uint32_t value_index, in gpu_write_query_result() argument
1212 struct anv_address res_addr = anv_address_add(dst_addr, value_index * 8); in gpu_write_query_result()
1215 struct anv_address res_addr = anv_address_add(dst_addr, value_index * 4); in gpu_write_query_result()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DMerge.pbtxt13 name: "value_index"
DRefMerge.pbtxt15 name: "value_index"
DInitializeTableFromTextFile.pbtxt19 name: "value_index"

123