Home
last modified time | relevance | path

Searched refs:value_index (Results 1 – 25 of 56) 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()
341 int32 value_index, Env* env, in InitializeTableFromTextFile() argument
356 if (value_index == kLineNumber && value_dtype != DT_INT64) { in InitializeTableFromTextFile()
361 if (value_index == kWholeLine && value_dtype != DT_STRING) { in InitializeTableFromTextFile()
369 key_index, value_dtype, value_index, env)); in InitializeTableFromTextFile()
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,
Dlookup_util.h46 int32 value_index, Env* env,
Dset_kernels.cc158 int64 value_index = 0; in OutputSparseTensor() local
170 ++value, ++value_index, ++group_value_index) { in OutputSparseTensor()
174 out_indices_mat(value_index, i) = group_indices[i]; in OutputSparseTensor()
176 out_indices_mat(value_index, group_indices.size()) = group_value_index; in OutputSparseTensor()
178 out_values_flat(value_index) = *value; in OutputSparseTensor()
/external/libtextclassifier/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/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc231 size_t prefix_index, value_index; in TryRemovePrefix() local
232 for (prefix_index = 0, value_index = 0; in TryRemovePrefix()
233 prefix_index < prefix_to_match.size() && value_index < value.size(); in TryRemovePrefix()
234 value_index++) { in TryRemovePrefix()
236 if (value[value_index] == '_') { in TryRemovePrefix()
239 if (ascii_tolower(value[value_index]) != prefix_to_match[prefix_index++]) { in TryRemovePrefix()
251 while (value_index < value.size() && value[value_index] == '_') { in TryRemovePrefix()
252 value_index++; in TryRemovePrefix()
256 if (value_index == value.size()) { in TryRemovePrefix()
260 return value.substr(value_index); in TryRemovePrefix()
/external/v8/src/objects/
Dliteral-objects.cc157 constexpr int ComputeEnumerationIndex(int value_index) { in ComputeEnumerationIndex() argument
161 return value_index + Max(ClassBoilerplate::kMinimumClassPropertiesCount, in ComputeEnumerationIndex()
359 int value_index) { in AddNamedProperty() argument
360 Smi* value = Smi::FromInt(value_index); in AddNamedProperty()
362 UpdateNextEnumerationIndex(value_index); in AddNamedProperty()
364 value_index, value_kind, value); in AddNamedProperty()
374 int value_index) { in AddIndexedProperty() argument
375 Smi* value = Smi::FromInt(value_index); in AddIndexedProperty()
377 value_index, value_kind, value); in AddIndexedProperty()
381 int value_index = key_index + 1; in AddComputed() local
[all …]
/external/v8/src/
Ddeoptimizer.cc2894 int value_index = static_cast<int>(frame.values_.size()); in CreateArgumentsElementsTranslatedValues() local
2900 object_positions_.push_back({frame_index, value_index}); in CreateArgumentsElementsTranslatedValues()
2941 int value_index = static_cast<int>(frame.values_.size()); in CreateNextTranslatedValue() local
2997 object_positions_.push_back({frame_index, value_index}); in CreateNextTranslatedValue()
3349 int value_index = pos.value_index_; in InitializeCapturedObjectAt() local
3352 TranslatedValue* slot = &(frame->values_[value_index]); in InitializeCapturedObjectAt()
3353 value_index++; in InitializeCapturedObjectAt()
3359 int children_init_index = value_index; in InitializeCapturedObjectAt()
3380 CHECK_EQ(frame->values_[value_index].kind(), TranslatedValue::kTagged); in InitializeCapturedObjectAt()
3381 Handle<Map> map = Handle<Map>::cast(frame->values_[value_index].GetValue()); in InitializeCapturedObjectAt()
[all …]
Ddeoptimizer.h336 void MaterializeFixedDoubleArray(TranslatedFrame* frame, int* value_index,
338 void MaterializeMutableHeapNumber(TranslatedFrame* frame, int* value_index,
343 void SkipSlots(int slots_to_skip, TranslatedFrame* frame, int* value_index);
350 int* value_index, std::stack<int>* worklist);
356 void InitializeJSObjectAt(TranslatedFrame* frame, int* value_index,
360 TranslatedFrame* frame, int* value_index, TranslatedValue* slot,
368 Handle<Object> GetValueAndAdvance(TranslatedFrame* frame, int* value_index);
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor.cc225 int value_index = 0; in ParseColumnValues() local
227 if (value["f"][value_index].isNull()) { in ParseColumnValues()
228 value_index++; in ParseColumnValues()
233 TF_RETURN_IF_ERROR(ParseColumnValues(value["f"][value_index]["v"], in ParseColumnValues()
240 value["f"][value_index]["v"], in ParseColumnValues()
244 value_index++; in ParseColumnValues()
/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_Merge.pbtxt16 name: "value_index"
27 `value_index` to its index in `inputs`.
Dapi_def_RefMerge.pbtxt17 name: "value_index"
28 `value_index` to its index in `inputs`.
Dapi_def_InitializeTableFromTextFile.pbtxt23 name: "value_index"
47 `value_index`.
Dapi_def_InitializeTableFromTextFileV2.pbtxt25 name: "value_index"
49 `value_index`.
/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…
Dtensorflow.lookup.-text-file-initializer.pbtxt17 …self\', \'filename\', \'key_dtype\', \'key_index\', \'value_dtype\', \'value_index\', \'vocab_size…
/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…
Dtensorflow.lookup.-text-file-initializer.pbtxt17 …self\', \'filename\', \'key_dtype\', \'key_index\', \'value_dtype\', \'value_index\', \'vocab_size…
/external/mesa3d/src/intel/vulkan/
DgenX_query.c138 uint32_t value_index, uint64_t result) in cpu_write_query_result() argument
142 dst64[value_index] = result; in cpu_write_query_result()
145 dst32[value_index] = result; in cpu_write_query_result()
680 uint32_t value_index, uint32_t reg) in gpu_write_query_result() argument
683 dst_offset += value_index * 8; in gpu_write_query_result()
685 dst_offset += value_index * 4; in gpu_write_query_result()
/external/tensorflow/tensorflow/contrib/lookup/
Dlookup_ops_test.py818 value_index = lookup.TextFileIndex.WHOLE_LINE
821 key_index, dtypes.string, value_index),
839 value_index = 2
843 key_index, dtypes.int64, value_index),
861 value_index = 1
864 key_index, dtypes.int64, value_index),
875 value_index = lookup.TextFileIndex.LINE_NUMBER
881 value_index), default_value)
888 value_index = lookup.TextFileIndex.LINE_NUMBER
891 key_index, dtypes.int64, value_index),
/external/tensorflow/tensorflow/python/ops/
Dnumerics.py119 message = op.name + ":" + str(output.value_index)
/external/tensorflow/tensorflow/python/distribute/
Dinput_ops.py97 inputs_list.append(input_tensor_op.outputs[input_tensor.value_index])

123