- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for targs_values (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
// the extras like the bias etc. auto attr = TypeAttr::get(getElementTypeOrSelf(contraction.getType())); SmallVector<Attribute, 4> targs_values(operands.size() - 2, attr); ArrayAttr targs_attr = ArrayAttr::get(context, targs_values); attrs.push_back( NamedAttribute(StringAttr::get(context, "TArgs"), targs_attr));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
void TransposeRecursively(const ArrayRef<float> original_values, const MutableArrayRef<float> target_values, SmallVector<int64_t>& current_indices) const { // Map an element from `original_values` to `target_values` when a set of // indices is formed. if (current_indices.size() == rank_) { const int64_t original_index =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/converter_gen.cc
auto *arg_values = def->getValueAsDag("arguments"); for (unsigned i = 0, e = arg_values->getNumArgs(); i != e; ++i) { auto arg = arg_values->getArg(i); DefInit *arg_def = dyn_cast<DefInit>(arg); if (!arg_def) continue; if (arg_def->getDef()->isSubClassOf(attr_type)) { StringRef arg_name = arg_values->getArgNameStr(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py
break try: arg_name = func_match.group(1) arg_values = ast.literal_eval(func_match.group(2)) loop_template = string.Template(func_match.group(3)) except Exception as e: # pylint: disable=broad-except raise ValueError('The loop template is in wrong format') from e replacement_text = '' for arg_value in arg_values: arg_dict = {arg_name: arg_value} replacement_text += '\\n'
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 20 01:38:06 UTC 2022 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
static final double MANY_VALUES_MAX = 555.555; static final double MANY_VALUES_MIN = -44.44; // Doubles which will overflow if summed: static final double[] LARGE_VALUES = {Double.MAX_VALUE, Double.MAX_VALUE / 2.0}; static final double LARGE_VALUES_MEAN = 0.75 * Double.MAX_VALUE; static final ImmutableList<Double> OTHER_MANY_VALUES =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 09 22:49:56 UTC 2023 - 22.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
TF::FakeQuantWithMinMaxVarsOp &fakequant_op) const { ::llvm::SmallVector<Value, 4> target_values; ::llvm::SmallVector<NamedAttribute, 4> target_attrs; target_values.push_back((*new_reorder_op.getODSResults(0).begin())); target_values.push_back((*min.begin())); target_values.push_back((*max.begin())); if (auto tmpAttr = num_bits) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0)