Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for attrKey (0.34 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

              device.has_job && device.job == jobType) {
            for (const auto& attr : node->attrs()) {
              auto attr_key = attr.first;
              auto attr_value = attr.second;
              if (attr_key == attrKey &&
                  attr_value.value_case() == AttrValue::kType &&
                  attr_value.type() == DT_RESOURCE) {
                return true;
                break;
              }
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

          auto attr_key = tensor_type.getAttrKeys().front();
          Builder builder(signature.getContext());
          if (auto attr = attrs.lookup(attr_key.getValue())) {
            output_types->push_back(
                UnrankedTensorType::get(mlir::cast<TypeAttr>(attr).getValue()));
          } else if (Type element_type =
                         GetFixedElementType(attr_key.getValue(), builder)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    }
    
    // Helper method that returns list of all strings in a StringAttr identified
    // by 'attr_key' and values are separated by a comma.
    llvm::SmallVector<llvm::StringRef, 2> GetStringsFromAttrWithSeparator(
        mlir::DictionaryAttr attr, const std::string& attr_key) {
      llvm::SmallVector<llvm::StringRef, 2> result;
      if (auto str = attr.get(attr_key).dyn_cast_or_null<mlir::StringAttr>()) {
        str.getValue().split(result, ',', /*MaxSplit=*/-1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/BUILD

            ),
            (
                ["-gen-enum-defs"],
                "ir/tfl_ops_enums.cc.inc",
            ),
            (
                ["-gen-attrdef-decls"],
                "ir/tfl_ops_attrdefs.h.inc",
            ),
            (
                ["-gen-attrdef-defs"],
                "ir/tfl_ops_attrdefs.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "ir/tfl_op_enums.td",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    // by 'attr_key' and values are separated by a comma.
    llvm::SmallVector<llvm::StringRef, 2> GetStringsFromAttrWithSeparator(
        mlir::DictionaryAttr attr, const std::string& attr_key) {
      llvm::SmallVector<llvm::StringRef, 2> result;
      if (auto str = mlir::dyn_cast_or_null<mlir::StringAttr>(attr.get(attr_key))) {
        str.getValue().split(result, ',', /*MaxSplit=*/-1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  6. RELEASE.md

    *   Fixes a `CHECK`-fail when decoding resource handles from proto
        ([CVE-2022-23564](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23564))
    *   Fixes a `CHECK`-fail with repeated `AttrDef`
        ([CVE-2022-23565](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23565))
    *   Fixes a heap OOB write in Grappler
        ([CVE-2022-23566](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23566))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  7. CREDITS

    Creative Commons Legal Code
    
    CC0 1.0 Universal
    
        CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
        LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
        ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
        INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
        REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
Back to top