Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 181 for SmallVector (0.2 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tf2xla/transforms/utils.h

      // Block arguments are scalars of the given element type.
      Type type = RankedTensorType::get(/*shape=*/{}, element_type);
      Location loc = body->getLoc();
      block->addArguments({type, type}, SmallVector<Location, 2>(2, loc));
    
      auto reducer =
          builder->create<Op>(loc, block->getArgument(0), block->getArgument(1));
      builder->create<ReturnOp>(loc, reducer.getResult());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    #include <utility>
    
    #include "llvm/ADT/ArrayRef.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/IR/Attributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/infeed_ops_xla_adjust_layout.cc

     public:
      void runOnOperation() override;
    
     private:
      static void runOnInfeedOp(::mlir::mhlo::InfeedOp op) {
        OpBuilder builder(op.getContext());
        SmallVector<Type> result_types(op.getResultTypes().begin(),
                                       op.getResultTypes().end());
        if (!op->getAttr("layout")) {
          auto layout = mlir::GetTPUInfeedLayout(result_types, builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

                                  qmin, qmax)) {
        return (emitError(loc, "unsupported FakeQuant number of bits: ") << numBits,
                nullptr);
      }
    
      SmallVector<double, 4> scales;
      SmallVector<int64_t, 4> zeroPoints;
      scales.reserve(axisSize);
      zeroPoints.reserve(axisSize);
      for (size_t axis = 0; axis != axisSize; ++axis) {
        double rmin = rmins[axis];
        double rmax = rmaxs[axis];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc

    #include <string>
    #include <vector>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/python/jax_to_tfl_flatbuffer.cc

    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/strings/str_join.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/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top