Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 244 for StringRef (0.13 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/errors.mlir

    func.func @test_identity_wrong_type(%arg0: tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> {
      %0 = "tf.SomeOp"(%arg0) : (tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref>
      func.return %0 : tensor<4x2x!tf_type.stringref>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 428 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/constants.h

    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_TENSORFLOW_PASSES_CONSTANTS_H_
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    
    namespace mlir {
    namespace quant {
    
    // Name of the save function. The "tf_quant__" prefix is for avoiding conflict
    // with existing function's name.
    inline constexpr StringRef kTfQuantSaveFuncName = "tf_quant__save";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 13 02:55:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc

    using ::mlir::tf_executor::IslandOp;
    
    constexpr StringRef kSharedNameAttr = "shared_name";
    
    class MergeDuplicateResourceOpsPass
        : public PassWrapper<MergeDuplicateResourceOpsPass,
                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MergeDuplicateResourceOpsPass)
    
      StringRef getArgument() const final {
        return "quant-merge-duplicate-resource-ops";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/string_util.h

      LoggableAttribute(mlir::Attribute& v) : v(v) {}
    };
    std::ostream& operator<<(std::ostream& o, const LoggableAttribute& attr);
    
    struct LoggableStringRef {
      const llvm::StringRef& v;
      // NOLINTNEXTLINE(google-explicit-constructor)
      LoggableStringRef(const llvm::StringRef& v) : v(v) {}
    };
    std::ostream& operator<<(std::ostream& o, const LoggableStringRef& ref);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 15 19:47:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables_test_pass.cc

                             OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(MarkInitializedVariablesTestPass)
    
      StringRef getArgument() const final {
        return "tf-saved-model-mark-initialized-variables-test";
      }
    
      StringRef getDescription() const final {
        return "Mark variables as initialized or not.";
      }
    
      void runOnOperation() override {
        TF::test_util::FakeSession session;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top