Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 345 for SmallVector (1.26 sec)

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

        RankedTensorType word_type = RankedTensorType::get({}, state_element_type);
        auto unpacked = rewriter.create<UnpackOp>(
            loc, SmallVector<Type, 4>(state_size, word_type), state, 0);
        Value key = unpacked.getResult(counter_size);
    
        SmallVector<Value, 4> counter;
        for (int i = 0; i < counter_size; ++i) {
          counter.push_back(unpacked.getResult(i));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/visitor.h"
    
    #include <utility>
    
    #include "llvm/ADT/DenseSet.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/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc

    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h"
    
    #include <cstdint>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/Sequence.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypeInterfaces.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 02:29:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/test_side_effect_analysis.cc

    #include <cstddef>
    #include <cstdint>
    #include <string>
    #include <utility>
    
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/Support/Debug.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_splits.cc

      if (!attr) return false;
      return !attr.getValue().empty();
    }
    
    // Returns the predecessors of `op` when `op`'s predecessors are wrapped by
    // islands.
    llvm::SmallVector<Operation*> IslandPredecessors(Operation* op) {
      llvm::SmallVector<Operation*> predecessors;
      for (Value operand : op->getOperands()) {
        if (Operation* pred = operand.getDefiningOp()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 18:44:34 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc

    // Note that side-effecting ops are not correctly handled yet.
    
    #include <memory>
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/MapVector.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Block.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/IRMapping.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 13:30:21 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.h"
    
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

            flags, storage_type, expressed_type, scales.getValues<float>()[0],
            zero_points.getValues<int32_t>()[0], storage_type_min,
            storage_type_max);
      } else {
        SmallVector<double> scales_vec;
        SmallVector<int64_t> zero_points_vec;
        for (auto elem : scales.getValues<float>()) scales_vec.push_back(elem);
        for (auto elem : zero_points.getValues<int32_t>())
          zero_points_vec.push_back(elem);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

    template <class TerminatorOp>
    llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
    AddTensorListSizesToTerminator(
        Block& block, const llvm::SmallDenseMap<Value, SizeInfo>& buffer_to_size) {
      auto old_terminator = block.getTerminator();
      auto new_outputs = llvm::to_vector<8>(old_terminator->getOperands());
      llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
          output_buffer_to_size;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top