Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 8094) sorted by relevance

12345678910>>...324

/external/tensorflow/tensorflow/core/ops/
Dlinalg_ops_test.cc25 ShapeInferenceTestOp op("MatrixDeterminant"); in TEST() local
26 INFER_OK(op, "?", "?"); in TEST()
27 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]"); in TEST()
28 INFER_ERROR("Dimensions must be equal, but are 2 and 1", op, "[1,?,3,4,1,2]"); in TEST()
30 INFER_OK(op, "[?,?]", "[]"); in TEST()
31 INFER_OK(op, "[1,?]", "[]"); in TEST()
32 INFER_OK(op, "[?,1]", "[]"); in TEST()
35 INFER_OK(op, "[1,?,3,4,?,?]", "[d0_0,d0_1,d0_2,d0_3]"); in TEST()
36 INFER_OK(op, "[1,?,3,4,1,?]", "[d0_0,d0_1,d0_2,d0_3]"); in TEST()
37 INFER_OK(op, "[1,?,3,4,?,1]", "[d0_0,d0_1,d0_2,d0_3]"); in TEST()
[all …]
Dnn_ops_test.cc27 ShapeInferenceTestOp op("TopK"); in TEST() local
28 auto set_k = [&op](int k) { in TEST()
32 .Finalize(&op.node_def)); in TEST()
37 INFER_OK(op, "?", "?;?"); in TEST()
39 INFER_OK(op, "[20]", "[20];[20]"); in TEST()
40 INFER_OK(op, "[21]", "[20];[20]"); in TEST()
43 INFER_OK(op, "[1,?,21]", "[d0_0,d0_1,20];[d0_0,d0_1,20]"); in TEST()
45 INFER_OK(op, "[1,?,21,?]", "[d0_0,d0_1,d0_2,20];[d0_0,d0_1,d0_2,20]"); in TEST()
47 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[]"); in TEST()
48 INFER_ERROR("input must have last dimension >= k = 20 but is 1", op, "[1]"); in TEST()
[all …]
Dtraining_ops_test.cc23 static void TestGradAndIndicesErrorHandling(const ShapeInferenceTestOp& op, in TestGradAndIndicesErrorHandling() argument
33 INFER_ERROR("Dimension 1 in both shapes must be equal", op, in TestGradAndIndicesErrorHandling()
36 INFER_ERROR("Dimensions must be equal, but are 1 and 2", op, in TestGradAndIndicesErrorHandling()
39 INFER_ERROR("must be equal rank", op, shape_spec("[1]", "[?,2];[?]")); in TestGradAndIndicesErrorHandling()
41 INFER_ERROR("Shape must be rank 1 but is rank 2", op, in TestGradAndIndicesErrorHandling()
46 ShapeInferenceTestOp op("ApplyGradientDescent"); in TEST() local
49 INFER_OK(op, "[1,?];[];[?,2]", "[d0_0,d2_1]"); in TEST()
50 INFER_ERROR("Dimension 0 in both shapes must be equal, but are 1 and 2", op, in TEST()
54 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "?;[?];?"); in TEST()
58 ShapeInferenceTestOp op("ApplyProximalGradientDescent"); in TEST() local
[all …]
Darray_ops_test.cc31 ShapeInferenceTestOp op("UnravelIndex"); in TEST() local
33 INFER_OK(op, "?;?", "?"); in TEST()
35 INFER_OK(op, "[];[?]", "[d1_0]"); in TEST()
37 INFER_OK(op, "[4,5];[?]", "[d1_0,20]"); in TEST()
38 INFER_OK(op, "[2,3,4];[?]", "[d1_0,24]"); in TEST()
39 INFER_OK(op, "?;[?]", "?"); in TEST()
40 INFER_OK(op, "[?];[?]", "[d1_0,?]"); in TEST()
42 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "?;[1,1]"); in TEST()
46 ShapeInferenceTestOp op("Pack"); in TEST() local
47 auto set_axis = [&op](int axis) { in TEST()
[all …]
Dmath_ops_test.cc29 ShapeInferenceTestOp op("AddN"); in TEST() local
30 auto set_n = [&op](int n) { in TEST()
37 .Finalize(&op.node_def)); in TEST()
42 INFER_OK(op, "?;?", "in0|in1"); in TEST()
45 INFER_OK(op, "[1];[?]", "in0"); in TEST()
46 INFER_OK(op, "[1];?", "in0"); in TEST()
47 INFER_OK(op, "[?];[1]", "in1"); in TEST()
48 INFER_OK(op, "?;[1]", "in1"); in TEST()
51 INFER_OK(op, "[1,2];[?,2]", "in0"); in TEST()
52 INFER_OK(op, "[1,2];[1,2]", "in0|in1"); in TEST()
[all …]
Dspectral_ops_test.cc24 ShapeInferenceTestOp op(op_name); in TEST() local
25 INFER_OK(op, "?", "in0"); in TEST()
26 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, "[]"); in TEST()
27 INFER_OK(op, "[?]", "in0"); in TEST()
28 INFER_OK(op, "[1]", "in0"); in TEST()
29 INFER_OK(op, "[1,2,3,4,5,6,7]", "in0"); in TEST()
33 ShapeInferenceTestOp op(op_name); in TEST() local
34 INFER_OK(op, "?", "in0"); in TEST()
35 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[1]"); in TEST()
36 INFER_OK(op, "[?,1]", "in0"); in TEST()
[all …]
Dsparse_ops_test.cc26 ShapeInferenceTestOp op("SparseTensorDenseAdd"); in TEST() local
29 INFER_OK(op, "?;?;?;?", "in3"); in TEST()
33 ShapeInferenceTestOp op("SparseAdd"); in TEST() local
35 INFER_OK(op, "?;?;?;?;?;?;?", "[?,?];[?];[?]"); in TEST()
38 INFER_OK(op, "?;?;[?];?;?;?;?", "[?,d2_0];[?];in2"); in TEST()
39 INFER_OK(op, "?;?;[1];?;?;?;?", "[?,d2_0];[?];in2"); in TEST()
43 ShapeInferenceTestOp op("SparseAddGrad"); in TEST() local
46 INFER_ERROR("must be rank 2", op, "?;?;[1];?"); in TEST()
47 INFER_ERROR("must be rank 2", op, "?;[1];?;?"); in TEST()
49 INFER_OK(op, "?;?;?;?", "[?];[?]"); in TEST()
[all …]
Dimage_ops_test.cc26 ShapeInferenceTestOp op("SampleDistortedBoundingBox"); in TEST() local
27 INFER_OK(op, "?;?", "[3];[3];[1,1,4]"); in TEST()
33 ShapeInferenceTestOp op(op_name); in TEST() local
34 op.input_tensors.resize(2); in TEST()
39 INFER_ERROR("Shape must be rank 4 but is rank 5", op, "[1,2,3,4,5];?"); in TEST()
40 INFER_ERROR("Shape must be rank 4 but is rank 3", op, "[1,2,3];?"); in TEST()
41 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "?;[]"); in TEST()
42 INFER_ERROR("Dimension must be 2 but is 3", op, "?;[3]"); in TEST()
45 INFER_OK(op, "[1,?,3,?];[2]", "[d0_0,?,?,d0_3]"); in TEST()
48 op.input_tensors[1] = &size_tensor; in TEST()
[all …]
Dio_ops_test.cc25 ShapeInferenceTestOp op("Save"); in TEST() local
27 TF_ASSERT_OK(NodeDefBuilder("test", op.name) in TEST()
32 .Finalize(&op.node_def)); in TEST()
33 INFER_OK(op, "?;?;?;?", ""); in TEST()
34 INFER_OK(op, "[];[2];?;?", ""); in TEST()
37 INFER_ERROR("Shape must be rank 0 but is rank 1", op, "[?];?;?;?"); in TEST()
40 INFER_ERROR("Shape must be rank 1 but is rank 2", op, "[];[2,3];?;?"); in TEST()
41 INFER_ERROR("Dimension must be 2 but is 3", op, "[];[3];?;?"); in TEST()
45 ShapeInferenceTestOp op("SaveSlices"); in TEST() local
47 TF_ASSERT_OK(NodeDefBuilder("test", op.name) in TEST()
[all …]
Dset_ops_test.cc25 ShapeInferenceTestOp op("DenseToDenseSetOperation"); in TEST() local
26 op.input_tensors.resize(3); in TEST()
27 INFER_ERROR("Wrong number of inputs passed", op, "?;?;?"); in TEST()
31 ShapeInferenceTestOp op("DenseToDenseSetOperation"); in TEST() local
34 INFER_OK(op, "?;?", "[?,?];[?];[?]"); in TEST()
37 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[?];?"); in TEST()
38 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "?;[?]"); in TEST()
39 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "[2];?"); in TEST()
40 INFER_ERROR("Shape must be at least rank 2 but is rank 1", op, "?;[2]"); in TEST()
43 INFER_ERROR("Shape must be rank 2 but is rank 3", op, "[?,?];[?,?,?]"); in TEST()
[all …]
Ddata_flow_ops_test.cc27 ShapeInferenceTestOp op("LookupTableFind"); in TEST() local
28 INFER_OK(op, "?;?;?", "?"); in TEST()
29 INFER_OK(op, "[2];[];[]", "?"); in TEST()
30 INFER_OK(op, "[?];[1,2,3];[]", "?"); in TEST()
33 INFER_ERROR("Shape must be at most rank 1 but is rank 2", op, in TEST()
38 ShapeInferenceTestOp op("LookupTableInsert"); in TEST() local
39 INFER_OK(op, "?;?;?", ""); in TEST()
40 INFER_OK(op, "[2];[];[]", ""); in TEST()
43 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "[];[1,2,3];[]"); in TEST()
44 INFER_OK(op, "[2];[1,?,3];[?,2,?]", ""); in TEST()
[all …]
Dsparse_csr_matrix_ops_test.cc29 ShapeInferenceTestOp op("SparseTensorToCSRSparseMatrix"); in TEST() local
30 (*op.node_def.mutable_attr())["T"].set_type(DT_FLOAT); in TEST()
31 op.input_tensors.resize(3); in TEST()
33 INFER_ERROR("Expected a known rank", op, "?;?;?"); in TEST()
34 INFER_ERROR("either 2 or 3", op, "[?,4];?;?"); in TEST()
35 INFER_OK(op, "[?,2];?;?", "[]"); in TEST()
36 INFER_OK(op, "[?,3];?;?", "[]"); in TEST()
38 op.input_tensors[2] = &dense_shape_t; in TEST()
39 INFER_ERROR("Shape must be rank 3 but is rank 2 for", op, "[?,3];?;?"); in TEST()
40 INFER_OK(op, "[?,2];?;?", "[]"); in TEST()
[all …]
/external/tensorflow/tensorflow/core/grappler/
Dop_types.cc31 if (node.op() == "AddV2") { in IsAdd()
34 if (node.op() == "Add") { in IsAdd()
41 bool IsAddN(const NodeDef& node) { return node.op() == "AddN"; } in IsAddN()
43 bool IsAll(const NodeDef& node) { return node.op() == "All"; } in IsAll()
45 bool IsAngle(const NodeDef& node) { return node.op() == "Angle"; } in IsAngle()
47 bool IsAny(const NodeDef& node) { return node.op() == "Any"; } in IsAny()
50 return node.op() == "RealDiv" || node.op() == "Div" || node.op() == "Xdivy" || in IsAnyDiv()
51 node.op() == "FloorDiv" || node.op() == "TruncateDiv"; in IsAnyDiv()
55 return node.op() == "BatchMatMul" || node.op() == "BatchMatMulV2"; in IsAnyBatchMatMul()
59 return node.op() == "MatMul" || node.op() == "SparseMatMul" || in IsAnyMatMul()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderLoopTests.cpp319 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() local
357op << "layout(std140, set=0, binding=" << locationCounter << ") uniform buff"<< locationCounter <<… in createGenericLoopCase()
358 op << " ${COUNTER_PRECISION} int " << getIntUniformName(numLoopIters) << ";\n"; in createGenericLoopCase()
359 op << "};\n"; in createGenericLoopCase()
367op << "layout(std140, set=0, binding=" << locationCounter << ") uniform buff" << locationCounter <… in createGenericLoopCase()
368 op << " ${COUNTER_PRECISION} float " << getFloatFractionUniformName(numLoopIters) << ";\n"; in createGenericLoopCase()
369 op << "};\n"; in createGenericLoopCase()
375op << "layout(std140, set=0, binding=" << locationCounter << ") uniform buff" << locationCounter <… in createGenericLoopCase()
376 op << " ${COUNTER_PRECISION} float uf_one;\n"; in createGenericLoopCase()
377 op << "};\n"; in createGenericLoopCase()
[all …]
/external/grpc-grpc/test/core/end2end/
Dinvalid_call_argument_test.cc58 grpc_op* op; in prepare_test() local
95 op = g_state.ops; in prepare_test()
96 op->op = GRPC_OP_SEND_INITIAL_METADATA; in prepare_test()
97 op->data.send_initial_metadata.count = 0; in prepare_test()
98 op->flags = GRPC_INITIAL_METADATA_WAIT_FOR_READY; in prepare_test()
99 op->reserved = nullptr; in prepare_test()
100 op++; in prepare_test()
102 (size_t)(op - g_state.ops), in prepare_test()
157 grpc_op* op; in test_non_null_reserved_on_op() local
160 op = g_state.ops; in test_non_null_reserved_on_op()
[all …]
/external/mesa3d/prebuilt-intermediates/glsl/
Dir_expression_operation_constant.h3 for (unsigned c = 0; c < op[0]->type->components(); c++) {
4 switch (op[0]->type->base_type) {
6 data.u[c] = ~ op[0]->value.u[c];
9 data.i[c] = ~ op[0]->value.i[c];
12 data.u64[c] = ~ op[0]->value.u64[c];
15 data.i64[c] = ~ op[0]->value.i64[c];
24 for (unsigned c = 0; c < op[0]->type->components(); c++) {
25 switch (op[0]->type->base_type) {
27 data.b[c] = !op[0]->value.b[c];
36 for (unsigned c = 0; c < op[0]->type->components(); c++) {
[all …]
/external/tensorflow/tensorflow/python/ops/
Dnn_grad.py33 def _Conv2DBackpropInputGrad(op, grad): argument
49 array_ops.shape(op.inputs[1]),
50 op.inputs[2],
51 dilations=op.get_attr("dilations"),
52 strides=op.get_attr("strides"),
53 padding=op.get_attr("padding"),
54 explicit_paddings=op.get_attr("explicit_paddings"),
55 use_cudnn_on_gpu=op.get_attr("use_cudnn_on_gpu"),
56 data_format=op.get_attr("data_format").decode()),
59 op.inputs[1],
[all …]
/external/grpc-grpc/test/core/end2end/tests/
Dmax_concurrent_streams.cc92 grpc_op* op; in simple_request_body() local
114 op = ops; in simple_request_body()
115 op->op = GRPC_OP_SEND_INITIAL_METADATA; in simple_request_body()
116 op->data.send_initial_metadata.count = 0; in simple_request_body()
117 op->flags = 0; in simple_request_body()
118 op->reserved = nullptr; in simple_request_body()
119 op++; in simple_request_body()
120 op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT; in simple_request_body()
121 op->flags = 0; in simple_request_body()
122 op->reserved = nullptr; in simple_request_body()
[all …]
/external/angle/third_party/glslang/src/Test/baseResults/
Dspv.vulkan100.subgroupPartitioned.comp.out2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3
3 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3
4 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3
5 ERROR: 0:23: 'subgroup op' : requires SPIR-V 1.3
6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3
7 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3
8 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3
9 ERROR: 0:28: 'subgroup op' : requires SPIR-V 1.3
10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3
11 ERROR: 0:31: 'subgroup op' : requires SPIR-V 1.3
[all …]
Dspv.vulkan100.subgroupArithmetic.comp.out2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3
3 ERROR: 0:20: 'subgroup op' : requires SPIR-V 1.3
4 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3
5 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3
6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3
7 ERROR: 0:25: 'subgroup op' : requires SPIR-V 1.3
8 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3
9 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3
10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3
11 ERROR: 0:30: 'subgroup op' : requires SPIR-V 1.3
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.vulkan100.subgroupPartitioned.comp.out2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3
3 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3
4 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3
5 ERROR: 0:23: 'subgroup op' : requires SPIR-V 1.3
6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3
7 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3
8 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3
9 ERROR: 0:28: 'subgroup op' : requires SPIR-V 1.3
10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3
11 ERROR: 0:31: 'subgroup op' : requires SPIR-V 1.3
[all …]
Dspv.vulkan100.subgroupArithmetic.comp.out2 ERROR: 0:19: 'subgroup op' : requires SPIR-V 1.3
3 ERROR: 0:20: 'subgroup op' : requires SPIR-V 1.3
4 ERROR: 0:21: 'subgroup op' : requires SPIR-V 1.3
5 ERROR: 0:22: 'subgroup op' : requires SPIR-V 1.3
6 ERROR: 0:24: 'subgroup op' : requires SPIR-V 1.3
7 ERROR: 0:25: 'subgroup op' : requires SPIR-V 1.3
8 ERROR: 0:26: 'subgroup op' : requires SPIR-V 1.3
9 ERROR: 0:27: 'subgroup op' : requires SPIR-V 1.3
10 ERROR: 0:29: 'subgroup op' : requires SPIR-V 1.3
11 ERROR: 0:30: 'subgroup op' : requires SPIR-V 1.3
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderLoopTests.cpp280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() local
312 op << "uniform ${COUNTER_PRECISION} int " << getIntUniformName(numLoopIters) << ";\n"; in createGenericLoopCase()
317op << "uniform ${COUNTER_PRECISION} float " << getFloatFractionUniformName(numLoopIters) << ";\n"; in createGenericLoopCase()
320 op << "uniform ${COUNTER_PRECISION} float uf_one;\n"; in createGenericLoopCase()
356 op << " ${PRECISION} vec4 res = coords;\n"; in createGenericLoopCase()
410 op << " for (" + loopCountDeclStr + "; " + loopCmpStr + "; " + incrementStr + ")\n"; in createGenericLoopCase()
411 op << " {\n"; in createGenericLoopCase()
412 op << loopBody; in createGenericLoopCase()
413 op << " }\n"; in createGenericLoopCase()
417 op << "\t" << loopCountDeclStr + ";\n"; in createGenericLoopCase()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns_test.cc217 ShapeInferenceTestOp op("Einsum"); in TEST() local
218 auto set_equation = [&op](int n, string equation) { in TEST()
227 .Finalize(&op.node_def)); in TEST()
232 INFER_OK(op, "[?,?,?]", "[d0_2]"); in TEST()
234 INFER_OK(op, "[?,?,?]", "[d0_0,d0_0,d0_1,d0_1,d0_2,d0_2]"); in TEST()
236 INFER_OK(op, "[?,?,?]", "[]"); in TEST()
238 INFER_OK(op, "[]", "[]"); in TEST()
242 INFER_OK(op, "[?,?];[?,?]", "[d0_0,d1_1]"); in TEST()
244 INFER_OK(op, "[?,?];[?,?]", "[d0_0,d1_1]"); in TEST()
246 INFER_OK(op, "[?,?];[?,?]", "[]"); in TEST()
[all …]
/external/google-breakpad/src/third_party/libdisasm/
Dia32_operand.c16 static void apply_seg( x86_op_t *op, unsigned int prefixes ) { in apply_seg() argument
22 op->flags |= op_cs_seg; break; in apply_seg()
24 op->flags |= op_ss_seg; break; in apply_seg()
26 op->flags |= op_ds_seg; break; in apply_seg()
28 op->flags |= op_es_seg; break; in apply_seg()
30 op->flags |= op_fs_seg; break; in apply_seg()
32 op->flags |= op_gs_seg; break; in apply_seg()
39 x86_op_t *op, x86_insn_t *insn, in decode_operand_value() argument
68 size = ia32_modrm_decode( buf, buf_len, op, insn, in decode_operand_value()
72 size = ia32_modrm_decode( buf, buf_len, op, insn, in decode_operand_value()
[all …]

12345678910>>...324