repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
fujunwei/dldt
inference-engine/src/transformations/src/transformations/utils/pass_manager.cpp
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/utils/pass_manager.hpp" #include <transformations/constant_eltwise_reduction.hpp> #include <transformations/convert_broadcast_to_tiles.hpp> #include <transformations/convert_opset1_to_legacy/convert_convolution...
fujunwei/dldt
inference-engine/include/builders/ie_lrn_layer.hpp
<reponame>fujunwei/dldt<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @file */ #pragma once #include <builders/ie_layer_decorator.hpp> #include <ie_network.hpp> #include <string> namespace InferenceEngine { namespace Builder { /** * @deprecated Use ng...
fujunwei/dldt
inference-engine/tests_deprecated/unit/shape_infer/built_in_shape_infer_pool_test.cpp
<filename>inference-engine/tests_deprecated/unit/shape_infer/built_in_shape_infer_pool_test.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <shape_infer/built-in/ie_built_in_holder.hpp> #include <xml_net_builder.hpp> #include <cnn_network_imp...
fujunwei/dldt
inference-engine/tests_deprecated/unit/inference_engine_tests/cnn_network_test.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include "cpp/ie_cnn_net_reader.h" #include "cpp/ie_cnn_network.h" using namespace InferenceEngine; class CNNNetworkTests : public ::testing::Test { protected: virtual void Tear...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx512_core_f32_copy_an_kern.cpp
<gh_stars>0 /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_opset1_to_legacy/convert_proposal_to_proposal_ie.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset1_to_legacy/convert_proposal_to_proposal_ie.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> #include <ngraph_ops/proposal_ie.hpp> void n...
fujunwei/dldt
inference-engine/tests_deprecated/unit/engines/mkldnn/graph/layers/extensions/non_max_suppression_tests.cpp
<filename>inference-engine/tests_deprecated/unit/engines/mkldnn/graph/layers/extensions/non_max_suppression_tests.cpp<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <gmock/gmock-spec-builders.h> #include "mkldnn_graph.h" #include "te...
fujunwei/dldt
inference-engine/src/plugin_api/cnn_network_ngraph_impl.hpp
<filename>inference-engine/src/plugin_api/cnn_network_ngraph_impl.hpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A file containing ngraph implementation of public ICNNNetwork interface * @file cnn_network_ngraph_impl.hpp */ #pragma once #include <algorithm>...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_mkldnn_threading.cpp
/******************************************************************************* * Copyright 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/thirdparty/clDNN/tests/test_cases/strided_slice_gpu_test.cpp
<filename>inference-engine/thirdparty/clDNN/tests/test_cases/strided_slice_gpu_test.cpp /* // Copyright (c) 2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_opset1_to_legacy/convert_opset1_to_legacy.cpp
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset1_to_legacy/convert_opset1_to_legacy.hpp" #include <transformations/utils/pass_manager.hpp> #include <memory> bool ngraph::pass::ConvertOpSet1ToLegacy::run_on_function(std::shared_ptr<ngraph::Funct...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_opset2_to_opset1/convert_opset2_to_opset1.cpp
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset2_to_opset1/convert_opset2_to_opset1.hpp" #include "transformations/convert_gelu.hpp" #include "transformations/convert_batch_to_space.hpp" #include "transformations/convert_space_to_batch.hpp" #inc...
fujunwei/dldt
inference-engine/tests/functional/plugin/shared/src/ngraph_conversion_tests/plugin_specific_ngraph_conversion.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph_conversion_tests/plugin_specific_ngraph_conversion.hpp" namespace NGraphConversionTestsDefinitions { void PluginSpecificConversion::SetUp() { device = this->GetParam(); } std::string P...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/stages/custom.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/frontend/frontend.hpp> #include <vector> #include <memory> #include <string> #include <map> #include <unordered_set> #include <utility> #include <algorithm> #include <tuple> #include <vpu/fron...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_bf16_inner_product.cpp
<gh_stars>0 /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
fujunwei/dldt
inference-engine/samples/benchmark_app/utils.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <algorithm> #include <utility> #include <vector> #include <map> #include <samples/common.hpp> #include <samples/slog.hpp> #include "utils.hpp" uint32_t deviceDefaultDeviceDurationInSeconds(const std::st...
fujunwei/dldt
inference-engine/tests/functional/plugin/shared/include/single_layer_tests/convolution.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <tuple> #include <vector> #include <string> #include <memory> #include "functional_test_utils/layer_test_utils.hpp" #include "ngraph_functions/builders.hpp" #include "ngraph_functions/utils/ngraph_helpers.hpp...
fujunwei/dldt
inference-engine/include/builders/ie_memory_layer.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @file */ #pragma once #include <builders/ie_layer_decorator.hpp> #include <ie_network.hpp> #include <string> namespace InferenceEngine { namespace Builder { /** * @deprecated Use ngraph API instead. * @brief The class ...
fujunwei/dldt
inference-engine/thirdparty/clDNN/tests/test_cases/deconvolution_gpu_test.cpp
<reponame>fujunwei/dldt<gh_stars>0 /* // Copyright (c) 2016 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // U...
fujunwei/dldt
inference-engine/src/low_precision_transformations/include/low_precision_transformations/concat_multi_channels.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <vector> #include <algorithm> #include <ie_common.h> #include "low_precision_transformations/concat.hpp" namespace InferenceEngine { namespace details { IE_SUPPRESS_...
fujunwei/dldt
inference-engine/tests/functional/plugin/shared/include/single_layer_tests/split.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <tuple> #include <string> #include <vector> #include <memory> #include "functional_test_utils/layer_test_utils.hpp" #include "ngraph_functions/builders.hpp" namespace LayerTestsDefinitions { typedef std::tu...
fujunwei/dldt
inference-engine/src/transformations/include/transformations/utils/pass_manager.hpp
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <transformations/utils/pass_param.hpp> #include <ngraph/pass/manager.hpp> namespace ngraph { namespace pass { class INFERENCE_ENGINE_API_CLASS(ConversionPassManager); } // namespace pass } // namespace ngrap...
fujunwei/dldt
inference-engine/include/builders/ie_convolution_layer.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @file */ #pragma once #include <builders/ie_layer_decorator.hpp> #include <ie_network.hpp> #include <string> #include <vector> namespace InferenceEngine { namespace Builder { /** * @deprecated Use ngraph API instead. *...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ie_irelease_test.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <memory> #include <gtest/gtest.h> #include <details/ie_irelease.hpp> #include "common_test_utils/test_common.hpp" using IReleaseTests = CommonTestUtils::TestsCommon; /** * @brief Testing that callback with Release() fr...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/bf16/jit_avx512_core_s16_copy_an_kern.cpp
/******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_crop_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_crop_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace InferenceEngine; Builder::CropLayer::CropLayer(const std::string& name): LayerDecorator("Crop", name) { ...
fujunwei/dldt
inference-engine/src/gna_plugin/gna_api_wrapper.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #if defined __INTEL_COMPILER || defined _MSC_VER #include <malloc.h> #else #include <mm_malloc.h> #endif #include <gna-api-types-xnn.h> #include "gna_plugin_log.hpp" #if GNA_LIB_VER == 2 #inclu...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_convolution_forward_common_3d.hpp
<reponame>fujunwei/dldt /******************************************************************************* * Copyright 2016-2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
fujunwei/dldt
inference-engine/src/gna_plugin/gna_device.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "gna_device.hpp" #include <map> #include <string> #include <cstring> #include <vector> #if GNA_LIB_VER == 2 #include "gna_api_wrapper.hpp" #include "gna2-device-api.h" #include "gna2-inference-api.h" #include "gna2-instru...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/unsqueeze.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "list.hpp" #include "base.hpp" #include <cmath> #include <string> #include <vector> #include <cassert> #include "ie_parallel.hpp" #include "common/simple_copy.h" namespace InferenceEngine { namespa...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ngraph_reader/strided_slice_tests.cpp
<reponame>fujunwei/dldt<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include "ngraph_reader_tests.hpp" // MKLDNN: "Crop supports only 2d, 4d and 5d blobs." // This test should pass after deleting // "input_shape.size() != 2 && input_shape.size() !...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/jit_sse41_kernel_b0_c_gemm_s8u8s32_kern.cpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/jit_sse41_kernel_b0_c_gemm_s8u8s32_kern.cpp<gh_stars>0 /******************************************************************************* * Copyright 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
fujunwei/dldt
inference-engine/tests/functional/plugin/gpu/shared_tests_instances/skip_tests_config.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <string> #include "functional_test_utils/skip_tests_config.hpp" std::vector<std::string> disabledTestPatterns() { return { }; }
fujunwei/dldt
inference-engine/tests/ie_test_utils/unit_test_utils/mocks/mock_ie_imemory_state.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <gmock/gmock.h> #include <string> #include <vector> #include "ie_imemory_state.hpp" using namespace InferenceEngine; class MockIMemoryState : public InferenceEngine::IMemoryState { public: MOCK_QUALIFIE...
fujunwei/dldt
inference-engine/include/builders/ie_pooling_layer.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @file */ #pragma once #include <builders/ie_layer_decorator.hpp> #include <ie_network.hpp> #include <string> #include <vector> namespace InferenceEngine { namespace Builder { /** * @deprecated Use ngraph API instead. *...
fujunwei/dldt
inference-engine/tests_deprecated/unit/shape_infer/models_test.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <cnn_network_impl.hpp> #include <shape_infer/ie_reshaper.hpp> #include "details/ie_cnn_network_tools.h" #include <cpp/ie_cnn_net_reader.h> #include <graph_tools.hpp> #include <test_model_path.hpp> #...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_sse42_f32_copy_an_kern.cpp
<gh_stars>0 /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
fujunwei/dldt
inference-engine/thirdparty/clDNN/src/graph_optimizer/pre_replace_deconv.cpp
/* // Copyright (c) 2018-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
fujunwei/dldt
inference-engine/include/builders/ie_layer_builder.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @file */ #pragma once #include <ie_blob.h> #include <details/caseless.hpp> #include <ie_network.hpp> #include <ie_parameter.hpp> #include <map> #include <memory> #include <string> #include <vector>...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/middleend/passes/replace_with_reduce_mean.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/middleend/pass_manager.hpp> #include <vpu/middleend/sw/utility.hpp> #include <vpu/model/data.hpp> #include <precision_utils.h> #include <set> #include <memory> #include <vector> #include <util...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_x8s8s32x_convolution.cpp
/******************************************************************************* * Copyright 2017-2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/jit_uni_planar_convolution.hpp
/******************************************************************************* * Copyright 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/src/low_precision_transformations/include/low_precision_transformations/concat.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <vector> #include <algorithm> #include <ie_common.h> #include "low_precision_transformations/layer_transformation.hpp" namespace InferenceEngine { namespace details {...
fujunwei/dldt
inference-engine/src/low_precision_transformations/src/concat.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/concat.hpp" #include "low_precision_transformations/network_helper.hpp" #include "low_precision_transformations/quantization_details.hpp" #include <details/ie_cnn_network_tools.h> #include <...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/jit_sse42_i8i8_pooling.cpp
/******************************************************************************* * Copyright 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/src/plugin_api/cpp_interfaces/interface/ie_iexecutable_network_internal.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <cpp_interfaces/interface/ie_imemory_state_internal.hpp> #include <ie_iinfer_request.hpp> #include <ie_parameter.hpp> #include <ie_primitive_info.hpp> #include <map> #include <memory> #include <string> #includ...
fujunwei/dldt
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/fused_conv_eltwise/fused_conv_eltwise_kernel_selector.cpp
// Copyright (c) 2016-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/backend/serialize.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/backend/backend.hpp> #include <climits> #include <cstring> #include <string> #include <memory> #include <list> #include <vector> #include <array> #include <unordered_set> #include <set> #include <unordered_map> #incl...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_inner_product_utils.cpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_inner_product_utils.cpp<gh_stars>0 /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
fujunwei/dldt
inference-engine/src/low_precision_transformations/src/transformer.cpp
<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/transformer.hpp" #include "low_precision_transformations/network_helper.hpp" #include <details/ie_cnn_network_tools.h> #include <ie_common.h> #include <algorithm> #include <blob...
fujunwei/dldt
inference-engine/include/cpp/ie_executable_network.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file that provides wrapper classes for IExecutableNetwork * * @file ie_executable_network.hpp */ #pragma once #include <algorithm> #include <map> #include <memory> #include <string> #include <vector> #in...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_psroi_pooling_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_psroi_pooling_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace InferenceEngine; Builder::PSROIPoolingLayer::PSROIPoolingLayer(const std::string& name): LayerDec...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/cpu_memory.hpp
/******************************************************************************* * Copyright 2016-2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/include/vpu/middleend/hw/utility.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <vector> #include <iostream> #include <vpu/model/data.hpp> #include <vpu/backend/blob_format.hpp> #include <vpu/utils/numeric.hpp> namespace vpu { // // HW Operation parameters // VPU_DEC...
fujunwei/dldt
inference-engine/tests/ngraph_functions/src/params_vector.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <memory> #include "ngraph_functions/builders.hpp" namespace ngraph { namespace builder { ngraph::ParameterVector makeParams(const element::Type &type, const std::vector<std::vector<size_t>> &shapes) { ...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/include/vpu/model/data_desc.hpp
<reponame>fujunwei/dldt<filename>inference-engine/src/vpu/graph_transformer/include/vpu/model/data_desc.hpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <iterator> #include <vector> #include <unordered_map> #include <unordered_set> #include <limits> #inc...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ngraph_reader/reduce_to_pooling_tests.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include "ngraph_reader_tests.hpp" TEST_F(NGraphReaderTests, ReduceMeanToAvgPool) { std::string model = R"V0G0N( <net name="ReduceMean" version="10"> <layers> <layer id="0" n...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx_f32_copy_bt_kern.cpp
<gh_stars>0 /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
fujunwei/dldt
inference-engine/tests_deprecated/unit/inference_engine_tests/network_serializer_tests.cpp
<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <cpp/ie_cnn_network.h> #include <network_serializer.h> static const auto model = R"_( <?xml version="1.0" encoding="UTF-8"?> <net name="model" version="6" batch="1"> <layers> ...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/common/query.cpp
/******************************************************************************* * Copyright 2016-2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx512_core_f32_copy_bn_kern.cpp
/******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/tests_deprecated/unit/inference_engine_tests/transformations/ngraph_test_utils.hpp
<reponame>fujunwei/dldt // Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <ngraph/function.hpp> std::pair<bool, std::string> compare_functions(const std::shared_ptr<ngraph::Function> & f1, const std::shared_ptr<ngraph::Function> & f2);
fujunwei/dldt
inference-engine/thirdparty/clDNN/tests/test_cases/crop_gpu_test.cpp
/* // Copyright (c) 2017-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
fujunwei/dldt
inference-engine/src/plugin_api/convert_function_to_cnn_network.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "cnn_network_ngraph_impl.hpp" #include <memory> namespace InferenceEngine { namespace details { INFERENCE_ENGINE_API_CPP(std::shared_ptr<CNNNetworkImpl>) convertFunctionToICNNNetwork(const std::shared_ptr<co...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_softmax_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_softmax_layer.hpp> #include <ie_cnn_layer_builder.h> #include <string> using namespace InferenceEngine; Builder::SoftMaxLayer::SoftMaxLayer(const std::string& name): LayerDecorator("SoftMax", name) { get...
fujunwei/dldt
inference-engine/tests_deprecated/unit/builders/network_builder_test.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <string.h> #include <ie_builders.hpp> #include <cpp/ie_cnn_net_reader.h> #include "builder_test.hpp" using namespace testing; using namespace InferenceEngine; class NetworkBuilderTest : public Bu...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/jit_avx_kernel_c_gemm_s8u8s32_kern.cpp
/******************************************************************************* * Copyright 2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/src/inference_engine/ie_ir_reader.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A header file that provides interface for network reader that is used to build networks from a given IR * @file ie_icnn_net_reader.h */ #pragma once #include <ie_api.h> #include <ie_blob.h> #include <ie_common.h> #i...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_at_kern.cpp
/******************************************************************************* * Copyright 2018-2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
fujunwei/dldt
inference-engine/src/inference_engine/cnn_network_ngraph_impl.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "cnn_network_ngraph_impl.hpp" #include <cpp/ie_cnn_network.h> #include <ie_common.h> #include <math.h> #include <cassert> #include <details/caseless.hpp> #include <map> #include <memory> #include <vector> #include <unorde...
fujunwei/dldt
inference-engine/tests_deprecated/unit/engines/mkldnn/graph/layers/extensions/bucketize_tests.cpp
<reponame>fujunwei/dldt<filename>inference-engine/tests_deprecated/unit/engines/mkldnn/graph/layers/extensions/bucketize_tests.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <gmock/gmock-spec-builders.h> #include "mkldnn_graph.h" #include "...
fujunwei/dldt
inference-engine/tests_deprecated/unit/inference_engine_tests/transformations/ngraph_test_utils.cpp
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <memory> #include <queue> #include <assert.h> #include <ngraph/function.hpp> std::pair<bool, std::string> compare_functions(const std::shared_ptr<ngraph::Function> & f1, const std::shared_ptr<ngraph::Function...
fujunwei/dldt
inference-engine/src/gna_plugin/gna2_model_helper.hpp
<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #if GNA_LIB_VER == 2 #include <gna2-common-api.h> #include <gna2-model-api.h> #include <cstdint> constexpr uint32_t InOpIdx = 0; constexpr uint32_t OutOpIdx = 1; constexpr uint32_t FilterOpIdx = 2; co...
fujunwei/dldt
inference-engine/tests_deprecated/unit/engines/gna/matchers/copy_matcher.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "nnet_base_matcher.hpp" class CopyLayerMatcher : public ::testing::MatcherInterface<const intel_nnet_type_t*> { bool matchInserted; const int matchQuantity; public: CopyLaye...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/fill.cpp
<reponame>fujunwei/dldt<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "list.hpp" #include "base.hpp" #include <cmath> #include <string> #include <vector> #include <cassert> #include "ie_parallel.hpp" namespace InferenceEngine { namespace Extensions { na...
fujunwei/dldt
inference-engine/tests_deprecated/unit/inference_engine_tests/preprocess_test.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <ie_preprocess.hpp> using namespace std; class PreProcessTests : public ::testing::Test { protected: virtual void TearDown() { } virtual void SetUp() { } ...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/common/quantization.cpp
<reponame>fujunwei/dldt<gh_stars>1-10 /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the ...
fujunwei/dldt
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/deconvolution/deconvolution_kernel_b_fs_zyx_fsv16_dw.cpp
// // Copyright (c) 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx512_core_f32_copy_bt_kern.cpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx512_core_f32_copy_bt_kern.cpp /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except i...
fujunwei/dldt
inference-engine/tests/ie_test_utils/functional_test_utils/layer_test_utils.hpp
<reponame>fujunwei/dldt<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <typeindex> #include <string> #include <vector> #include <memory> #include <tuple> #include <gtest/gtest.h> #include <ngraph/node.hpp> #include <ngraph/function.hpp> #includ...
fujunwei/dldt
inference-engine/src/transformations/include/transformations/convert_opset1_to_legacy/conv_bias_fusion.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <functional> #include <ie_api.h> #include <ngraph/ngraph.hpp> #include "ngraph/pattern/matcher.hpp" #include "ngraph/op/broadcast.hpp" #include "ngraph/op/experimental/dyn_broadcast.hpp" #...
fujunwei/dldt
inference-engine/src/vpu/common/src/utils/simple_math.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/utils/simple_math.hpp> #include <cctype> #include <string> #include <set> #include <stack> #include <map> #include <stdexcept> #include <utility> #include <functional> #include <vpu/utils/error.hpp> namespace vpu {...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_relu6_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_relu6_layer.hpp> #include <ie_cnn_layer_builder.h> #include <string> using namespace InferenceEngine; Builder::ReLU6Layer::ReLU6Layer(const std::string& name): LayerDecorator("ReLU6", name) { getLayer()-...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/frontend/pre_process.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/frontend/frontend.hpp> #include <vector> #include <memory> #include <string> #include <details/caseless.hpp> #include <cpp/ie_cnn_network.h> #include <precision_utils.h> #include <ie_parallel....
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/middleend/passes/split_conv3d_into_2d.cpp
// Copyright (C) 2019-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "vpu/middleend/pass_manager.hpp" #include "vpu/utils/numeric.hpp" #include "precision_utils.h" #include "ie_memcpy.h" #include <memory> #include <set> #include <string> #include <utility> #include <vector> namespace vpu {...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_batch_to_space.cpp
<gh_stars>0 // Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_batch_to_space.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset2.hpp> void ngraph::pass::ConvertBatchToSpace::convert_batch_to_space() { auto input0 = std::make_s...
fujunwei/dldt
inference-engine/tests_deprecated/unit/builders/const_layer_test.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <string.h> #include <ie_builders.hpp> #include <builders/ie_const_layer.hpp> #include "builder_test.hpp" using namespace testing; using namespace InferenceEngine; class Co...
fujunwei/dldt
inference-engine/src/inference_engine/threading/ie_cpu_streams_executor.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <vector> #include <memory> #include <mutex> #include <condition_variable> #include <thread> #include <queue> #include <atomic> #include <climits> #include <cassert> #include <utility> #include "threading/i...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/gemv.hpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/gemv.hpp /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
fujunwei/dldt
inference-engine/tests_deprecated/unit/builders/norm_layer_test.cpp
<filename>inference-engine/tests_deprecated/unit/builders/norm_layer_test.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <string.h> #include <ie_builders.hpp> #include <builders/ie_norm_layer.hpp> #include "builder_test.hpp" using namespac...
fujunwei/dldt
inference-engine/tests_deprecated/unit/engines/mkldnn/graph/layers/extensions/select_tests.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <gmock/gmock-spec-builders.h> #include "mkldnn_graph.h" #include "test_graph.hpp" #include "single_layer_common.hpp" #include <mkldnn_extension_utils.h> #include "tests_common.hpp" #include <cpp/...
fujunwei/dldt
inference-engine/tests_deprecated/unit/builders/batch_normalization_layer_test.cpp
<filename>inference-engine/tests_deprecated/unit/builders/batch_normalization_layer_test.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <string.h> #include <ie_builders.hpp> #include <builders/ie_batch_normalization_layer.hpp> #include "bui...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/priorgridgenerator_onnx.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "list.hpp" #include "base.hpp" #include <algorithm> #include <cassert> #include <vector> namespace InferenceEngine { namespace Extensions { namespace Cpu { const int INPUT_PRIORS {0}; const int INPUT_FEATUREMAP {1}; const...
fujunwei/dldt
inference-engine/tests/unit/inference_engine/ie_exception_test.cpp
<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <gtest/gtest.h> #include <gmock/gmock.h> #include "details/ie_exception.hpp" #include "ie_common.h" // TODO: cover <cpp_interfaces/exception2status.hpp> and <details/ie_exception_conversion.h...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/include/vpu/model/edges.hpp
<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <vpu/model/base.hpp> namespace vpu { // // StageInputEdge // // // Data -> Stage edge. // class StageInputEdge final : public EnableHandle, public EnableCustomAttributes { ...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/jit_uni_bin_conv_kernel.hpp
/******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.o...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_opset1_to_legacy/convert_pad_to_pad_ie.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset1_to_legacy/convert_pad_to_pad_ie.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> void ngraph::pass::ConvertPadToPadIE::convert_pad() { auto input_0 = std::m...
fujunwei/dldt
inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/batch_to_space.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include "single_layer_tests/batch_to_space.hpp" #include "common_test_utils/test_constants.hpp" using namespace LayerTestsDefinitions; namespace { batchToSpaceParamsTuple bts_only_test_cases[] = { batc...
ykwon0407/VIPS
c++/VIPS_PythonWrapper.cpp
#include "VIPS_PythonWrapper.h" using namespace std; using namespace arma; VIPS_PythonWrapper::VIPS_PythonWrapper(int num_dimensions, int num_threads) : learner(num_dimensions, num_threads), learner_backup(learner), num_dimensions(num_dimensions), last_KLs_components(), last_KL_weights(), last_expecte...
ykwon0407/VIPS
c++/VIPS_Model.cpp
<filename>c++/VIPS_Model.cpp #include "VIPS_Model.h" #include <stdexcept> using namespace std; // ToDo: Make all std calls explicit and remove using namespace arma; /** * The GMM-model learned by VIPS. * This class extends GMM to include learning related meta information. * @param dim number of dimensions * @exte...