Home
last modified time | relevance | path

Searched refs:max_num_vertices (Results 1 – 25 of 44) sorted by relevance

12

/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/unittest/
H A Dtest_dgl_graph.py29 def check_uniform(out, num_hops, max_num_vertices): argument
34 assert (len(sample_id) == max_num_vertices+1)
43 def check_non_uniform(out, num_hops, max_num_vertices): argument
49 assert (len(sample_id) == max_num_vertices+1)
55 assert (len(prob) == max_num_vertices)
82 check_uniform(out, num_hops=1, max_num_vertices=5)
91 check_uniform(out, num_hops=1, max_num_vertices=4)
100 check_uniform(out, num_hops=2, max_num_vertices=3)
109 check_uniform(out, num_hops=1, max_num_vertices=5)
118 check_uniform(out, num_hops=1, max_num_vertices=5)
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/unittest/
H A Dtest_dgl_graph.py29 def check_uniform(out, num_hops, max_num_vertices): argument
34 assert (len(sample_id) == max_num_vertices+1)
43 def check_non_uniform(out, num_hops, max_num_vertices): argument
49 assert (len(sample_id) == max_num_vertices+1)
55 assert (len(prob) == max_num_vertices)
82 check_uniform(out, num_hops=1, max_num_vertices=5)
91 check_uniform(out, num_hops=1, max_num_vertices=4)
100 check_uniform(out, num_hops=2, max_num_vertices=3)
109 check_uniform(out, num_hops=1, max_num_vertices=5)
118 check_uniform(out, num_hops=1, max_num_vertices=5)
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/
H A Ddgl_graph.cc131 dgl_id_t max_num_vertices; member
141 DMLC_DECLARE_FIELD(max_num_vertices) in DMLC_DECLARE_PARAMETER()
272 out_shape[0] = params.max_num_vertices + 1; in CSRNeighborUniformSampleShape()
279 out_csr_shape[0] = params.max_num_vertices; in CSRNeighborUniformSampleShape()
324 out_shape[0] = params.max_num_vertices + 1; in CSRNeighborNonUniformSampleShape()
331 out_csr_shape[0] = params.max_num_vertices; in CSRNeighborNonUniformSampleShape()
551 CHECK_GE(max_num_vertices, num_seeds); in SampleSubgraph()
587 sub_ver_mp.size() < max_num_vertices) { in SampleSubgraph()
680 shape_2[0] = max_num_vertices+1; in SampleSubgraph()
752 params.max_num_vertices, in CSRNeighborUniformSampleComputeExCPU()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/
H A Ddgl_graph.cc131 dgl_id_t max_num_vertices; member
141 DMLC_DECLARE_FIELD(max_num_vertices) in DMLC_DECLARE_PARAMETER()
272 out_shape[0] = params.max_num_vertices + 1; in CSRNeighborUniformSampleShape()
279 out_csr_shape[0] = params.max_num_vertices; in CSRNeighborUniformSampleShape()
324 out_shape[0] = params.max_num_vertices + 1; in CSRNeighborNonUniformSampleShape()
331 out_csr_shape[0] = params.max_num_vertices; in CSRNeighborNonUniformSampleShape()
551 CHECK_GE(max_num_vertices, num_seeds); in SampleSubgraph()
587 sub_ver_mp.size() < max_num_vertices) { in SampleSubgraph()
680 shape_2[0] = max_num_vertices+1; in SampleSubgraph()
752 params.max_num_vertices, in CSRNeighborUniformSampleComputeExCPU()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/lang/clover/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/auxiliary/hud/
H A Dhud_private.h91 unsigned max_num_vertices; member
132 unsigned max_num_vertices; member
H A Dhud_context.c124 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
179 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
312 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
364 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
390 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
449 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
893 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
968 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
977 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/auxiliary/hud/
H A Dhud_private.h90 unsigned max_num_vertices; member
131 unsigned max_num_vertices; member
H A Dhud_context.c122 assert(hud->bg.num_vertices + 4 <= hud->bg.max_num_vertices); in hud_draw_background_quad()
177 assert(hud->text.num_vertices + num/4 + 4 <= hud->text.max_num_vertices); in hud_draw_string()
310 xoffset + (gr->pane->max_num_vertices - gr->index - 1) * 2 - 1, in hud_draw_graph_line_strip()
362 assert(hud->whitelines.num_vertices + num/2 + 8 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
388 assert(hud->whitelines.num_vertices + num/2 + 2 <= hud->whitelines.max_num_vertices); in hud_pane_accumulate_vertices()
447 v->max_num_vertices = num_vertices; in hud_prepare_vertices()
885 pane->max_num_vertices = (x2 - x1 + 2) / 2; in hud_pane_create()
935 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
960 if (gr->index == gr->pane->max_num_vertices) { in hud_graph_add_value()
969 if (gr->num_vertices < gr->pane->max_num_vertices) { in hud_graph_add_value()

12