Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 244 for StringRef (0.23 sec)

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

    // and _xla_compile_device_type=TPU should be replaced with _tpu_replicate=X.
    // This ensures the unified attributes not get exposed outside of the MLIR
    // bridge with V1 pipeline in some cases.
    
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Debug.h"
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.h

    namespace tensorflow {
    namespace tf_mlrt {
    
    class TensorflowMlrtDialect : public mlir::Dialect {
     public:
      explicit TensorflowMlrtDialect(mlir::MLIRContext *context);
      static llvm::StringRef getDialectNamespace() { return "tf_mlrt"; }
    
      mlir::Type parseType(mlir::DialectAsmParser &parser) const override;
      void printType(mlir::Type type, mlir::DialectAsmPrinter &os) const override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_util.cc

        if (IsArgConsumedByFallback(func, arg_index)) action(arg_index);
      }
    }
    
    void ForEachArgConsumedByFallback(
        mlir::ModuleOp module,
        llvm::function_ref<void(llvm::StringRef func_name, int arg_index)> action) {
      for (auto func : module.getOps<mlir::func::FuncOp>()) {
        ForEachArgConsumedByFallback(
            func, [func_name = func.getName(), action](int arg_index) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace mlir {
    namespace tf_executor {
    
    class TensorFlowExecutorDialect : public Dialect {
     public:
      static StringRef getDialectNamespace() { return "tf_executor"; }
      explicit TensorFlowExecutorDialect(MLIRContext *context);
    
      // Parses a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSLATE_EXPORT_GRAPHDEF_H_
    
    #include "absl/base/attributes.h"
    #include "absl/container/flat_hash_set.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/import_utils.cc

    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/platform/protobuf.h"
    
    namespace tensorflow {
    namespace {
    inline llvm::StringRef StringViewToRef(absl::string_view view) {
      return {view.data(), view.size()};
    }
    }  // namespace
    
    Status LoadProtoFromBuffer(absl::string_view input, protobuf::Message* proto) {
      // Attempt to parse as text.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/infeed_ops_xla_adjust_layout.cc

    #include <algorithm>
    #include <cstdint>
    #include <memory>
    #include <numeric>
    #include <vector>
    
    #include "absl/types/span.h"
    #include "llvm/ADT/StringRef.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: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"
    
    namespace mlir {
    namespace tf_executor {
    
    namespace {
    constexpr llvm::StringRef kNestedModule = "_tpu_v1_compat_outlined";
    constexpr llvm::StringRef kOutlinedFuncPrefix = "_tpu_v1_compat_outlined_func";
    
    #define GEN_PASS_DEF_TPUBRIDGEEXECUTORISLANDOUTLININGPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TF2XLA_API_V2_TF_EXECUTOR_TO_GRAPH_H_
    #define TENSORFLOW_COMPILER_MLIR_TF2XLA_API_V2_TF_EXECUTOR_TO_GRAPH_H_
    
    #include "absl/container/flat_hash_set.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_pass.h

      virtual void runOnFunction() = 0;
    
      void runOnOperation() final {
        if (!getFunction().isExternal()) runOnFunction();
      }
    
     protected:
      // Returns the derived pass name.
      StringRef getName() const override { return llvm::getTypeName<T>(); }
    
      // A clone method to create a copy of this pass.
      std::unique_ptr<Pass> clonePass() const override {
        return std::make_unique<T>(*static_cast<const T*>(this));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top