- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for attrKey (0.1 sec)
-
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) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/model/attr_spec.h
// An attribute for an Op, such as an input/output type or for passing options. // // Essentially, this represents an OpDef::AttrDef and its context within the Op. class AttrSpec { public: AttrSpec() = default; AttrSpec(const AttrSpec& other) = default; static AttrSpec Create(const OpDef::AttrDef& attr_def); const string& name() const { return name_; } const string& description() const { return description_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/model/attr_spec.cc
#include "tensorflow/core/lib/strings/str_util.h" namespace tensorflow { namespace generator { AttrSpec AttrSpec::Create(const OpDef::AttrDef& attr_def) { return AttrSpec(attr_def); } AttrSpec::AttrSpec(const OpDef::AttrDef& attr_def) { name_ = attr_def.name(); description_ = attr_def.description(); full_type_ = attr_def.type(); default_value_ = attr_def.default_value();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.4K bytes - Viewed (0) -
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) -
tensorflow/c/experimental/ops/gen/README.md
> _For example, an `OpDef` proto's `ArgDef` members contain a type string, which > must be dereferenced to an `AttrDef` by name to determine its type. This > `AttrDef` proto message in turn contains a type string which may need to be > parsed as "list(type)". Other `AttrDef` messages are not types, but instead > argument-like modifiers. In contrast, the generator model `ArgSpec` contains a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 18:51:25 UTC 2021 - 5.7K bytes - Viewed (0) -
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) -
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) -
tensorflow/c/experimental/ops/gen/model/op_spec.cc
} for (const OpDef::ArgDef& arg_def : op_def.output_arg()) { ArgSpec arg = ArgSpec::CreateOutput(arg_def, output_args_.size()); output_args_.push_back(arg); } // Parse the attributes. for (const OpDef::AttrDef& attr_def : op_def.attr()) { AttrSpec attr = AttrSpec::Create(attr_def); // Only non-inferred args are added as arguments. if (inferred_attrs.find(attr_def.name()) == inferred_attrs.end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 01 21:05:56 UTC 2021 - 2.1K bytes - Viewed (0) -
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)