Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 147 for SmallVector (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

     public:
      // Implements method required for `ResourceHandleAllocatorInterface`.
      llvm::SmallVector<mlir::TF::ResourceHandleValueAndId>
      GetResourceHandleValueAndIdList(
          llvm::SmallDenseMap<mlir::TF::ResourceHandle, int64_t>&
              resource_handle_id_map,
          int64_t& next_id) {
        llvm::SmallVector<mlir::TF::ResourceHandleValueAndId> resource_vec;
        for (Value resource :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

          parse_options);
    }
    ParseResult ExecuteOpWithAllocator::parse(OpAsmParser &parser,
                                              OperationState &result) {
      auto &builder = parser.getBuilder();
      llvm::SmallVector<mlir::OpAsmParser::UnresolvedOperand, 1> allocator;
      if (parser.parseOperandList(allocator,
                                  /*requiredOperandCount=*/1,
                                  mlir::OpAsmParser::Delimiter::Paren))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/lite/quantization/quantization_context.h"
    
    #include <vector>
    
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Debug.h"
    #include "llvm/Support/ErrorHandling.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_CLUSTER_OPS_BY_POLICY_H_
    
    #include <optional>
    #include <type_traits>
    
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

    #include <utility>
    
    #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/StringMap.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/pick_subgraphs.cc

    #include <string>
    #include <unordered_map>
    #include <vector>
    
    #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 "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 19.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

    };
    
    // Returns a vector of all tf.WhileOp(s) which use func as while body. If any of
    // the uses is as a while condition, an empty vector is returned.
    SmallVector<TF::WhileOp> GetWhileCallers(func::FuncOp func,
                                             SymbolUserMap& symbol_map) {
      SmallVector<TF::WhileOp> while_callers;
      for (auto user : symbol_map.getUsers(func)) {
        if (auto while_caller = dyn_cast<TF::WhileOp>(user)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc

    //
    // Requires the function to provide values for each of the block arguments and
    // they should be pair-wise compatible for tensor cast.
    static llvm::SmallVector<Value, 4> PrepareValsForJump(
        Location loc, const std::function<Value(int)>& get_val, Block* block,
        OpBuilder* builder) {
      llvm::SmallVector<Value, 4> result;
      int num_vals = block->getNumArguments();
      result.reserve(num_vals);
      for (int i = 0; i < num_vals; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 13 11:42:59 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

        }
      }
      return {};
    }
    
    // Eliminate local variables that are only assigned to but never read, and thus
    // are dead.
    void RemoveDeadLocalVariables(Block &block) {
      llvm::SmallVector<LocalVarOp, 8> local_vars;
      for (Operation &op : block) {
        if (auto local_var = IsLocalVarOp(op)) {
          local_vars.push_back(local_var.value());
        }
      }
      for (auto local_var : local_vars) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/container/flat_hash_set.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top