Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Enumerated (0.33 sec)

  1. src/cmd/internal/obj/ppc64/asm9.go

    // instruction. Unused arguments and fields are not explicitly enumerated, and
    // should not be listed for clarity. Unused arguments and values should always
    // assume the default value for the given type.
    //
    // optab does not list every valid ppc64 opcode, it enumerates representative
    // operand combinations for a class of instruction.  The variable oprange indexes
    // all valid ppc64 opcodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                " vs ", bound_input_base, ")");
          }
          for (const auto& index_path : llvm::enumerate(input_index_paths)) {
            func.setArgAttr(index_path.index(), kTfSavedModelIndexPathAttr,
                            index_path.value());
          }
    
          for (const auto& bound_input :
               llvm::enumerate(concrete_function.bound_inputs())) {
            int arg_index = bound_input_base + bound_input.index();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          paddings_value.getNumElements() != permutation.size() * 2)
        return failure();
    
      SmallVector<int32_t, 8> shuffled_paddings(paddings_value.getNumElements());
      for (const auto &index_pair :
           llvm::enumerate(paddings_value.getValues<APInt>())) {
        size_t outer_idx = index_pair.index() / 2;
        size_t inner_idx = index_pair.index() % 2;
    
        shuffled_paddings[permutation[outer_idx] * 2 + inner_idx] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        if (input_names.size() != fn.getNumArguments()) {
          fn.emitWarning() << "invalid entry function specification";
          return;
        }
        for (const auto& it : llvm::enumerate(fn.getArguments())) {
          name_mapper_.InitOpName(it.value(), input_names[it.index()].trim());
        }
        *has_input_attr = true;
      }
    
      if (auto str =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        const int64_t loc = result_dim_sizes_loc[dim];
        if (loc == ShapedType::kDynamic) return std::string("output");
        return llvm::formatv("operand #{0}", loc).str();
      };
    
      for (const auto& operand : llvm::enumerate(operand_types)) {
        auto operand_type = operand.value().dyn_cast<RankedTensorType>();
        if (!operand_type) {
          result_dim_sizes[axis] = ShapedType::kDynamic;
          continue;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        if (mlir::isa<IntegerType>(element_ty))
          return splat.getSplatValue<llvm::APInt>().getSExtValue() == 0;
        return false;
      };
    
      for (const auto& it : llvm::enumerate(operands)) {
        if (IsKnownZero(it.value())) continue;
        if (non_zero_index != -1) {
          // Don't fold if we find more than 1 non-zero operand.
          return {};
        }
        non_zero_index = it.index();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

          return failure();
        }
    
        int64_t offset_dims_len = offset_dims.size();
        // Check for condition 3.
        for (const auto& [index, offset_dim] : llvm::enumerate(offset_dims)) {
          if (offset_dim != output_rank - offset_dims_len + index) {
            return failure();
          }
        }
    
        ArrayRef<int64_t> slice_sizes = op.getSliceSizes();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      // Set dimension sizes specified by broadcast_dimensions.
      ArrayRef<int64_t> input_shape =
          mlir::cast<ShapedType>(input.getType()).getShape();
      for (auto x : llvm::enumerate(broadcast_dimensions)) {
        expanded_shape[x.value().getSExtValue()] =
            rewriter.getI64IntegerAttr(input_shape[x.index()]);
      }
    
      // Create the expanded type wrapped in a arith::ConstantOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          shape.append(rhs_shape_type.getShape().begin(),
                       rhs_shape_type.getShape().end());
          refined_shape = true;
        }
      } else if (rhs_shape_type.hasRank()) {
        for (auto shape_elts : llvm::enumerate(
                 llvm::zip(lhs_shape_type.getShape(), rhs_shape_type.getShape()))) {
          if (ShapedType::isDynamic(std::get<0>(shape_elts.value())) &&
              !ShapedType::isDynamic(std::get<1>(shape_elts.value()))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (!unpack_op || unpack_op.getNumResults() != concat_op.getNumOperands()) {
          return failure();
        }
        for (const auto &index_and_value : llvm::enumerate(concat_op.getValues())) {
          if (index_and_value.value() !=
              unpack_op.getResult(index_and_value.index())) {
            return failure();
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top