Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for attrKey (0.15 sec)

  1. pkg/test/fakes/gce_metadata_server/main.go

    	instIDPath     = metaPrefix + "/instance/id"
    	instancePath   = metaPrefix + "/instance/name"
    	zonePath       = metaPrefix + "/instance/zone"
    	attrKey        = "attribute"
    	attrPath       = metaPrefix + "/instance/attributes/{" + attrKey + "}"
    )
    
    var instAttrs = map[string]string{
    	"instance-template": "some-template",
    	"created-by":        "some-creator",
    	"cluster-name":      "test-cluster",
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

      let cppStorageType = "::llvm::SmallVector<int32_t>";
      let parser = "::mlir::TFL::parseI32Array($_parser)";
      let printer = "$_printer << '[' << $_self << ']'";
    }
    
    def DimensionMetadataAttr : AttrDef<TFL_Dialect, "DimensionMetadata"> {
      let mnemonic = "dimension_metadata";
      let parameters = (ins
          TFL_DimensionTypeAttr:$format,
          "int32_t":$dense_size,
          I32ArrayParameter:$segments,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  4. src/log/slog/handler.go

    		// Close all open groups.
    		for range s.h.groups[:nOpenGroups] {
    			s.buf.WriteByte('}')
    		}
    		// Close the top-level object.
    		s.buf.WriteByte('}')
    	}
    }
    
    // attrSep returns the separator between attributes.
    func (h *commonHandler) attrSep() string {
    	if h.json {
    		return ","
    	}
    	return " "
    }
    
    // handleState holds state for a single call to commonHandler.handle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. src/syscall/netlink_linux.go

    func nlmAlignOf(msglen int) int {
    	return (msglen + NLMSG_ALIGNTO - 1) & ^(NLMSG_ALIGNTO - 1)
    }
    
    // Round the length of a netlink route attribute up to align it
    // properly.
    func rtaAlignOf(attrlen int) int {
    	return (attrlen + RTA_ALIGNTO - 1) & ^(RTA_ALIGNTO - 1)
    }
    
    // NetlinkRouteRequest represents a request message to receive routing
    // and link states from the kernel.
    type NetlinkRouteRequest struct {
    	Header NlMsghdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. 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)
  7. src/html/template/content.go

    	// as it will be included verbatim in the template output.
    	URL string
    
    	// Srcset encapsulates a known safe srcset attribute
    	// (see https://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-img-srcset).
    	//
    	// Use of this type presents a security risk:
    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	Srcset string
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top