Home
last modified time | relevance | path

Searched full:prim (Results 1 – 25 of 1292) sorted by relevance

12345678910>>...52

/aosp_15_r20/external/pytorch/aten/src/ATen/core/
H A Dinterned_strings.h11 _(namespaces, prim) \
23 _(prim, Assign) \
24 _(prim, BroadcastingChunk) \
25 _(prim, BroadcastSizes) \
26 _(prim, ReductionSizes) \
27 _(prim, Constant) \
28 _(prim, ChunkSizes) \
29 _(prim, ConstantMKLDNNTensor) \
30 _(prim, BroadcastMKLDNNTensors) \
31 _(prim, MKLDNNGroup) \
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/runtime/
H A Doperator.cpp210 prim::Constant, prim::Uninitialized, prim::fork, in printerHasSpecialCaseFor()
211 prim::awaitable, prim::ListConstruct, prim::DictConstruct, in printerHasSpecialCaseFor()
212 prim::ListUnpack, prim::Print, prim::PythonOp, in printerHasSpecialCaseFor()
213 prim::TupleConstruct, prim::TupleIndex, prim::TupleSlice, in printerHasSpecialCaseFor()
214 prim::TupleUnpack, prim::CreateObject, prim::GetAttr, in printerHasSpecialCaseFor()
215 prim::SetAttr, prim::CallFunction, prim::isinstance, in printerHasSpecialCaseFor()
216 prim::unchecked_cast, prim::tolist, prim::rpc_async, in printerHasSpecialCaseFor()
217 prim::rpc_sync, prim::rpc_remote}; in printerHasSpecialCaseFor()
226 prim::AutogradZero, // temporarily inserted by autograd in printerHasSpecialCaseFor()
227 prim::AutogradAnyNonZero, // temporarily inserted by autograd in printerHasSpecialCaseFor()
[all …]
H A Dserialized_shape_function_registry.cpp33 ops.prim.RaiseException("AssertionError: ")
41 ops.prim.RaiseException("AssertionError: ")
48 ops.prim.RaiseException("AssertionError: ")
70 ops.prim.RaiseException("AssertionError: ")
82 ops.prim.RaiseException("AssertionError: ")
86 ops.prim.RaiseException("AssertionError: ")
101 ops.prim.RaiseException("AssertionError: ")
106 ops.prim.RaiseException("AssertionError: ")
111 ops.prim.RaiseException("AssertionError: ")
141 ops.prim.RaiseException("AssertionError: ")
[all …]
/aosp_15_r20/external/cronet/third_party/boringssl/src/pki/testdata/parse_certificate_unittest/
H A Dcert_version3.pem8 10:d=3 hl=2 l= 1 prim: INTEGER :02
9 13:d=2 hl=2 l= 7 prim: INTEGER :2B63A42A705076
11 24:d=3 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
12 35:d=3 hl=2 l= 0 prim: NULL
16 44:d=5 hl=2 l= 3 prim: OBJECT :countryName
17 49:d=5 hl=2 l= 2 prim: PRINTABLESTRING :US
20 57:d=5 hl=2 l= 3 prim: OBJECT :stateOrProvinceName
21 62:d=5 hl=2 l= 7 prim: PRINTABLESTRING :Arizona
24 75:d=5 hl=2 l= 3 prim: OBJECT :localityName
25 80:d=5 hl=2 l= 10 prim: PRINTABLESTRING :Scottsdale
[all …]
H A Dtbs_v3_real.pem7 6:d=2 hl=2 l= 1 prim: INTEGER :02
8 9:d=1 hl=2 l= 7 prim: INTEGER :2B63A42A705076
10 20:d=2 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
11 31:d=2 hl=2 l= 0 prim: NULL
15 40:d=4 hl=2 l= 3 prim: OBJECT :countryName
16 45:d=4 hl=2 l= 2 prim: PRINTABLESTRING :US
19 53:d=4 hl=2 l= 3 prim: OBJECT :stateOrProvinceName
20 58:d=4 hl=2 l= 7 prim: PRINTABLESTRING :Arizona
23 71:d=4 hl=2 l= 3 prim: OBJECT :localityName
24 76:d=4 hl=2 l= 10 prim: PRINTABLESTRING :Scottsdale
[all …]
H A Dtbs_validity_relaxed.pem7 6:d=2 hl=2 l= 1 prim: INTEGER :02
8 9:d=1 hl=2 l= 3 prim: INTEGER :2821D5
10 16:d=2 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
11 27:d=2 hl=2 l= 0 prim: NULL
15 36:d=4 hl=2 l= 3 prim: OBJECT :countryName
16 41:d=4 hl=2 l= 2 prim: PRINTABLESTRING :US
19 49:d=4 hl=2 l= 3 prim: OBJECT :stateOrProvinceName
20 54:d=4 hl=2 l= 7 prim: PRINTABLESTRING :Arizona
23 67:d=4 hl=2 l= 3 prim: OBJECT :localityName
24 72:d=4 hl=2 l= 10 prim: PRINTABLESTRING :Scottsdale
[all …]
/aosp_15_r20/external/cronet/net/data/parse_certificate_unittest/
H A Dcert_version3.pem8 10:d=3 hl=2 l= 1 prim: INTEGER :02
9 13:d=2 hl=2 l= 7 prim: INTEGER :2B63A42A705076
11 24:d=3 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
12 35:d=3 hl=2 l= 0 prim: NULL
16 44:d=5 hl=2 l= 3 prim: OBJECT :countryName
17 49:d=5 hl=2 l= 2 prim: PRINTABLESTRING :US
20 57:d=5 hl=2 l= 3 prim: OBJECT :stateOrProvinceName
21 62:d=5 hl=2 l= 7 prim: PRINTABLESTRING :Arizona
24 75:d=5 hl=2 l= 3 prim: OBJECT :localityName
25 80:d=5 hl=2 l= 10 prim: PRINTABLESTRING :Scottsdale
[all …]
H A Dtbs_v3_real.pem7 6:d=2 hl=2 l= 1 prim: INTEGER :02
8 9:d=1 hl=2 l= 7 prim: INTEGER :2B63A42A705076
10 20:d=2 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
11 31:d=2 hl=2 l= 0 prim: NULL
15 40:d=4 hl=2 l= 3 prim: OBJECT :countryName
16 45:d=4 hl=2 l= 2 prim: PRINTABLESTRING :US
19 53:d=4 hl=2 l= 3 prim: OBJECT :stateOrProvinceName
20 58:d=4 hl=2 l= 7 prim: PRINTABLESTRING :Arizona
23 71:d=4 hl=2 l= 3 prim: OBJECT :localityName
24 76:d=4 hl=2 l= 10 prim: PRINTABLESTRING :Scottsdale
[all …]
H A Dtbs_validity_relaxed.pem7 6:d=2 hl=2 l= 1 prim: INTEGER :02
8 9:d=1 hl=2 l= 3 prim: INTEGER :2821D5
10 16:d=2 hl=2 l= 9 prim: OBJECT :sha1WithRSAEncryption
11 27:d=2 hl=2 l= 0 prim: NULL
15 36:d=4 hl=2 l= 3 prim: OBJECT :countryName
16 41:d=4 hl=2 l= 2 prim: PRINTABLESTRING :US
19 49:d=4 hl=2 l= 3 prim: OBJECT :stateOrProvinceName
20 54:d=4 hl=2 l= 7 prim: PRINTABLESTRING :Arizona
23 67:d=4 hl=2 l= 3 prim: OBJECT :localityName
24 72:d=4 hl=2 l= 10 prim: PRINTABLESTRING :Scottsdale
[all …]
/aosp_15_r20/external/pytorch/test/cpp/jit/
H A Dtest_concat_opt.cpp22 %5 : int = prim::Constant[value=0]() in TEST()
23 …%concat.2 : Float(96, 56, 56, strides=[3136, 56, 1], requires_grad=0, device=cpu) = prim::VarConca… in TEST()
24 …%concat.3 : Float(128, 56, 56, strides=[3136, 56, 1], requires_grad=0, device=cpu) = prim::VarConc… in TEST()
25 %res : Tensor[] = prim::ListConstruct(%concat.2, %concat.3) in TEST()
44 // %3 : int = prim::Constant[value=0]() in TEST()
45 // %4 : Tensor = prim::VarConcat(%0, %1, %3) in TEST()
46 // %7 : Tensor = prim::VarConcat(%4, %2, %3) // UPDATED in TEST()
47 // %8 : Tensor[] = prim::ListConstruct(%4, %7) in TEST()
51 .check_count("= prim::VarConcat(%0, %1, %3)", 1, /*exactly*/ true) in TEST()
52 ->check_count("= prim::VarConcat(%4, %2, %3)", 1, /*exactly*/ true) in TEST()
[all …]
H A Dtest_alias_analysis.cpp65 auto node = graph->appendNode(graph->create(prim::AutogradZero, inputs));
78 block->appendNode(graph->create(prim::AutogradZero, blockDeps));
267 auto if_ = g.insertNode(g.create(prim::If, 0)); in insertIf()
370 auto print1 = graph->insertNode(graph->create(prim::Print, {a}, 0)); in TEST()
372 auto print2 = graph->insertNode(graph->create(prim::Print, {a, a}, 0)); in TEST()
387 graph->insertNode(graph->create(prim::MakeTestTensor, {}, 1)); in TEST()
440 %opt : Tensor? = prim::Constant() in TEST()
441 %out : Tensor = prim::unchecked_unwrap_optional(%opt) in TEST()
458 %3 : int = prim::Constant[value=1]() in TEST()
459 %2 : int = prim::Constant[value=0]() in TEST()
[all …]
H A Dtest_stack_opt.cpp24 %10 : int = prim::Constant[value=0]() in TEST()
25 %input : Tensor[] = prim::ListConstruct(%0, %1, %2, %3, %4, %5) in TEST()
45 // After replacing `aten::stack` with `prim::VarStack` we should have the in TEST()
50 // %zero : int = prim:Constant[value=0]() in TEST()
51 // %varstack : Tensor = prim::VarStack(%0, %1, %2, %3, %4, %5, %zero) in TEST()
54 .check_count("= prim::VarStack(", 1, /*exactly*/ true) in TEST()
56 ->check_count("= prim::ListConstruct(", 0, /*exactly*/ true) in TEST()
69 %10 : int = prim::Constant[value=0]() in TEST()
70 %input1 : Tensor[] = prim::ListConstruct(%0, %1) in TEST()
72 %input2 : Tensor[] = prim::ListConstruct(%2, %3) in TEST()
[all …]
H A Dtest_graph_iterator.cpp75 %1 : int = prim::Constant[value=0]() in TEST()
80 ASSERT_EQ(graph_it.next()->kind(), prim::Constant); in TEST()
87 %1 : int = prim::Constant[value=0]() in TEST()
90 assert_ordering(ordering, {"%1 : int = prim::Constant[value=0]()"}); in TEST()
96 %a : int = prim::Constant[value=30]() in TEST()
97 %b : int = prim::Constant[value=10]() in TEST()
99 %d : int = prim::If(%c) in TEST()
104 %e : int = prim::Constant[value=20]() in TEST()
110 {"%1 : int = prim::Constant[value=30]()", in TEST()
111 "%2 : int = prim::Constant[value=10]()", in TEST()
[all …]
H A Dtest_constant_pooling.cpp20 %8 : int = prim::Constant[value=1]() in TEST()
21 %10 : int = prim::Constant[value=1]() in TEST()
27 .check_count("prim::Constant", 1, /*exactly*/ true) in TEST()
36 %a : str = prim::Constant[value="bcd"]() in TEST()
38 %b : str = prim::If(%3) in TEST()
40 %b.1 : str = prim::Constant[value="abc"]() in TEST()
43 %b.2 : str = prim::Constant[value="abc"]() in TEST()
45 %7 : (str, str) = prim::TupleConstruct(%a, %b) in TEST()
51 .check_count("prim::Constant[value=\"abc\"]", 1, /*exactly*/ true) in TEST()
52 ->check_count("prim::Constant[value=\"bcd\"]", 1, /*exactly*/ true) in TEST()
[all …]
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktPrimitivesGeneratedQueryTests.cpp1053 for (uint32_t prim = 0; prim < primitivesGenerated; ++prim) in fillVertexBuffer() local
1055 vertices[prim] = tcu::Vec2(-1.0f + 2.0f * (float)prim * step, 0.0f); in fillVertexBuffer()
1061 for (uint32_t prim = 0; prim < primitivesGenerated; ++prim) in fillVertexBuffer() local
1063 vertices[2 * prim + 0] = tcu::Vec2(-1.0f + 2.0f * (float)prim * step, 1.0f); in fillVertexBuffer()
1064 vertices[2 * prim + 1] = tcu::Vec2(-1.0f + 2.0f * (float)prim * step, -1.0f); in fillVertexBuffer()
1073 for (uint32_t prim = 1; prim < primitivesGenerated; ++prim) in fillVertexBuffer() local
1075 if (prim % 2 == 0) in fillVertexBuffer()
1077 vertices[1 + prim] = tcu::Vec2(-1.0f + 2.0f * (float)prim * step, 1.0f); in fillVertexBuffer()
1081 vertices[1 + prim] = tcu::Vec2(-1.0f + 2.0f * (float)prim * step, -1.0f); in fillVertexBuffer()
1092 for (uint32_t prim = 1; prim < primitivesGenerated; ++prim) in fillVertexBuffer() local
[all …]
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_autodiff_subgraph_slicing.py55 n.kind() != "prim::BailOut"
56 and n.kind() != "prim::BailoutTemplate"
57 and n.kind() != "prim::TypeCheck"
58 and n.kind() != "prim::RequiresGradCheck"
75 FileCheck().check_not("prim::DifferentiableGraph").run(
107 foo.graph_for(input), "prim::DifferentiableGraph", 1
110 bar.graph_for(input), "prim::DifferentiableGraph", 0
269 FileCheck().check("prim::DifferentiableGraph").run(
318 self.assertGraphContainsExactly(graph, "prim::DifferentiableGraph", 1)
333 self.assertGraphContainsExactly(graph, "prim::DifferentiableGraph", 1)
[all …]
/aosp_15_r20/external/mesa3d/src/intel/vulkan/
H A DgenX_cmd_draw.c1026 anv_batch_emit(&cmd_buffer->batch, _3DPRIMITIVE_DIRECT, prim) { in genX()
1027 prim.PredicateEnable = cmd_buffer->state.conditional_render_enabled; in genX()
1029 prim.TBIMREnable = cmd_buffer->state.gfx.dyn_state.use_tbimr; in genX()
1031 prim.VertexAccessType = SEQUENTIAL; in genX()
1032 prim.VertexCountPerInstance = vertexCount; in genX()
1033 prim.StartVertexLocation = firstVertex; in genX()
1034 prim.InstanceCount = instanceCount * in genX()
1036 prim.StartInstanceLocation = firstInstance; in genX()
1037 prim.BaseVertexLocation = 0; in genX()
1039 prim.ExtendedParametersPresent = true; in genX()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/
H A Dguard_elimination.cpp32 if (n->kind() != prim::If) { in isLoweredGradOf()
36 return n->input(0)->node()->kind() == prim::AutogradAnyNonZero; in isLoweredGradOf()
43 if (n->kind() == prim::Guard) { in moveGuardsToDefs()
73 b->owningNode()) /*b->owningNode()->kind() == prim::If*/) { in moveGuardsToDefs()
76 if (block_node->kind() != prim::Guard) { in moveGuardsToDefs()
97 if (n->kind() == prim::Guard) { in coalesceGuards()
110 } else if (n->kind() != prim::Constant) { in coalesceGuards()
124 if (n->kind() == prim::Guard) { in removeDominatedGuards()
138 if (use.user->kind() != prim::Guard) { in removeDominatedGuards()
163 if (user->kind() == prim::Guard) { in removeDominatedGuards()
[all …]
/aosp_15_r20/external/pytorch/
H A Dpt_ops.bzl175 "prim::TupleUnpack",
176 "prim::unchecked_cast",
194 "prim::NumToTensor.Scalar",
195 "prim::RaiseException",
198 "prim::EnumName",
199 "prim::EnumValue.int",
200 "prim::EnumValue.float",
201 "prim::EnumValue.str",
202 "prim::TupleIndex",
204 "prim::unchecked_unwrap_optional",
[all …]
/aosp_15_r20/external/pytorch/test/cpp/tensorexpr/
H A Dtest_quantization.cpp35 %2 : int = prim::Constant[value=12]() in TEST_F()
36 %3 : int = prim::Constant[value=13]() in TEST_F()
37 %4 : float = prim::Constant[value=0.1]() in TEST_F()
65 %2 : int = prim::Constant[value=13]() in TEST_F()
66 %3 : int = prim::Constant[value=122]() in TEST_F()
67 %4 : float = prim::Constant[value=0.1]() in TEST_F()
95 %2 : int = prim::Constant[value=13]() in TEST_F()
96 %3 : int = prim::Constant[value=122]() in TEST_F()
97 %4 : float = prim::Constant[value=0.1]() in TEST_F()
140 %2 : int = prim::Constant[value=12]() in TEST_F()
[all …]
/aosp_15_r20/frameworks/base/tools/aapt2/integration-tests/DumpTest/
H A Dcomponents_full_proto.txt197 prim {
220 prim {
243 prim {
266 prim {
289 prim {
312 prim {
335 prim {
363 prim {
960 prim {
978 prim {
[all …]
/aosp_15_r20/external/mesa3d/src/asahi/lib/shaders/
H A Dgeometry.cl23 * With prim and flatshade_first, the map : [0, 1, 2] -> [0, 1, 2] is its own
27 libagx_map_vertex_in_tri_strip(uint prim, uint vert, bool flatshade_first)
31 bool even = (prim & 1) == 0;
49 libagx_vertex_id_for_line_loop(uint prim, uint vert, uint num_prims)
52 if (prim == (num_prims - 1) && vert == 1)
55 return prim + vert;
59 libagx_vertex_id_for_line_class(enum mesa_prim mode, uint prim, uint vert,
63 if (mode == MESA_PRIM_LINE_LOOP && prim == (num_prims - 1) && vert == 1)
67 prim *= 2;
69 return prim + vert;
[all …]
/aosp_15_r20/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw_arrays.c75 enum mesa_prim prim, in retrieve_or_generate_indices() argument
88 if (hwtnl->index_cache[prim][i].buffer != NULL && in retrieve_or_generate_indices()
89 hwtnl->index_cache[prim][i].generate == generate) { in retrieve_or_generate_indices()
90 if (compare(hwtnl->index_cache[prim][i].gen_nr, gen_nr, gen_type)) { in retrieve_or_generate_indices()
92 hwtnl->index_cache[prim][i].buffer); in retrieve_or_generate_indices()
100 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer, in retrieve_or_generate_indices()
105 i, hwtnl->index_cache[prim][i].gen_nr); in retrieve_or_generate_indices()
117 if (hwtnl->index_cache[prim][i].buffer == NULL) { in retrieve_or_generate_indices()
121 else if (hwtnl->index_cache[prim][i].gen_nr < smallest) { in retrieve_or_generate_indices()
123 smallest_size = hwtnl->index_cache[prim][i].gen_nr; in retrieve_or_generate_indices()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/jit/
H A DOVERVIEW.md140 %2 : int = prim::Constant[value=1]()
156 …o them, which are called _attributes_. You can see that it's used in the `prim::Constant` node, wh…
180 … one output `Tensor`. `Nodes` can produce multiple outputs. For instance `prim::TupleUnpack` split…
199 …rimitive operators to encode additional data in the `Node`. For instance `prim::Constant` defines …
207 … itself has a top-level `Graph::block()`, and control-flow nodes (`prim::If` and `prim::Loop`) als…
213 …n the `Block`. The `prim::Param` node represents the inputs to the `Block` and does not have a `pr…
214prim::Return` `Node` serving as the beginning/end sentinel. Inserting and deleting at arbitrary pl…
220 …trol-flow graph representation. A `prim::If` has one `Block` for the true branch and one `Block` f…
223 If-statement (`prim::If`) `Blocks` have no inputs, and the outputs are the new values of variables …
226 %y_1, ..., %y_r = prim::If(%condition)
[all …]
/aosp_15_r20/external/angle/src/libANGLE/renderer/metal/shaders/
H A Drewrite_indices.metal223 uint prim [[thread_position_in_grid]])
229 if(prim < primCount)
234 onIndex = prim;
235 onOutIndex = prim;
238 onIndex = prim * 2;
239 onOutIndex = prim * 2;
242 onIndex = prim;
243 onOutIndex = prim * 2;
246 onIndex = prim * 3;
247 onOutIndex = prim * 3;
[all …]

12345678910>>...52