Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for StringRef (0.14 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      void CountOp(DenseMap<StringRef, llvm::StringMap<int64_t>> &op_count_map,
                   StringRef op_name, StringRef dtype);
    
     private:
      llvm::StringMap<int64_t> op_with_dialect_count_;
      DenseMap<StringRef, llvm::StringMap<int64_t>> op_dtype_count_;
      llvm::StringMap<int64_t> dialect_count_;
      llvm::StringMap<StringRef> dialect_name_of_;
      llvm::StringMap<StringRef> op_name_of_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/stablehlo_util.h

    #include <string>
    #include <vector>
    
    #include "llvm/ADT/StringRef.h"
    
    namespace mlir {
    namespace odml {
    
    std::vector<std::string> GetAcceptedStableHLODialects();
    
    std::vector<std::string> GetAcceptedTFLiteDialects();
    
    // Can we find the given `dialect_name` in the `accepted_dialects`?
    bool IsAcceptedDialect(llvm::StringRef dialect_name,
                           const std::vector<std::string> &accepted_dialects);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 21:06:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.h

    // `tf_device.cluster_func` ops.
    // Output: A MLIR module in the Tensorflow Executor Dialect.
    tensorflow::Status ExportFromTensorflowDialectToExecutor(
        mlir::ModuleOp module, llvm::StringRef module_name = llvm::StringRef());
    
    }  // namespace v2
    }  // namespace tf2xla
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 23:19:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top