/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("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 …]
|
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 | 26 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 …]
|
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 …]
|
D | data_flow_ops_test.cc | 27 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 …]
|
/external/tensorflow/tensorflow/core/grappler/ |
D | op_types.cc | 30 if (node.op() == "AddV2" || node.op() == "Add") { in IsAdd() 37 bool IsAddN(const NodeDef& node) { return node.op() == "AddN"; } in IsAddN() 39 bool IsAll(const NodeDef& node) { return node.op() == "All"; } in IsAll() 41 bool IsAngle(const NodeDef& node) { return node.op() == "Angle"; } in IsAngle() 43 bool IsAny(const NodeDef& node) { return node.op() == "Any"; } in IsAny() 46 return node.op() == "RealDiv" || node.op() == "Div" || in IsAnyDiv() 47 node.op() == "FloorDiv" || node.op() == "TruncateDiv"; in IsAnyDiv() 51 const auto& op = node.op(); in IsAnyMax() local 52 return op == "Max" || op == "SegmentMax" || op == "UnsortedSegmentMax"; in IsAnyMax() 56 const auto& op = node.op(); in IsAnyMaxPool() local [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/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/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/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/tensorflow/tensorflow/python/ops/ |
D | nn_grad.py | 33 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 use_cudnn_on_gpu=op.get_attr("use_cudnn_on_gpu"), 53 data_format=op.get_attr("data_format").decode()), 56 op.inputs[1], 57 dilations=op.get_attr("dilations"), [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/deqp/modules/gles2/functional/ |
D | es2fShaderLoopTests.cpp | 280 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() local 312 op << "uniform ${COUNTER_PRECISION} int " << getIntUniformName(numLoopIters) << ";\n"; in createGenericLoopCase() 317 … op << "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/deqp/external/openglcts/modules/common/ |
D | glcShaderLoopTests.cpp | 226 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() local 262 op << "uniform ${COUNTER_PRECISION} int " << getIntUniformName(numLoopIters) << ";\n"; in createGenericLoopCase() 267 … op << "uniform ${COUNTER_PRECISION} float " << getFloatFractionUniformName(numLoopIters) << ";\n"; in createGenericLoopCase() 270 op << "uniform ${COUNTER_PRECISION} float uf_one;\n"; in createGenericLoopCase() 306 op << " ${PRECISION} vec4 res = coords;\n"; in createGenericLoopCase() 363 op << " for (" + loopCountDeclStr + "; " + loopCmpStr + "; " + incrementStr + ")\n"; in createGenericLoopCase() 364 op << " {\n"; in createGenericLoopCase() 365 op << loopBody; in createGenericLoopCase() 366 op << " }\n"; in createGenericLoopCase() 370 op << "\t" << loopCountDeclStr + ";\n"; in createGenericLoopCase() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderLoopTests.cpp | 248 std::ostringstream& op = isVertexCase ? vtx : frag; in createGenericLoopCase() local 284 op << "uniform ${COUNTER_PRECISION} int " << getIntUniformName(numLoopIters) << ";\n"; in createGenericLoopCase() 289 … op << "uniform ${COUNTER_PRECISION} float " << getFloatFractionUniformName(numLoopIters) << ";\n"; in createGenericLoopCase() 292 op << "uniform ${COUNTER_PRECISION} float uf_one;\n"; in createGenericLoopCase() 328 op << " ${PRECISION} vec4 res = coords;\n"; in createGenericLoopCase() 382 op << " for (" + loopCountDeclStr + "; " + loopCmpStr + "; " + incrementStr + ")\n"; in createGenericLoopCase() 383 op << " {\n"; in createGenericLoopCase() 384 op << loopBody; in createGenericLoopCase() 385 op << " }\n"; in createGenericLoopCase() 389 op << "\t" << loopCountDeclStr + ";\n"; in createGenericLoopCase() [all …]
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | operator_test.cc | 60 std::unique_ptr<T> SerializeAndDeserialize(const BaseOperator& op, in SerializeAndDeserialize() argument 64 Options input_options = op.Serialize(toco_op, &builder); in SerializeAndDeserialize() 75 auto new_toco_op = op.Deserialize(output_options->builtin_options(), in SerializeAndDeserialize() 104 T op; in CheckReducerOperator() local 106 op.keep_dims = false; in CheckReducerOperator() 108 auto output_toco_op = SerializeAndDeserialize(GetOperator(name, type), op); in CheckReducerOperator() 109 EXPECT_EQ(op.keep_dims, output_toco_op->keep_dims); in CheckReducerOperator() 162 AddOperator op; in TEST_F() local 163 op.fused_activation_function = FusedActivationFunctionType::kRelu6; in TEST_F() 165 SerializeAndDeserialize(GetOperator("ADD", OperatorType::kAdd), op); in TEST_F() [all …]
|
/external/google-breakpad/src/third_party/libdisasm/ |
D | ia32_operand.c | 16 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 …]
|
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/ARM/ |
D | ARMGenMCCodeEmitter.inc | 3234 uint64_t op = 0; 3235 (void)op; // suppress warning 3502 // op: Dd 3503 op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI); 3504 Value |= (op & UINT64_C(16)) << 18; 3505 Value |= (op & UINT64_C(15)) << 12; 3506 // op: Dm 3507 op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI); 3508 Value |= (op & UINT64_C(16)) << 1; 3509 Value |= op & UINT64_C(15); [all …]
|