Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 147 for SmallVector (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

            loc, split_dimension_type, split_dimension_attr);
    
        // Split along each batch.
        SmallVector<int64_t, 3> slice_size = {1, num_rows, num_cols};
        Type slice_result_type = RankedTensorType::get(slice_size, element_type);
        llvm::SmallVector<Type, 4> output_types(batch_size, slice_result_type);
        auto split_op = rewriter.create<TF::SplitOp>(loc, output_types,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc

    #include <utility>
    #include <vector>
    
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/CommandLine.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        absl::flat_hash_set<Node*>* control_ret_nodes) {
      mlir::Block& block = function.front();
    
      // Extract input & output names if set.
      llvm::SmallVector<llvm::StringRef, 2> input_names;
      llvm::SmallVector<llvm::StringRef, 2> output_names;
      llvm::SmallVector<llvm::StringRef, 2> unique_output_names;
      auto dict_attr =
          function->getAttrOfType<mlir::DictionaryAttr>(kEntryFuncAttr);
      if (dict_attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        absl::flat_hash_set<Node*>* control_ret_nodes) {
      mlir::Block& block = function.front();
    
      // Extract input & output names if set.
      llvm::SmallVector<llvm::StringRef, 2> input_names;
      llvm::SmallVector<llvm::StringRef, 2> output_names;
      llvm::SmallVector<llvm::StringRef, 2> unique_output_names;
      auto dict_attr =
          function->getAttrOfType<mlir::DictionaryAttr>(kEntryFuncAttr);
      if (dict_attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

            target_opset_(target_opset) {}
    
      LogicalResult matchAndRewrite(quantfork::DequantizeCastOp op,
                                    PatternRewriter& rewriter) const override {
        SmallVector<Operation*, 4> quantizing_ops;
        auto users = op.getResult().getUsers();
        quantizing_ops.append(users.begin(), users.end());
    
        bool changed = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

    #include <vector>
    
    #include "absl/algorithm/container.h"
    #include "absl/strings/str_replace.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/MapVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      if (!dnums.lhs.empty()) {
        needs_reduce_sum = true;
        llvm::SmallVector<int32_t> reduce_idcs(dnums.lhs.size());
        for (int64_t i = 0; i < dnums.lhs.size(); ++i) {
          reduce_idcs[i] = dnums.lhs[i];
        }
    
        lhs = createSumOp(lhs, lhs.getLoc(), reduce_idcs, &rewriter);
      }
    
      llvm::SmallVector<int32_t> lhs_transpose;
      lhs_transpose.reserve(dnums.lhs_out.size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      // threshold, warn the user that their model may run slowly.
      llvm::SmallVector<Operation*, 8> outside_compile_ops;
      module->walk([&](Operation* op) {
        if (op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr)) {
          outside_compile_ops.push_back(op);
        }
      });
    
      if (outside_compile_ops.size() > kTooManyOutsideCompileRegionThreshold) {
        llvm::SmallVector<std::string, kOpDetailCount> op_info;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

    #include <string>
    #include <unordered_set>
    #include <vector>
    
    #include "absl/status/statusor.h"
    #include "absl/strings/str_split.h"
    #include "absl/types/span.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/CommandLine.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "llvm/Support/SourceMgr.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/debug/debug.cc

    #include "absl/container/flat_hash_set.h"
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_join.h"
    #include "absl/time/clock.h"
    #include "absl/time/time.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top