Home
last modified time | relevance | path

Searched refs:node_attr (Results 1 – 25 of 247) sorted by relevance

12345678910

/dports/graphics/R-cran-DiagrammeR/DiagrammeR/R/
H A Dset_node_attrs.R64 node_attr,
75 node_attr <-
97 if (node_attr %in% colnames(ndf)) {
104 node_attr)] <- values
108 if (!(node_attr %in% colnames(ndf))) {
118 colnames(ndf)[ncol(ndf)] <- node_attr
128 colnames(ndf)[ncol(ndf)] <- node_attr
138 if (node_attr %in% colnames(ndf)) {
140 node_attr)] <- values
143 if (!(node_attr %in% colnames(ndf))) {
[all …]
H A Ddrop_node_attrs.R47 node_attr) {
64 node_attr <-
65 rlang::enquo(node_attr) %>% rlang::get_expr() %>% as.character()
69 if (length(node_attr) > 1) {
79 node_attr)) {
94 if (!any(column_names_graph %in% node_attr)) {
103 which(colnames(nodes) %in% node_attr)
H A Dget_node_attrs.R45 node_attr,
59 node_attr <- rlang::enquo(node_attr)
61 if (rlang::enquo(node_attr) %>%
77 node_attr_vals <- ndf %>% dplyr::pull(!!node_attr)
97 node_attr_vals <- ndf %>% dplyr::pull(!!node_attr)
H A Dget_similar_nbrs.R86 node_attr, argument
102 node_attr <-
103 rlang::enquo(node_attr) %>% rlang::get_expr() %>% as.character()
111 node_attr)]
121 node_attr)]
139 node_attr)] %in% match), 1]
169 node_attr)]) >= match_range[1]),
173 node_attr)]) <= match_range[2])), 1]
H A Dget_node_attrs_ws.R55 node_attr) {
76 node_attr <- rlang::enquo(node_attr)
78 if (rlang::enquo(node_attr) %>%
101 node_attr_vals <- ndf %>% dplyr::pull(!!node_attr)
H A Dset_node_attrs_ws.R53 node_attr,
87 node_attr <-
88 rlang::enquo(node_attr) %>% rlang::get_expr() %>% as.character()
93 node_attr_2 <- rlang::enquo(node_attr)
100 node_attr = !!node_attr_2,
/dports/graphics/R-cran-DiagrammeR/DiagrammeR/tests/testthat/
H A Dtest-traversals.R195 node_attr = type,
205 node_attr = shape,
213 node_attr = shape,
350 node_attr = type,
360 node_attr = shape,
368 node_attr = shape,
510 node_attr = type,
520 node_attr = shape,
672 node_attr = type,
835 node_attr = type,
[all …]
H A Dtest-set_get_node_edge_attrs.R15 node_attr = value,
28 node_attr = value,
46 node_attr = value,
58 node_attr = value,
71 node_attr = value,
84 node_attr = value,
192 node_attr = value)
223 node_attr = value,
245 node_attr = id))
385 node_attr = value)
[all …]
H A Dtest-copy_drop_mutate_recode_attrs.R11 node_attr = value,
132 node_attr = value,
213 node_attr = shape,
384 node_attr = value,
387 node_attr = shape,
508 node_attr = value,
511 node_attr = shape,
565 node_attr = value,
568 node_attr = shape,
640 node_attr = value,
[all …]
H A Dtest-neighbors.R117 node_attr = value,
128 node_attr = value)))
137 node_attr = value,
150 node_attr = value,
161 node_attr = value,
/dports/graphics/py-pygraphviz/pygraphviz-1.6/pygraphviz/tests/
H A Dtest_attribute_defaults.py44 A.node_attr["label"] = "test"
45 assert_true("label" in A.node_attr)
46 assert_equal(A.node_attr["label"], "test")
47 assert_equal(A.node_attr.keys(), ["label"])
48 assert_equal(A.node_attr, {"label": "test"})
49 assert_equal(list(A.node_attr.iteritems()), [("label", "test")])
53 A.node_attr["label"] = ""
57 A.node_attr["label"] = "test"
58 del A.node_attr["label"]
63 A.node_attr["fontname"] = "node font"
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/subgraph/mkldnn/
H A Dmkldnn_subgraph_base-inl.h28 static inline bool SupportMKLDNNAttr(const std::shared_ptr<NodeAttr>& node_attr) { in SupportMKLDNNAttr() argument
29 if (node_attr) { in SupportMKLDNNAttr()
30 int ndim = node_attr->ishape[0].ndim(); in SupportMKLDNNAttr()
31 return (node_attr->dispatch_mode == DispatchMode::kFComputeEx) && in SupportMKLDNNAttr()
32 (node_attr->itype[0] == mshadow::kFloat32 || in SupportMKLDNNAttr()
33 node_attr->itype[0] == mshadow::kBfloat16) && in SupportMKLDNNAttr()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/subgraph/mkldnn/
H A Dmkldnn_subgraph_base-inl.h28 static inline bool SupportMKLDNNAttr(const std::shared_ptr<NodeAttr>& node_attr) { in SupportMKLDNNAttr() argument
29 if (node_attr) { in SupportMKLDNNAttr()
30 int ndim = node_attr->ishape[0].ndim(); in SupportMKLDNNAttr()
31 return (node_attr->dispatch_mode == DispatchMode::kFComputeEx) && in SupportMKLDNNAttr()
32 (node_attr->itype[0] == mshadow::kFloat32 || in SupportMKLDNNAttr()
33 node_attr->itype[0] == mshadow::kBfloat16) && in SupportMKLDNNAttr()
/dports/textproc/tkxmlive/tkxmlive/library/
H A Dparsexml.tcl40 foreach { node_name node_attr } [simxml::parseNode $node_info] { break }
42 lappend xmlPrCommand($xml:$node_name) $node_attr
43 gui::msgDebug "COMMAND: $node_name || $node_attr"
83 foreach { node_name node_attr } [simxml::parseNode $node_info] { break }
85 -attribute $node_attr -type ELEMENT
86 gui::msgDebug "ELEMENT : $node_name ($node_attr)"
89 set node_name [ set node_attr {} ]
90 foreach { node_name node_attr } [simxml::parseNode $node_info] { break }
92 [lindex $nodes_list end] $node_name -attribute $node_attr]
93 gui::msgDebug "OPEN TAG: $node_name ($node_attr) \[[join $nodes_list { / }]\]"
/dports/math/py-networkx/networkx-2.6.3/networkx/linalg/
H A Dattrmatrix.py8 def _node_value(G, node_attr): argument
32 if node_attr is None:
37 elif not callable(node_attr):
40 return G.nodes[u][node_attr]
48 value = node_attr
147 node_attr=None, argument
273 node_value = _node_value(G, node_attr)
310 G, edge_attr=None, node_attr=None, normalized=False, rc_order=None, dtype=None argument
433 node_value = _node_value(G, node_attr)
/dports/graphics/R-cran-DiagrammeR/DiagrammeR/man/
H A Dget_node_attrs.Rd7 get_node_attrs(graph, node_attr, nodes = NULL)
12 \item{node_attr}{The name of the attribute for which to get values.}
19 \code{node_attr} by node ID.
35 node_attr = value,
43 node_attr = value)
50 node_attr = value,
H A Dget_similar_nbrs.Rd7 get_similar_nbrs(graph, node, node_attr, tol_abs = NULL, tol_pct = NULL)
14 \item{node_attr}{The name of the node attribute to use to compare with
17 \item{tol_abs}{If the values contained in the node attribute \code{node_attr} are
22 \item{tol_pct}{If the values contained in the node attribute \code{node_attr} are
50 node_attr = value,
63 node_attr = value)
79 node_attr = value,
91 node_attr = value,
H A Dget_node_attrs_ws.Rd7 get_node_attrs_ws(graph, node_attr)
12 \item{node_attr}{The name of the attribute for which to get values.}
16 \code{node_attr} by node ID.
46 node_attr = value,
61 node_attr = value)
/dports/graphics/py-pygraphviz/pygraphviz-1.6/examples/
H A Dstar.py21 A.node_attr["style"] = "filled"
22 A.node_attr["shape"] = "circle"
23 A.node_attr["fixedsize"] = "true"
24 A.node_attr["fontcolor"] = "#FFFFFF"
H A Dmiles.py37 G.node_attr["shape"] = "circle"
38 G.node_attr["fixedsize"] = "true"
39 G.node_attr["fontsize"] = "8"
40 G.node_attr["style"] = "filled"
/dports/graphics/py-graphviz/graphviz-0.10.1/graphviz/
H A Ddot.py55 graph_attr=None, node_attr=None, edge_attr=None, body=None, argument
64 self.node_attr = dict(node_attr) if node_attr is not None else {}
76 'node_attr': dict(self.node_attr),
89 for a in (self.graph_attr, self.node_attr, self.edge_attr):
183 graph_attr=None, node_attr=None, edge_attr=None, body=None): argument
207 'graph_attr': graph_attr, 'node_attr': node_attr,
211 args = [name, comment, graph_attr, node_attr, edge_attr, body]
/dports/math/py-networkx/networkx-2.6.3/networkx/algorithms/
H A Dgraph_hashing.py14 G, edge_attr=None, node_attr=None, iterations=3, digest_size=16 argument
112 def weisfeiler_lehman_step(G, labels, edge_attr=None, node_attr=None): argument
129 if (not node_attr) and (not edge_attr):
131 elif node_attr:
132 node_labels[node] = str(G.nodes[node][node_attr])
/dports/devel/embb/embb-1.0.0/mtapi_c/test/
H A Dembb_mtapi_test_init_finalize.cc40 mtapi_node_attributes_t node_attr; in TestBasic() local
51 mtapi_nodeattr_init(&node_attr, &status); in TestBasic()
55 mtapi_nodeattr_set(&node_attr, in TestBasic()
66 &node_attr, in TestBasic()
/dports/math/py-networkx/networkx-2.6.3/examples/graphviz_drawing/
H A Dplot_mini_atlas.py20 A.node_attr["color"] = "red"
21 A.node_attr["style"] = "filled"
22 A.node_attr["shape"] = "circle"
/dports/sysutils/slurm-wlm/slurm-20.02.7/src/plugins/mpi/pmi2/
H A Dinfo.c73 static char **node_attr = NULL; variable
107 xrealloc(node_attr, na_size * sizeof(char*)); in node_attr_put()
109 node_attr[KEY_INDEX(na_cnt)] = xstrdup(key); in node_attr_put()
110 node_attr[VAL_INDEX(na_cnt)] = xstrdup(val); in node_attr_put()
163 if (! xstrcmp(key, node_attr[KEY_INDEX(i)])) { in node_attr_get()
164 val = node_attr[VAL_INDEX(i)]; in node_attr_get()

12345678910