Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 244 for StringRef (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc

    // to represent calling a TF host callback function.
    constexpr llvm::StringRef kTfTargetName = "tf.call_tf_function";
    
    // `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its
    // string attribute `caller_name` to the TF host callback function's name.
    constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config";
    constexpr llvm::StringRef kCalledFuncAttrName = "called_func";
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_analyzer_test_pass.cc

     public:
      void runOnOperation() override;
    };
    
    // A set of values that identifies a resource.
    struct ResourceKey {
      StringRef device;
      StringRef container;
      StringRef shared_name;
    };
    
    ResourceKey GetResourceKey(TF::VarHandleOp var_handle_op) {
      ResourceKey resource_key;
    
      if (auto attr = var_handle_op->getAttrOfType<StringAttr>("device")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:21:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.h

    #ifndef TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_UTILS_TF_TYPE_UTILS_H_
    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_UTILS_TF_TYPE_UTILS_H_
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.h"
    
    #include "llvm/ADT/STLFunctionalExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/Twine.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 22:13:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

    #include "xla/xla_data.pb.h"
    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    
    namespace tensorflow {
    
    inline constexpr llvm::StringRef kInputShardingAttr =
        "input_sharding_configuration";
    inline constexpr llvm::StringRef kOutputShardingAttr =
        "output_sharding_configuration";
    
    // Parses the sharding string. This sharding string can be binary (serialized)
    // or human readable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

    namespace mlir {
    namespace TFR {
    
    class RewriteQuantizedIOPass
        : public PassWrapper<RewriteQuantizedIOPass, OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final { return "tfr-rewrite-quantized-io"; }
    
      StringRef getDescription() const final {
        return "Replaces operands and results that has quantized type with their "
               "storage types.";
      }
      void runOnOperation() override;
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/utils/utils.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tfr/utils/utils.h"
    
    #include <string>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSet.h"
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.h"
    
    namespace mlir {
    namespace TFR {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

    }  // namespace
    
    class DropSavedModelSemanticsPass
        : public PassWrapper<DropSavedModelSemanticsPass, OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final { return "drop-savedmodel-semantics"; }
      StringRef getDescription() const final {
        return "Drops all tf_saved_model attributes";
      }
    
      // NOTE: The implementation is mostly copypasted from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.h"
    
    #include <memory>
    #include <string>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h"
    #include "tensorflow/core/util/debug_data_dumper.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 14:26:22 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc

    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.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: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top