Home
last modified time | relevance | path

Searched refs:multipliers (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Dtile.cc35 const TfLiteTensor* multipliers, in MultiplyShapeDims() argument
37 const T* multipliers_v = GetTensorData<T>(multipliers); in MultiplyShapeDims()
49 const TfLiteTensor* multipliers = GetInput(context, node, kInputMultipliers); in ResizeOutput() local
52 const int num_multipliers = NumElements(multipliers); in ResizeOutput()
54 switch (multipliers->type) { in ResizeOutput()
58 MultiplyShapeDims<int32_t>(*input->dims, multipliers, in ResizeOutput()
63 MultiplyShapeDims<int64_t>(*input->dims, multipliers, in ResizeOutput()
68 TfLiteTypeGetName(multipliers->type)); in ResizeOutput()
86 const T* in_data, const M* multipliers, in TileOneDimension() argument
90 CopyMultipleTimes(in_data, dimension_size, multipliers[dimension], in TileOneDimension()
[all …]
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/
Dexternal_regret_optimizer.py58 def _project_multipliers_wrt_euclidean_norm(multipliers, radius): argument
76 if not multipliers.dtype.is_floating:
78 multipliers_shape = multipliers.get_shape()
89 def while_loop_condition(iteration, multipliers, inactive, old_inactive): argument
91 del multipliers # Needed by the body, but not the condition.
97 def while_loop_body(iteration, multipliers, inactive, old_inactive): argument
103 (radius - standard_ops.reduce_sum(multipliers)) / standard_ops.maximum(
105 multipliers = multipliers + (scale * inactive)
106 new_inactive = standard_ops.cast(multipliers > 0, multipliers.dtype)
107 multipliers = multipliers * new_inactive
[all …]
Dexternal_regret_optimizer_test.py124 multipliers = []
127 while len(multipliers) < len(expected_multipliers):
128 multipliers.append(session.run(optimizer.lagrange_multipliers))
131 for expected, actual in zip(expected_multipliers, multipliers):
/external/tensorflow/tensorflow/contrib/layers/python/ops/
Dsparse_ops.py31 multipliers = []
33 if multipliers:
34 multipliers.append(dim * multipliers[-1])
36 multipliers.append(dim)
37 multipliers.reverse()
38 return multipliers
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCompactData.java32 private final byte[] multipliers; field in CompactData
40 multipliers = new byte[CompactData.COMPACT_MAX_DIGITS + 1]; in CompactData()
107 multipliers[magnitude] = (byte) (numZeros - magnitude - 1); in populate()
125 return multipliers[magnitude]; in getMultiplier()
173 byte multiplier = data.multipliers[magnitude]; in put()
208 if (data.multipliers[magnitude] == 0) { in put()
209 data.multipliers[magnitude] = multiplier; in put()
215 assert data.multipliers[magnitude] == multiplier; in put()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCompactData.java37 private final byte[] multipliers; field in CompactData
45 multipliers = new byte[CompactData.COMPACT_MAX_DIGITS + 1]; in CompactData()
112 multipliers[magnitude] = (byte) (numZeros - magnitude - 1); in populate()
130 return multipliers[magnitude]; in getMultiplier()
178 byte multiplier = data.multipliers[magnitude]; in put()
213 if (data.multipliers[magnitude] == 0) { in put()
214 data.multipliers[magnitude] = multiplier; in put()
220 assert data.multipliers[magnitude] == multiplier; in put()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_tile.cc41 const T* in_data, const M* multipliers, in TileOneDimension() argument
45 CopyMultipleTimes(in_data, dimension_size, multipliers[dimension], in TileOneDimension()
49 dimension_size * static_cast<int>(multipliers[dimension])); in TileOneDimension()
57 TileOneDimension(in_dimensions, copy_from_data, multipliers, in TileOneDimension()
65 multipliers[dimension] - 1, in TileOneDimension()
68 total_tiled_stride_size * multipliers[dimension]); in TileOneDimension()
/external/icu/icu4c/source/i18n/
Dnumber_compact.cpp58 CompactData::CompactData() : patterns(), multipliers(), largestMagnitude(0), isEmpty(TRUE) { in CompactData()
104 return multipliers[magnitude]; in getMultiplier()
162 int8_t multiplier = data.multipliers[magnitude]; in put()
202 if (data.multipliers[magnitude] == 0) { in put()
203 data.multipliers[magnitude] = multiplier; in put()
209 U_ASSERT(data.multipliers[magnitude] == multiplier); in put()
Dnumber_compact.h37 int8_t multipliers[COMPACT_MAX_DIGITS + 1]; variable
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dscatter_add_ndim_op.cc80 std::vector<int32> multipliers; in Compute() local
88 multipliers.push_back(m); in Compute()
96 start_index += indices(i, j) * multipliers[j]; in Compute()
/external/toolchain-utils/fdo_scripts/
Ddivide_and_merge_profiles.py23 def __init__(self, inputs, output, chunk_size, merge_program, multipliers): argument
28 self._multipliers = multipliers
128 options.merge_program, options.multipliers)
Ddivide_and_merge_profiles_test.py112 multipliers = [str(random.randint(0, num_profiles)) \
114 args = '--multipliers=%s' % ','.join(multipliers)
/external/tensorflow/tensorflow/python/ops/
Dlinalg_grad.py52 multipliers = array_ops.reshape(grad * c,
55 return multipliers * a_adj_inv
129 multipliers = array_ops.reshape(
131 return multipliers * a_adj_inv
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py582 multipliers = [1., 1000.]
590 learning_rate=learning_rate, gradient_multiplier=multipliers[0])
607 learning_rate=learning_rate, gradient_multiplier=multipliers[1])
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py928 multipliers = [1., 1000.]
937 learning_rate=learning_rate, gradient_multiplier=multipliers[0])
946 learning_rate=learning_rate, gradient_multiplier=multipliers[1])
/external/skqp/docs/
DSkColor4f_Reference.bmh117 #Param scale SkRGBA4f component multipliers ##
Dspelling.txt141 moves moving multiple multiple-pass multiplied multiplier multipliers multiplies multiply
/external/skia/docs/
DSkColor4f_Reference.bmh117 #Param scale SkRGBA4f component multipliers ##
Dspelling.txt141 moves moving multiple multiple-pass multiplied multiplier multipliers multiplies multiply
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dcmdline_reference.md85 `std_dev_value`, determine the fixed-point multipliers used in the
/external/u-boot/drivers/mmc/
Dmmc.c1424 static const u8 multipliers[] = { variable
2234 mult = multipliers[((cmd.response[0] >> 3) & 0xf)]; in mmc_startup()
/external/ltp/testcases/kernel/io/disktest/
DCHANGELOG284 Updates to parsing routines for user input. Added multipliers for -S and
/external/skqp/site/user/api/
DSkColor4f_Reference.md202 <td><a href='SkColor4f_Reference#SkRGBA4f'>SkRGBA4f</a> component multipliers</td>
/external/skia/site/user/api/
DSkColor4f_Reference.md202 <td><a href='SkColor4f_Reference#SkRGBA4f'>SkRGBA4f</a> component multipliers</td>
/external/v8/src/arm64/
Dassembler-arm64.cc4577 static const uint64_t multipliers[] = { in IsImmLogical() local
4588 (static_cast<size_t>(multiplier_idx) < arraysize(multipliers))); in IsImmLogical()
4589 uint64_t multiplier = multipliers[multiplier_idx]; in IsImmLogical()

12