Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 133 for StringRef (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

      DenseSet<Region*> discovered_;
      // Identifiers about mutable variables.
      // All variables are identified by (device, container, shared_name).
      DenseSet<std::tuple<llvm::StringRef, llvm::StringRef, llvm::StringRef>>
          mutable_variables_;
    };
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_input_dialect_to_executor_pass_test.mlir

    // -----
    
    // CHECK-LABEL: func @testNoClusterFuncOpPasses
    func.func @testNoClusterFuncOpPasses(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> {
      %0 = "tf.Identity"(%arg0) : (tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string>
      func.return %0 : tensor<4x2x!tf_type.string>
    }
    
    // -----
    
    func.func @_func(%arg0: tensor<i32>) -> tensor<i32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 22:07:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

    }
    
    // Returns ID for identifying a resource.
    std::tuple<StringRef, StringRef, StringRef> GetResourceKey(Operation* op) {
      StringRef device;
      if (auto attr = op->getAttrOfType<StringAttr>("device")) {
        device = attr.getValue();
      }
    
      StringRef container;
      if (auto attr = op->getAttrOfType<StringAttr>("container")) {
        container = attr.getValue();
      }
    
      StringRef shared_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h

    struct TFRTSavedModelSignatureInfo {
      llvm::StringRef func_name;
    
      // The following are metadata for inputs.
      llvm::ArrayRef<llvm::StringRef> input_names;
      llvm::ArrayRef<
          std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>>
          input_specs;
      llvm::ArrayRef<llvm::StringRef> input_devices;
    
      // The following are metadata for outputs.
      llvm::ArrayRef<llvm::StringRef> output_names;
      llvm::ArrayRef<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 17:42:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.h

    inline constexpr StringRef kFusedFunctionAttr = "tf_quant.composite_function";
    // The keyword to detect if this is a `NullAttribute`.
    inline constexpr StringRef kNullAttributeValue = "N/A";
    
    // Prefixes attached to lifted functions.
    constexpr StringRef kQuantizedFuncPrefix = "quantized_";
    constexpr StringRef kCompositeFuncPrefix = "composite_";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.h

    #include "absl/base/attributes.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    // Given the pass manager, add Bridge passes to cluster the replicated input
    // graphs.
    void AddReplicatedBridgeClusteringPipelinePasses(
        mlir::OpPassManager& pm, llvm::StringRef module_name = llvm::StringRef());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:39:15 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

        quantization_method_ = other.quantization_method_;
        op_set_ = other.op_set_;
      }
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in the textual format (on
        // the commandline for example).
        return "quant-insert-quantized-functions";
      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

    ==============================================================================*/
    
    #include <memory>
    #include <string>
    
    #include "absl/log/log.h"
    #include "absl/status/status.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/Pass/PassManager.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h

    #include <memory>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFTPU {
    
    // Creates a pass that rewrites `tf_device.launch_func` on TPUs into TPU runtime
    // ops.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateTPURewritePass(
        llvm::StringRef module_name = llvm::StringRef());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.h

    //   successful.
    tensorflow::Status RunFunctionTf2xlaClusteringBridge(
        mlir::ModuleOp module, bool is_supported_by_replicated_brige,
        bool is_in_fallback_enabled_mode,
        llvm::StringRef module_name = llvm::StringRef());
    }  // namespace v2
    }  // namespace tf2xla
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 23:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top