- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for attr_in (0.44 sec)
-
tensorflow/c/kernels_test.cc
<< i; } TF_DeleteStatus(status); return static_cast<void*>(s); }; AttrValue v; std::string attr_in[] = {"bugs", "bunny", "duck"}; SetAttrValue(gtl::ArraySlice<std::string>(attr_in, 3), &v); CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrStringList", v); } TEST_F(TestKernelAttr, Tensor) { struct TensorProtoHelpers { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go
return -1, -1, -1 } var namebuf [1024]byte sz := int32(copy(namebuf[:], path)) A2e(namebuf[:sz]) attr_sz := uint32(unsafe.Sizeof(*attr)) var parms [7]unsafe.Pointer parms[0] = unsafe.Pointer(&sz) parms[1] = unsafe.Pointer(&namebuf[0]) parms[2] = unsafe.Pointer(&attr_sz) parms[3] = unsafe.Pointer(attr) parms[4] = unsafe.Pointer(&rv) parms[5] = unsafe.Pointer(&rc) parms[6] = unsafe.Pointer(&rn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 19.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributePointer.java
* */ class Xpp3DomAttributePointer extends NodePointer { private Map.Entry<String, String> attrib; public Xpp3DomAttributePointer(NodePointer parent, Map.Entry<String, String> attrib) { super(parent); this.attrib = attrib; } @Override public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc
string c_base_type = attr_.base_type(); if (attr_.base_type() == "type") { c_base_type = "DataType"; } else if (attr_.base_type() == "shape") { c_base_type = "const PartialTensorShape"; } // ... and wrap in a Span<> if it's a list. if (attr_.is_list()) { return absl::Substitute("absl::Span<$0>", c_base_type); } else { return c_base_type; } return attr_.full_type(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc
std::srand(0); for (auto fn : module->getOps<mlir::func::FuncOp>()) { for (auto& bb : fn) { for (auto& inst : bb) { auto attr_id = mlir::StringAttr::get(context, "value"); if (auto attr = inst.getAttrOfType<mlir::ElementsAttr>(attr_id)) { mlir::Attribute rand_val; mlir::Type element_type = attr.getShapedType().getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 11:51:44 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc
MakeCleanup([tf_tensor] { TF_DeleteTensor(tf_tensor); }); Tensor tensor; RETURN_FAILURE_IF_ERROR(TF_TensorToTensor(tf_tensor, &tensor)); auto attr_or = ConvertTensor(tensor, &builder); RETURN_FAILURE_IF_ERROR(attr_or.status()); results->push_back(attr_or.value()); } VLOG(1) << "Evaluate node " << node_name << " successfully!"; return mlir::success(); } #undef RETURN_FAILURE_IF_ERROR
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 13 06:02:14 UTC 2023 - 5.7K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
'errors': str(error_count), 'failures': str(failure_count)} suite_attrib = attrib.copy() suite_attrib.update(suite_specific) testsuites.attrib = suite_attrib testsuite.attrib = suite_attrib indent_xml(testsuites) tree = ElemTree.ElementTree(testsuites) file_path = os.path.join(output_path) with open(file_path, 'wb') as f:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K 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/compiler/jit/node_matchers.h
return input_matchers_; } const std::optional<NodeSeqMatcher>& control_deps() const { return control_deps_; } const std::optional<AttrKeyValuePair>& attr() const { return attr_; } void set_name(string name) { DCHECK(IsEmpty()); name_ = std::move(name); } void set_op(string op) { DCHECK(IsEmpty()); op_ = std::move(op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/tasks/MavenPomFileGeneratorTest.groovy
given: pom.coordinates.groupId.set('group-ぴ₦ガき∆ç√∫') pom.coordinates.artifactId.set('artifact-<tag attrib="value"/>-markup') pom.coordinates.version.set('version-&"') expect: with (xml) { groupId == 'group-ぴ₦ガき∆ç√∫' artifactId == 'artifact-<tag attrib="value"/>-markup' version == 'version-&"' } where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 10.3K bytes - Viewed (0)