Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 244 for StringRef (0.1 sec)

  1. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

    #include "tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.h"
    
    #include <string>
    #include <vector>
    
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/MemoryBuffer.h"
    #include "llvm/Support/SMLoc.h"
    #include "llvm/Support/SourceMgr.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/graph_optimization_pass.h

    // graph optimizers) into a single MLIR optimization pass.
    class MlirGraphOptimizationPass : public ::tensorflow::MlirOptimizationPass {
     public:
      llvm::StringRef name() const override { return "graph_optimization"; }
    
      ::tensorflow::MlirOptimizationPassState GetPassState(
          const ::tensorflow::DeviceSet* device_set,
          const ::tensorflow::ConfigProto& config_proto,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 23:21:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/xla_sharding_util_test.cc

    #include <string>
    
    #include <gtest/gtest.h>
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "xla/xla_data.pb.h"
    
    inline constexpr llvm::StringRef kXlaShardingAttrName = "_XlaSharding";
    
    namespace tensorflow {
    namespace {
    
    TEST(DecodeShardingAttributeTest, CheckInvalidString) {
      xla::OpSharding sharding;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.h

    namespace mlir {
    namespace tfd {
    
    // Dialect for TFRT delegate operations.
    class RuntimeFallbackDialect : public Dialect {
     public:
      explicit RuntimeFallbackDialect(MLIRContext* context);
      static StringRef getDialectNamespace() { return "tfd"; }
    };
    
    }  // namespace tfd
    }  // namespace mlir
    
    #define GET_OP_CLASSES
    #include "tensorflow/compiler/mlir/tfrt/runtime_fallback_ops.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.h

    namespace tensorflow {
    namespace tf_mlrt_tpu {
    
    class TensorflowMlrtTpuDialect : public mlir::Dialect {
     public:
      explicit TensorflowMlrtTpuDialect(mlir::MLIRContext *context);
      static llvm::StringRef getDialectNamespace() { return "tf_mlrt_tpu"; }
    };
    
    }  // namespace tf_mlrt_tpu
    }  // namespace tensorflow
    
    #define GET_OP_CLASSES
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/validators.h

    //   * has an attribute with the given `name`,
    //   * and the attribute is an integer list of the form [1, X, Y, 1],
    // and writes X, Y as 32-bit integer attribute to `x`, `y`.
    bool TFIntListIs1XY1(Operation *op, StringRef name, IntegerAttr *x,
                         IntegerAttr *y);
    
    // Returns true if the attribute is an integer list of the form [1, X, Y, 1].
    bool TFIntListIs1XY1(Attribute attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc

    #include <optional>
    #include <string>
    #include <unordered_set>
    
    #include "absl/container/flat_hash_set.h"
    #include "absl/log/log.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/Twine.h"
    #include "llvm/Support/Debug.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/test_utils.cc

    #include "tensorflow/compiler/mlir/tf2xla/transforms/test_utils.h"
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/register_common_dialects.h"
    #include "tensorflow/compiler/mlir/tensorflow/dialect_registration.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.h

    namespace tfrt {
    namespace fallback_sync {
    
    // Dialect for fallback operations.
    class FallbackSyncDialect : public Dialect {
     public:
      explicit FallbackSyncDialect(MLIRContext *context);
      static StringRef getDialectNamespace() { return "tfrt_fallback_sync"; }
    };
    
    }  // namespace fallback_sync
    }  // namespace tfrt
    
    #define GET_OP_CLASSES
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 19 21:12:59 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

    }
    
    struct GetOpCostPass
        : mlir::PassWrapper<GetOpCostPass, OperationPass<func::FuncOp>> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(GetOpCostPass)
    
      llvm::StringRef getArgument() const final { return "tfl-get-op-cost"; }
      llvm::StringRef getDescription() const final {
        return "Get cost for every op";
      }
      void runOnOperation() override;
    };
    
    void GetOpCostPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top