- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 279 for attr_ (0.04 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 24 06:08:43 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.cc
auto attr = n.attrs().Find(attr_name); if (!attr) { return std::nullopt; } else { return attr->s(); } } // Adds a value to the node's list attribute. template <typename T> Status AppendToListAttr(Node* n, const string& attr_name, const string& value) { std::vector<T> attr_value; Status s = GetNodeAttr(n->attrs(), attr_name, &attr_value);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.5K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen.cc
} } // Add the static functions to set optional attrs if (op_info.has_optional_attrs) { strings::StrAppend(&class_decl, "\n"); for (int i = 0; i < op_info.graph_op_def.attr_size(); ++i) { const auto& attr(op_info.graph_op_def.attr(i)); const auto& api_def_attr(op_info.api_def.attr(i)); if ((op_info.inferred_input_attrs.find(attr.name()) != op_info.inferred_input_attrs.end()) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 17:22:47 UTC 2023 - 17K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
} } // Process attrs string required_attrs_comment; string optional_attrs_comment; for (int i = 0; i < graph_op_def.attr_size(); ++i) { // ApiDef attributes must be in the same order as in OpDef since // we initialize ApiDef based on OpDef. const auto& attr(graph_op_def.attr(i)); const auto& api_def_attr(api_def.attr(i)); CHECK_EQ(attr.name(), api_def_attr.name());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
Attribute RewriteTFRCallOp::ProcessAttributeValue(Attribute attr, StringAttr attr_type) const { if (!attr_type) return attr; if (attr_type.getValue() == "tensor") { if (auto f = mlir::dyn_cast<FloatAttr>(attr)) { RankedTensorType type = RankedTensorType::get({}, f.getType()); return DenseFPElementsAttr::get(type, attr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
it->second.second.emplace_back(std::move(node_info)); } } // Returns `true` iff node has a given `attr` set to `true`. Returns `false` // both for the missing attr, and the attr set to `false`. static bool HasBoolAttr(const NodeDef& node, const char* attr) { const auto& it = node.attr().find(attr); return it != node.attr().end() && it->second.b(); } bool CanCreateXlaKernel(const NodeDef& node_def) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0) -
maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 18K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
llvm::SmallVectorImpl<mlir::NamedAttribute> &output) { for (mlir::NamedAttribute attr : attrs) { if (attr.getName().strref().contains( mlir::tfg::TFGraphDialect::getDeviceAttrKey())) { tensorflow::DeviceNameUtils::ParsedName parsed_name; if (!tensorflow::DeviceNameUtils::ParseFullName( mlir::cast<mlir::StringAttr>(attr.getValue()).getValue().str(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy
} def "can serialize/deserialize isolated Attribute values"() { Attribute attr1 = Attribute.of("foo", String.class) Attribute attr2 = Attribute.of("bar", SomeType.class) Isolatable<?>[] isolatables = [isolatableFactory.isolate(attr1), isolatableFactory.isolate(attr2)] when: serialize(isolatables) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 11.5K bytes - Viewed (0)