/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_json/ |
D | single_tbe_json_creator.cc | 121 nlohmann::json input_desc; in GenInputsJson() local 122 GenInputDescJson(anf_node, i, &input_desc); in GenInputsJson() 123 inputs_desc.emplace_back(input_desc); in GenInputsJson() 129 nlohmann::json input_desc; in GenInputsJson() local 130 input_desc[kJValid] = false; in GenInputsJson() 131 input_desc[kJShape] = kJNull; in GenInputsJson() 132 input_desc[kJDataType] = 0; in GenInputsJson() 133 inputs_desc.emplace_back(input_desc); in GenInputsJson() 148 nlohmann::json *input_desc) { in GenInputDescJson() argument 150 MS_EXCEPTION_IF_NULL(input_desc); in GenInputDescJson() [all …]
|
D | fusion_tbe_json_creator.cc | 134 for (const auto &input_desc : inputs_desc) { in GenDataJson() local 136 … GetJsonValue<std::string>(input_desc, kJName)) != compute_nodes_fullname.end()) { in GenDataJson() 140 nlohmann::json output_desc = input_desc; in GenDataJson() 142 if (input_desc.find(kJOriShape) != input_desc.end()) { in GenDataJson() 147 data_json[kJName] = GetJsonValue<std::string>(input_desc, kJName); in GenDataJson() 155 …usionBuildTbeJsonCreator::GetInputCNode(const AnfNodePtr &node, const nlohmann::json &input_desc) { in GetInputCNode() argument 156 auto input_name = GetJsonValue<std::string>(input_desc, kJName); in GetInputCNode() 191 nlohmann::json input_desc; in GenInputsJson() local 192 GenDescJson(kernel_idx.first, kernel_idx.second, kernel_idx.second, &input_desc); in GenInputsJson() 193 GenInputConstValue(anf_node, i - 1, &input_desc); in GenInputsJson() [all …]
|
D | single_tbe_json_creator.h | 34 … GenInputDescJson(const AnfNodePtr &anf_node, size_t real_input_index, nlohmann::json *input_desc); 53 …DescJson(const AnfNodePtr &anf_node, size_t real_input_index, nlohmann::json *input_desc) override; 65 …DescJson(const AnfNodePtr &anf_node, size_t real_input_index, nlohmann::json *input_desc) override;
|
D | fusion_tbe_json_creator.h | 44 AnfNodePtr GetInputCNode(const AnfNodePtr &node, const nlohmann::json &input_desc);
|
D | tbe_json_creator.h | 90 …enInputConstValue(const AnfNodePtr &anf_node, size_t real_input_index, nlohmann::json *input_desc);
|
D | tbe_json_creator.cc | 499 nlohmann::json *input_desc) { in GenInputConstValue() argument 501 MS_EXCEPTION_IF_NULL(input_desc); in GenInputConstValue() 523 ParseConstValue(value, input_desc); in GenInputConstValue()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11overlaycompositor.cpp | 316 D3D11_INPUT_ELEMENT_DESC input_desc[2]; in gst_d3d11_overlay_compositor_setup_shader() local 334 memset (input_desc, 0, sizeof (input_desc)); in gst_d3d11_overlay_compositor_setup_shader() 363 input_desc[0].SemanticName = "POSITION"; in gst_d3d11_overlay_compositor_setup_shader() 364 input_desc[0].SemanticIndex = 0; in gst_d3d11_overlay_compositor_setup_shader() 365 input_desc[0].Format = DXGI_FORMAT_R32G32B32_FLOAT; in gst_d3d11_overlay_compositor_setup_shader() 366 input_desc[0].InputSlot = 0; in gst_d3d11_overlay_compositor_setup_shader() 367 input_desc[0].AlignedByteOffset = D3D11_APPEND_ALIGNED_ELEMENT; in gst_d3d11_overlay_compositor_setup_shader() 368 input_desc[0].InputSlotClass = D3D11_INPUT_PER_VERTEX_DATA; in gst_d3d11_overlay_compositor_setup_shader() 369 input_desc[0].InstanceDataStepRate = 0; in gst_d3d11_overlay_compositor_setup_shader() 371 input_desc[1].SemanticName = "TEXCOORD"; in gst_d3d11_overlay_compositor_setup_shader() [all …]
|
D | gstd3d11converter.cpp | 1469 D3D11_INPUT_ELEMENT_DESC input_desc[2]; in gst_d3d11_color_convert_setup_shader() local 1494 memset (input_desc, 0, sizeof (input_desc)); in gst_d3d11_color_convert_setup_shader() 1637 input_desc[0].SemanticName = "POSITION"; in gst_d3d11_color_convert_setup_shader() 1638 input_desc[0].SemanticIndex = 0; in gst_d3d11_color_convert_setup_shader() 1639 input_desc[0].Format = DXGI_FORMAT_R32G32B32_FLOAT; in gst_d3d11_color_convert_setup_shader() 1640 input_desc[0].InputSlot = 0; in gst_d3d11_color_convert_setup_shader() 1641 input_desc[0].AlignedByteOffset = D3D11_APPEND_ALIGNED_ELEMENT; in gst_d3d11_color_convert_setup_shader() 1642 input_desc[0].InputSlotClass = D3D11_INPUT_PER_VERTEX_DATA; in gst_d3d11_color_convert_setup_shader() 1643 input_desc[0].InstanceDataStepRate = 0; in gst_d3d11_color_convert_setup_shader() 1645 input_desc[1].SemanticName = "TEXCOORD"; in gst_d3d11_color_convert_setup_shader() [all …]
|
D | gstd3d11shader.cpp | 188 const D3D11_INPUT_ELEMENT_DESC * input_desc, guint desc_len, in gst_d3d11_create_vertex_shader() argument 201 g_return_val_if_fail (input_desc != NULL, FALSE); in gst_d3d11_create_vertex_shader() 219 hr = device_handle->CreateInputLayout (input_desc, in gst_d3d11_create_vertex_shader()
|
D | gstd3d11shader.h | 41 const D3D11_INPUT_ELEMENT_DESC * input_desc,
|
D | gstd3d11compositor.cpp | 2088 D3D11_INPUT_ELEMENT_DESC input_desc; in gst_d3d11_compositor_create_checker_quad() local 2107 memset (&input_desc, 0, sizeof (D3D11_INPUT_ELEMENT_DESC)); in gst_d3d11_compositor_create_checker_quad() 2108 input_desc.SemanticName = "POSITION"; in gst_d3d11_compositor_create_checker_quad() 2109 input_desc.SemanticIndex = 0; in gst_d3d11_compositor_create_checker_quad() 2110 input_desc.Format = DXGI_FORMAT_R32G32B32_FLOAT; in gst_d3d11_compositor_create_checker_quad() 2111 input_desc.InputSlot = 0; in gst_d3d11_compositor_create_checker_quad() 2112 input_desc.AlignedByteOffset = D3D11_APPEND_ALIGNED_ELEMENT; in gst_d3d11_compositor_create_checker_quad() 2113 input_desc.InputSlotClass = D3D11_INPUT_PER_VERTEX_DATA; in gst_d3d11_compositor_create_checker_quad() 2114 input_desc.InstanceDataStepRate = 0; in gst_d3d11_compositor_create_checker_quad() 2117 &input_desc, 1, &vs, &layout)) { in gst_d3d11_compositor_create_checker_quad()
|
D | gstd3d11screencapturesrc.cpp | 552 D3D11_INPUT_ELEMENT_DESC input_desc[] = { in gst_d3d11_screen_capture_prepare_shader() local 571 vs_str, input_desc, G_N_ELEMENTS (input_desc), &vs, &layout)) { in gst_d3d11_screen_capture_prepare_shader()
|
D | gstd3d11screencapture.cpp | 640 D3D11_INPUT_ELEMENT_DESC input_desc[] = { in InitShader() local 650 vs_str, input_desc, G_N_ELEMENTS (input_desc), &vs, &layout)) { in InitShader()
|
/third_party/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_sse.c | 463 const struct util_format_description *input_desc = in translate_attr_convert() local 479 if (input_desc->channel[0].size & 7) in translate_attr_convert() 482 if (input_desc->colorspace != output_desc->colorspace) in translate_attr_convert() 485 for (i = 1; i < input_desc->nr_channels; ++i) { in translate_attr_convert() 487 (&input_desc->channel[i], &input_desc->channel[0], in translate_attr_convert() 488 sizeof(input_desc->channel[0]))) in translate_attr_convert() 502 swizzle[output_desc->swizzle[i]] = input_desc->swizzle[i]; in translate_attr_convert() 514 && i >= input_desc->nr_channels) in translate_attr_convert() 526 switch (input_desc->channel[0].type) { in translate_attr_convert() 531 input_desc->channel[0].size * in translate_attr_convert() [all …]
|
/third_party/mindspore/mindspore/_extends/graph_kernel/ |
D | expander.py | 37 input_desc = [] 40 input_desc += desc 47 "input_desc": input_desc,
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_json_decoder.cc | 179 nlohmann::json input_desc = input_descs[i][0]; in DecodeInputDesc() local 180 std::string name = input_desc[kJsonKeyTensorName]; in DecodeInputDesc() 181 if (input_desc.find(kJsonKeyValue) != input_desc.end()) { in DecodeInputDesc() 182 inputs.push_back(DecodeValueNode(input_desc, func_graph)); in DecodeInputDesc() 189 input_formats_.push_back(input_desc[kJsonKeyFormat]); in DecodeInputDesc() 190 input_types_.push_back(DtypeToTypeId(input_desc[kJsonKeyDataType])); in DecodeInputDesc() 191 input_shapes_.push_back(input_desc[kJsonKeyShape]); in DecodeInputDesc() 400 std::vector<nlohmann::json> input_desc = input_descs[i]; in DecodeFusedNodes() local 401 auto parameter = DecodeParameter(input_desc[0], graph); in DecodeFusedNodes()
|
/third_party/curl/lib/vauth/ |
D | krb5_sspi.c | 261 SecBufferDesc input_desc; in Curl_auth_create_gssapi_security_message() local 306 input_desc.ulVersion = SECBUFFER_VERSION; in Curl_auth_create_gssapi_security_message() 307 input_desc.cBuffers = 2; in Curl_auth_create_gssapi_security_message() 308 input_desc.pBuffers = input_buf; in Curl_auth_create_gssapi_security_message() 317 status = s_pSecFn->DecryptMessage(krb5->context, &input_desc, 0, &qop); in Curl_auth_create_gssapi_security_message()
|
/third_party/curl/lib/ |
D | socks_sspi.c | 77 SecBufferDesc input_desc, output_desc, wrap_desc; in Curl_SOCKS5_gssapi_negotiate() local 116 input_desc.cBuffers = 1; in Curl_SOCKS5_gssapi_negotiate() 117 input_desc.pBuffers = &sspi_recv_token; in Curl_SOCKS5_gssapi_negotiate() 118 input_desc.ulVersion = SECBUFFER_VERSION; in Curl_SOCKS5_gssapi_negotiate() 176 &input_desc, in Curl_SOCKS5_gssapi_negotiate()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/ |
D | kernel_fusion.cc | 42 for (auto &input_desc : op["input_desc"]) { in GenFusionJsonHash() local 43 input_desc.erase("name"); in GenFusionJsonHash()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/ |
D | d3d11device.cpp | 306 D3D11_INPUT_ELEMENT_DESC input_desc[] = { in prepare_shader() local 314 hr = d3d11_device->CreateInputLayout (input_desc, G_N_ELEMENTS (input_desc), in prepare_shader()
|
/third_party/mindspore/mindspore/_extends/graph_kernel/model/ |
D | model.py | 470 input_desc, output_desc, op_desc = [], [], [] 472 input_desc.append([{'data_type': t.dtype, 'shape': t.shape, 496 … 'input_desc': input_desc, 'op': self.name, 'op_desc': op_desc, 'output_desc': output_desc,
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/ |
D | tbe_kernel_build.cc | 1401 nlohmann::json input_desc; in GenFusionComputeInputJson() local 1402 GenDescJson(real_node, real_idx, real_idx, &input_desc); in GenFusionComputeInputJson() 1406 input_desc[kJDynIndex] = (i - 1); in GenFusionComputeInputJson() 1408 input_desc_list_tmp.emplace_back(input_desc); in GenFusionComputeInputJson()
|