- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 310 for attr_ (0.06 sec)
-
tensorflow/compiler/jit/node_matchers.cc
list->add_s(s); } return {string_list_attr.first, attr_value}; } impl::NodeMatcherProperties impl::Attr(std::pair<string, AttrValue> attr) { impl::NodeMatcherProperties props; props.set_attr(std::move(attr)); return props; } impl::NodeMatcherProperties impl::Attr(string name) { impl::NodeMatcherProperties props; props.set_attr({std::move(name), std::nullopt}); return props; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 03 16:15:20 UTC 2022 - 16.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) -
src/encoding/xml/read_test.go
BFalse bool `xml:",attr"` BTrue bool `xml:",attr"` I int `xml:",attr"` INeg int `xml:",attr"` I8 int8 `xml:",attr"` I8Neg int8 `xml:",attr"` I16 int16 `xml:",attr"` I16Neg int16 `xml:",attr"` I32 int32 `xml:",attr"` I32Neg int32 `xml:",attr"` I64 int64 `xml:",attr"` I64Neg int64 `xml:",attr"` UI uint `xml:",attr"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
} Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) { value->set_b(attr.getValue()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) { value->set_i(attr.getInt()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) { value->set_f(attr.getValueAsDouble()); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
op_state.addOperands(op.getOperands()); op_state.addTypes(op.getResultTypes()); SmallVector<NamedAttribute, 2> attrs; std::string parsed_op_name; tensorflow::NodeDef node_def; if (failed(ParseCustomOption(op.getCustomOption().getValue(), op.getLoc(), parsed_op_name, attrs, node_def))) { return failure(); } if (parsed_op_name != tf_op_name) { return op.emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
std::vector<NamedAttribute> attrs = contraction->getAttrs(); ArrayAttr fused_ops_attr = ArrayAttr::get(context, fused_ops); attrs.push_back( NamedAttribute(StringAttr::get(context, "fused_ops"), fused_ops_attr)); // Epsilon is used only in fusions with the FusedBatchNorm op, so we zero it // here. Attribute epsilon = rewriter.getF32FloatAttr(0); attrs.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.cc
value.add_int64_val(dim.size()); } } AddNodeAttr("value", value, &const_def); for (auto const& attr : n->attrs()) { if (*attr.first.begin() == '_') { AddNodeAttr(attr.first, attr.second, &const_def); } } TF_ASSIGN_OR_RETURN(Node * const_node, graph->AddNode(const_def));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0)