Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for iterator_range (0.43 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      }
      return false;
    }
    
    SmallVector<func::FuncOp> GetSortedFunctions(ModuleOp module_op) {
      auto iterator_range = module_op.getOps<func::FuncOp>();
      SmallVector<func::FuncOp> func_ops(iterator_range.begin(),
                                         iterator_range.end());
      absl::c_sort(func_ops, [](func::FuncOp op1, func::FuncOp op2) {
        return op1.getName() < op2.getName();
      });
      return func_ops;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/Sequence.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSwitch.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Traits.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_remaining_ops.cc

    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/Sequence.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSwitch.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Traits.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 20:05:58 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

    //
    // Returns true iff the entire block could be brought in topological order.
    bool PartitionedTopologicalSort(
        func::FuncOp func, Block *block,
        const std::function<int(Operation *)> &partition) {
      llvm::iterator_range<Block::iterator> ops = block->without_terminator();
      if (ops.empty()) {
        return true;
      }
    
      int num_all_ops = 0;
      int num_part_ops = 0;
      int num_partitions_after = 0;
      int num_partitions_before = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

    ==============================================================================*/
    
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallPtrSet.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/UseDefLists.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

    #include <tuple>
    #include <utility>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/Debug.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: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

    class CoarseningAnalysis {
     public:
      // Compute the coarsening analysis over the given graph.
      explicit CoarseningAnalysis(GraphOp graph);
    
      // Returns a list of all of the mergable islands found in the graph.
      iterator_range<
          llvm::filter_iterator<SmallVector<MergedIsland>::const_iterator,
                                function_ref<bool(const MergedIsland&)>>>
      GetMergableIslands() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    #include <cstddef>
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/raw_ostream.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: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallPtrSet.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/Debug.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 Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top