Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for SmallVector (0.15 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc

    // tensor.
    DenseFPElementsAttr GetCorrectionMatrix(Builder& builder, CompositeOp op) {
      const TorchAvgPoolData pool = GetTorchAvgPoolData(op);
    
      llvm::SmallVector<int64_t, 4> nhwc_out_shape(4);
      nhwc_out_shape[0] = 1;  // Broadcast batch.
      nhwc_out_shape[1] = pool.h_out;
      nhwc_out_shape[2] = pool.w_out;
      nhwc_out_shape[3] = 1;  // Broadcast channels.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    
    #include "absl/memory/memory.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Traits.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
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.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 Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

    #include <algorithm>
    #include <functional>
    #include <memory>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_CONVERT_TENSOR_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_CONVERT_TENSOR_H_
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_attributes.h"
    #include "tensorflow/core/framework/tensor.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    
    #include "absl/strings/str_cat.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/Block.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/debug/debug_test.cc

    #include <cstdlib>
    #include <memory>
    #include <string>
    #include <vector>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #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: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

      return !device_attr || device_attr.getValue().empty();
    }
    
    llvm::StringMap<SmallVector<Cluster>> GetClusters(ModuleOp module) {
      TF::SideEffectAnalysis side_effect_analysis(module);
      auto main_func = module.lookupSymbol<func::FuncOp>("main");
      const TF::SideEffectAnalysis::Info& info =
          side_effect_analysis.GetAnalysisForFunc(main_func);
      llvm::StringMap<SmallVector<Cluster>> clusters = BuildAllClusters(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      }
    }
    
    void PrintOpStatsPass::PrintSummary() {
      *os_ << "Summary on the non-converted ops:\n";
      *os_ << "---------------------------------\n";
      SmallVector<StringRef, 64> sorted_op(op_with_dialect_count_.keys());
      SmallVector<StringRef, 64> sorted_dialect(dialect_count_.keys());
      llvm::sort(sorted_op);
      llvm::sort(sorted_dialect);
    
      *os_ << " * Accepted dialects: ";
      int num_dialect = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_ATTRIBUTE_UTILS_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_UTILS_ATTRIBUTE_UTILS_H_
    
    #include <string>
    #include <utility>
    
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/tf2xla/tf2xla_defs.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top