/external/tensorflow/tensorflow/core/ops/ |
D | linalg_ops_test.cc | 25 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 …]
|
D | nn_ops_test.cc | 27 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 …]
|
D | array_ops_test.cc | 31 ShapeInferenceTestOp op("TensorScatterUpdate"); in TEST() local 33 INFER_OK(op, "[4,3];[8,2];[8]", "in0"); in TEST() 34 INFER_OK(op, "[?,?];[?,2];[?]", "in0"); in TEST() 35 INFER_OK(op, "[?];[?];[?]", "in0"); in TEST() 37 INFER_ERROR("Shape must be at least rank 1 but is rank 0", op, in TEST() 39 INFER_ERROR("Indices and updates specified for empty input", op, in TEST() 44 op, "[?,?];[8,2];[9]"); in TEST() 48 op, "[?,?];[?,2];[?,1]"); in TEST() 52 ShapeInferenceTestOp op("ScatterNd"); in TEST() local 54 INFER_OK(op, "[8,2];[8];[2]", "[?,?]"); in TEST() [all …]
|
D | training_ops_test.cc | 23 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 …]
|
D | math_ops_test.cc | 29 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 …]
|
D | spectral_ops_test.cc | 24 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 …]
|
D | sparse_ops_test.cc | 26 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 …]
|
D | image_ops_test.cc | 27 ShapeInferenceTestOp op("SampleDistortedBoundingBox"); in TEST() local 28 INFER_OK(op, "?;?", "[3];[3];[1,1,4]"); in TEST() 34 ShapeInferenceTestOp op(op_name); in TEST() local 35 op.input_tensors.resize(2); in TEST() 40 INFER_ERROR("Shape must be rank 4 but is rank 5", op, "[1,2,3,4,5];?"); in TEST() 41 INFER_ERROR("Shape must be rank 4 but is rank 3", op, "[1,2,3];?"); in TEST() 42 INFER_ERROR("Shape must be rank 1 but is rank 0", op, "?;[]"); in TEST() 43 INFER_ERROR("Dimension must be 2 but is 3", op, "?;[3]"); in TEST() 46 INFER_OK(op, "[1,?,3,?];[2]", "[d0_0,?,?,d0_3]"); in TEST() 49 op.input_tensors[1] = &size_tensor; in TEST() [all …]
|
D | io_ops_test.cc | 25 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 …]
|
D | set_ops_test.cc | 25 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 …]
|
/external/tensorflow/tensorflow/compiler/xla/service/spmd/ |
D | spmd_partitioner_test.cc | 36 namespace op = xla::testing::opcode_matchers; 111 EXPECT_THAT(root, AllOf(op::Copy(op::AllReduce( in TEST_F() 112 op::Select(op::Broadcast(op::Compare()), in TEST_F() 113 op::Constant(), op::Broadcast()))), in TEST_F() 114 op::Shape("s32[2,3]"))); in TEST_F() 135 EXPECT_THAT(root, AllOf(op::Copy(op::AllReduce( in TEST_F() 136 op::Select(op::Broadcast(op::Compare()), in TEST_F() 137 op::Conditional(), op::Broadcast()))), in TEST_F() 138 op::Shape("s32[2,3]"))); in TEST_F() 154 EXPECT_THAT(root, op::Copy(AllOf(op::Copy(op::AllReduce(op::Select( in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/grappler/ |
D | op_types.cc | 31 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/ |
D | vktShaderRenderLoopTests.cpp | 319 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() local 357 …op << "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() 367 …op << "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() 375 …op << "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/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_concat_code_motion_test.cc | 36 namespace op = ::xla::testing::opcode_matchers; 85 auto loop = op::While( in TEST_F() 86 op::Tuple(op::Constant(), in TEST_F() 87 AllOf(op::Shape("f32[2048,1024]"), in TEST_F() 88 op::Concatenate(op::Parameter(0), op::Parameter(1))))); in TEST_F() 91 op::Tuple(op::GetTupleElement(loop), op::Slice(op::GetTupleElement(loop)), in TEST_F() 92 op::Slice(op::GetTupleElement(loop)))); in TEST_F() 96 op::Tuple(op::Add(), in TEST_F() 97 op::Add(op::CustomCall(), in TEST_F() 98 op::Reshape(op::Broadcast(op::CustomCall()))))); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/ir/ |
D | tf_op_names.cc | 24 bool TFGraphDialect::IsAdd(TFOp op) const { in IsAdd() 25 StringAttr op_name = op->getName().getIdentifier(); in IsAdd() 28 if (op_name == add_) return !op->getAttrOfType<StringAttr>("T"); in IsAdd() 32 bool TFGraphDialect::IsAddN(TFOp op) const { in IsAddN() 33 StringAttr op_name = op->getName().getIdentifier(); in IsAddN() 37 bool TFGraphDialect::IsAll(TFOp op) const { in IsAll() 38 StringAttr op_name = op->getName().getIdentifier(); in IsAll() 42 bool TFGraphDialect::IsAngle(TFOp op) const { in IsAngle() 43 StringAttr op_name = op->getName().getIdentifier(); in IsAngle() 47 bool TFGraphDialect::IsAny(TFOp op) const { in IsAny() [all …]
|
/external/mesa3d/prebuilt-intermediates/glsl/ |
D | ir_expression_operation_constant.h | 3 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/grpc-grpc/test/core/end2end/ |
D | invalid_call_argument_test.cc | 58 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/grpc-grpc/test/core/end2end/tests/ |
D | max_concurrent_streams.cc | 92 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/sg3_utils/src/ |
D | sg_decode_sense.c | 151 parse_cmd_line(struct opts_t *op, int argc, char *argv[]) in parse_cmd_line() argument 167 if (op->fname) { in parse_cmd_line() 172 op->do_binary = true; in parse_cmd_line() 173 op->fname = optarg; in parse_cmd_line() 176 op->do_cdb = true; in parse_cmd_line() 184 op->err_given = true; in parse_cmd_line() 185 op->es_val = n; in parse_cmd_line() 188 if (op->fname) { in parse_cmd_line() 193 op->file_given = true; in parse_cmd_line() 194 op->fname = optarg; in parse_cmd_line() [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | nn_grad.py | 31 def _Conv2DBackpropInputGrad(op, grad): argument 47 array_ops.shape(op.inputs[1]), 48 op.inputs[2], 49 dilations=op.get_attr("dilations"), 50 strides=op.get_attr("strides"), 51 padding=op.get_attr("padding"), 52 explicit_paddings=op.get_attr("explicit_paddings"), 53 use_cudnn_on_gpu=op.get_attr("use_cudnn_on_gpu"), 54 data_format=op.get_attr("data_format").decode()), 57 op.inputs[1], [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.vulkan100.subgroupPartitioned.comp.out | 2 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 …]
|
D | spv.vulkan100.subgroupArithmetic.comp.out | 2 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/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.vulkan100.subgroupPartitioned.comp.out | 2 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 …]
|
D | spv.vulkan100.subgroupArithmetic.comp.out | 2 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/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenMCCodeEmitter.inc | 4238 uint64_t op = 0; 4239 (void)op; // suppress warning 4510 // op: Dd 4511 op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI); 4512 Value |= (op & UINT64_C(16)) << 18; 4513 Value |= (op & UINT64_C(15)) << 12; 4514 // op: Dm 4515 op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI); 4516 Value |= (op & UINT64_C(16)) << 1; 4517 Value |= (op & UINT64_C(15)); [all …]
|