Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for targs_values (0.1 sec)

  1. 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)
  2. 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)
Back to top