Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 345 for SmallVector (0.33 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

    #include <string>
    #include <unordered_map>
    
    #include "absl/log/log.h"
    #include "absl/status/statusor.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/Debug.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "llvm/Support/raw_ostream.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

      // If there is no valid next index, returns `std::nullopt`.
      //
      // `index` should have the same size as `shape`.
      // Each value `dim` in `index` should be in [0, shape[dim]).
      static std::optional<SmallVector<int64_t>> NextTensorIndex(
          SmallVector<int64_t> index, ArrayRef<int64_t> shape, int64_t fixed_axis) {
    #ifndef NDEBUG
        assert(shape.size() == index.size());
        assert(fixed_axis < shape.size());
        assert(fixed_axis >= 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

      auto fn = getOperation();
      OpBuilder builder(fn.getContext());
    
      absl::flat_hash_set<std::string> target_op_names(target_ops_.begin(),
                                                       target_ops_.end());
    
      llvm::SmallVector<Operation *, 4> custom_ops;
      fn.walk([&](Operation *op) {
        // Skips already imported ops that are imported as CustomTfOp.
        if (op->getParentOfType<CustomTfOp>()) return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

    #include <vector>
    
    #include "absl/container/inlined_vector.h"
    #include "absl/memory/memory.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseSet.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/SparseTensor/IR/SparseTensor.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <vector>
    
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/CommandLine.h"
    #include "llvm/Support/InitLLVM.h"
    #include "llvm/Support/PrettyStackTrace.h"
    #include "llvm/Support/Regex.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 11:18:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

    // partitioned call ops.
    struct PartitionedCallTensorArrayOpsInfo {
      bool signature_change;
      func::FuncOp decomposed_callee;
      llvm::SmallVector<std::pair<int64_t, llvm::SmallVector<string, 4>>, 4>
          arg_grads;
      llvm::SmallVector<std::pair<int64_t, int64_t>, 4> ret_forward_input;
    };
    
    // Updates a called function's input signature by adjusting resource types, and
    // adding required gradient arguments.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/SCCIterator.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/SmallSet.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Analysis/CallGraph.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 May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

    LogicalResult RegionControlFlowToFunctional::ConvertCaseOp(
        SymbolTableCollection& symbol_table, CaseRegionOp case_region) {
      llvm::SmallVector<mlir::Attribute, 2> branch_symbols;
    
      // Collect external values that are used within all branches.
      llvm::SmallVector<Value, 4> extern_values =
          CollectExternValues(case_region.getRegions());
    
      // These external values need to be added as inputs to the generated Case. The
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.cc

    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/SourceMgr.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Diagnostics.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

                                           llvm::SmallVector<Value>& outputs);
    
      // Given a translated function with a single return value, unpack the tuple
      // results.
      mlir::LogicalResult UnpackTupleResults(mhlo::TupleOp tuple_result,
                                             llvm::SmallVector<Value>& outputs);
    
      // Tries to legalize the specified TensorFlow op, if supported.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top