repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
fujunwei/dldt
inference-engine/src/legacy_api/src/builders/ie_layer_decorator.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_layer_decorator.hpp> #include <details/caseless.hpp> #include <memory> #include <string> #include <vector> using namespace InferenceEngine; using namespace details; Builder::LayerDecorator::LayerDecorator(con...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_scale_shift_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_scale_shift_layer.hpp> #include <string> using namespace InferenceEngine; Builder::ScaleShiftLayer::ScaleShiftLayer(const std::string& name): LayerDecorator("ScaleShift", name) { getLayer()->getInputPort...
fujunwei/dldt
inference-engine/src/legacy_api/src/builders/ie_layer_builder.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_layer_builder.hpp> #include <details/caseless.hpp> #include <limits> #include <map> #include <memory> #include <string> #include <vector> using namespace InferenceEngine; Builder::Laye...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/ref_softmax.hpp
/******************************************************************************* * Copyright 2016-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/gemm/s8x8s32/jit_avx512_core_u8_copy_sum_an_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/tests_deprecated/unit/inference_engine_tests/normalization/latest_in_fuse_test.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <gmock/gmock-spec-builders.h> #include <cpp/ie_cnn_net_reader.h> #include <cnn_network_int8_normalizer.hpp> #include "tests_common.hpp" #include "ir_gen_helper.hpp" #include "common_test_utils/com...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_opset1_to_legacy/convert_lstm_cell_to_lstm_cell_ie.cpp
<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset1_to_legacy/convert_lstm_cell_to_lstm_cell_ie.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> #include <ngraph_ops/lstm_cell_ie.hpp> void ngraph::pa...
fujunwei/dldt
inference-engine/src/plugin_api/blob_factory.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief A file with helper functions to uniformly create Blob objects * @file blob_transform.hpp */ #pragma once #include <memory> #include <utility> #include <vector> #include "ie_memcpy.h" #include "ie_blob.h" #include ...
fujunwei/dldt
inference-engine/tests/functional/plugin/shared/include/configuration_tests/configuration_tests.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <tuple> #include <string> #include <vector> #include <common_test_utils/test_common.hpp> #include <ie_core.hpp> #include <ie_parameter.hpp> template<typename paramType> class ConfigurationTest : public Common...
fujunwei/dldt
inference-engine/tests_deprecated/unit/engines/gna/matchers/weights_matcher.hpp
<reponame>fujunwei/dldt<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include"gna-api.h" #include "nnet_base_matcher.hpp" #include "frontend/quantization.h" using TranspozedData = std::tuple<std::vector<uint16_t>*, int, int>; class TranspozeIterato...
fujunwei/dldt
inference-engine/tests/ngraph_functions/src/utils/ngraph_helpers.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <memory> #include <ngraph/opsets/opset1.hpp> namespace ngraph { namespace helpers { ngraph::OutputVector convert2OutputVector(const std::vector<std::shared_ptr<ngraph::Node>> &no...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ngraph_reader/atan_tests.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include "ngraph_reader_tests.hpp" TEST_F(NGraphReaderTests, ReadAtanNetwork) { std::string model = R"V0G0N( <net name="Atan_net" version="10"> <layers> <layer name="in1" type="Parameter" id="0" ver...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_sum.cpp
<filename>inference-engine/thirdparty/mkl-dnn/tests/gtests/test_sum.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 L...
fujunwei/dldt
inference-engine/src/transformations/include/transformations/convert_opset1_to_legacy/reshape_fc_fusion.hpp
<gh_stars>0 // Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <functional> #include <memory> #include <ngraph_ops/fully_connected.hpp> #include <ngraph/builder/make_constant.hpp> #include <ngraph/graph_util.hpp> #include <ngraph/op/add.hpp> #include <ngraph/...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/mkldnn_layers_dispatcher.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "mkldnn_extension_mngr.h" namespace MKLDNNPlugin { void addDefaultExtensions(MKLDNNExtensionManager::Ptr mngr); } // namespace MKLDNNPlugin
fujunwei/dldt
inference-engine/src/transformations/src/transformations/utils/utils.cpp
<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/utils/utils.hpp" #include <assert.h> #include <functional> #include <memory> #include <ngraph/op/broadcast.hpp> #include <ngraph/op/constant.hpp> #include <ngraph/op/reshape.hpp> #include <ngr...
fujunwei/dldt
inference-engine/tests_deprecated/unit/builders/memory_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 "builder_test.hpp" using namespace testing; using namespace InferenceEngine; class MemoryLayerBuilderTest : public BuilderTestCommon {}; TEST_F(Me...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_eltwise.cpp
<filename>inference-engine/thirdparty/mkl-dnn/tests/gtests/test_eltwise.cpp /******************************************************************************* * Copyright 2016-2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_output_layer_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_output_layer.hpp> #include <string> using namespace InferenceEngine; Builder::OutputLayer::OutputLayer(const std::string& name): LayerDecorator("Output", name) { getLayer()->getInputPorts().resize(1); } ...
fujunwei/dldt
inference-engine/tests_deprecated/unit/builders/mvn_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_mvn_layer.hpp> #include "builder_test.hpp" using namespace testing; using namespace InferenceEngine; class MVNL...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/mkldnn_reshape_node.cpp
<reponame>fujunwei/dldt<filename>inference-engine/src/mkldnn_plugin/nodes/mkldnn_reshape_node.cpp<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "mkldnn_reshape_node.h" #include <ie_layers.h> #include <string> #include <mkldnn_types.h> #include <mkldnn_ext...
fujunwei/dldt
inference-engine/src/vpu/myriad_plugin/myriad_infer_request.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #define NOMINMAX #include <utility> #include <ie_blob.h> #include <ie_plugin.hpp> #include <description_buffer.hpp> #include <ie_layouts.h> #include <precision_utils.h> #include <vpu/utils/error.hpp> #include <vpu/utils/perf_report...
fujunwei/dldt
inference-engine/tests/functional/plugin/shared/src/single_layer_tests/activation.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <tuple> #include <string> #include <vector> #include <functional> #include <cmath> #include <memory> #include <functional_test_utils/skip_tests_config.hpp> #include "ie_core.hpp" #include "ie_precision.hpp" #include "comm...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_subtract.cpp
<reponame>fujunwei/dldt<filename>inference-engine/src/transformations/src/transformations/convert_subtract.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_subtract.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp>...
fujunwei/dldt
inference-engine/src/low_precision_transformations/src/scaleshift_to_convolution.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "low_precision_transformations/scaleshift_to_convolution.hpp" #include <algorithm> #include <memory> #include <string> #include <unordered_set> #include <vector> #include <details/caseless.hpp> #include "low_precision_tr...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_bf16_inner_product.hpp
<reponame>fujunwei/dldt /******************************************************************************* * 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 * *...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ngraph_reader/gelu_tests.cpp
<reponame>fujunwei/dldt<filename>inference-engine/tests/functional/inference_engine/ngraph_reader/gelu_tests.cpp<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include "ngraph_reader_tests.hpp" #include "common_test_utils/xml_net_builder/ir_net.hpp"...
fujunwei/dldt
inference-engine/src/plugin_api/threading/ie_thread_local.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once /** * @brief A file containing thread local class implementation. * @file ie_thread_local.hpp */ #include "ie_parallel.hpp" #if IE_THREAD == IE_THREAD_TBB || IE_THREAD == IE_THREAD_TBB_AUTO #include <tbb/enumerable...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_mod.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_mod.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> void ngraph::pass::ConvertMod::convert_mod() { auto input0 = std::make_shared<pattern::op::Label>(element::f32...
fujunwei/dldt
inference-engine/src/gna_plugin/frontend/weights_converter.hpp
<filename>inference-engine/src/gna_plugin/frontend/weights_converter.hpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "quantized_layer_params.hpp" #include "precision_utils.h" inline void fp16_to_fp32(InferenceEngine::WeightableLayer *lp) { Inferenc...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm_inner_product_utils.hpp
<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/mkl-dnn/tests/gtests/test_lrn_backward.cpp
<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/thirdparty/mkl-dnn/src/cpu/jit_uni_quantization.hpp
<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/mkl-dnn/src/cpu/ref_depthwise.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/tests_deprecated/helpers/tests_common.hpp
<filename>inference-engine/tests_deprecated/helpers/tests_common.hpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once // avoiding clash of the "max" macro with std::max #define NOMINMAX #include <algorithm> #include <cmath> #include <cctype> #include <math.h> #inclu...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_reorg_yolo_layer.cpp
<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_reorg_yolo_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace InferenceEngine; Builder::ReorgYoloLayer::ReorgYoloLayer(const std::string& name): La...
fujunwei/dldt
inference-engine/tests_deprecated/unit/inference_engine_tests/response_buffer_test.cpp
<reponame>fujunwei/dldt<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include "description_buffer.hpp" using namespace std; using namespace InferenceEngine; class ResponseBufferTests: public ::testing::Test { protected: virtual void...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/model/data.cpp
<filename>inference-engine/src/vpu/graph_transformer/src/model/data.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/model/data.hpp> #include <array> #include <algorithm> #include <queue> #include <memory> #include <vector> #include <unordered_map> #include <map...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/jit_avx2_convolution.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/src/inference_engine/builders/ie_concat_layer.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_concat_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace InferenceEngine; Builder::ConcatLayer::ConcatLayer(const std::string& name): La...
fujunwei/dldt
inference-engine/tests/functional/plugin/shared/include/subgraph_tests/split_conv_concat.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/utils/ngraph_helpers.hpp" #include "ngraph_functions/builders.hpp...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/middleend/passes/hw_extra_split.cpp
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/middleend/pass_manager.hpp> #include <precision_utils.h> #include <ie_parallel.hpp> #include <vpu/compile_env.hpp> #include <vpu/stages/stub_stage.hpp> #include <vpu/stages/mx_stage.hpp> #include <vpu/middleend/hw/ti...
fujunwei/dldt
inference-engine/src/vpu/common/include/vpu/utils/error.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <cassert> #include <details/ie_exception.hpp> #include <vpu/utils/io.hpp> #include <string> #include <memory> #include <utility> namespace vpu { // TODO: replace with VPU_THROW_FORMAT/VPU_THROW_UNLESS/VPU...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_lrn_forward.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/bf16/jit_avx512_core_s16_copy_at_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/samples/benchmark_app/utils.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <vector> #include <map> std::vector<std::string> parseDevices(const std::string& device_string); uint32_t deviceDefaultDeviceDurationInSeconds(const std::string& device); std::map<std::strin...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/cpu_quantization_pd.hpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/cpu_quantization_pd.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 ...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/jit_uni_x8s8s32x_dw_convolution.cpp
<gh_stars>0 /******************************************************************************* * 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://...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/jit_avx2_u8_copy_sum_bn_kern.cpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/s8x8s32/jit_avx2_u8_copy_sum_bn_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_deprecated/unit/shape_infer/built_in_shape_infer_general_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_impl.hpp> #include <shape_infer/ie_reshaper.hpp> #include <cpp/ie_cnn_net_reader.h> #include <test_...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/common/rnn.cpp
<reponame>fujunwei/dldt<filename>inference-engine/thirdparty/mkl-dnn/src/common/rnn.cpp /******************************************************************************* * Copyright 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance...
fujunwei/dldt
inference-engine/src/transformations/include/ngraph_ops/topk_ie.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <string> #include <ie_api.h> #include "ngraph/op/op.hpp" namespace ngraph { namespace op { class INFERENCE_ENGINE_API_CLASS(TopKIE) : public Op { public: static constexpr NodeTypeInfo...
fujunwei/dldt
inference-engine/src/legacy_api/src/ie_layers.cpp
<filename>inference-engine/src/legacy_api/src/ie_layers.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <ie_layers.h> using namespace InferenceEngine; // // ie_layers.h // CNNLayer::~CNNLayer() {} WeightableLayer::~WeightableLayer() {} ConvolutionLayer::~Convoluti...
fujunwei/dldt
inference-engine/src/inference_engine/threading/ie_thread_affinity.cpp
<filename>inference-engine/src/inference_engine/threading/ie_thread_affinity.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "threading/ie_thread_affinity.hpp" #include "ie_system_conf.h" #include <climits> #include <cerrno> #include <utility> #include <tuple> #if ...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ngraph_reader/proposal_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, ReadProposalNetwork) { std::string model_v10 = R"V0G0N( <net name="ProposalNet" version="10"> <layers> <layer id=...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/bfloat16_utils.cpp
<filename>inference-engine/thirdparty/mkl-dnn/src/cpu/bfloat16_utils.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 Licen...
fujunwei/dldt
inference-engine/src/vpu/myriad_plugin/myriad_mvnc_wraper.cpp
<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "myriad_mvnc_wraper.h" #include "details/ie_exception.hpp" using namespace vpu::MyriadPlugin; //------------------------------------------------------------------------------ // Implementation of methods of cl...
fujunwei/dldt
inference-engine/src/vpu/myriad_plugin/myriad_executor.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <iostream> #include <fstream> #include <vector> #include <mutex> #include <map> #include <algorithm> #include <utility> #include <chrono> #include <memory> #include <mvnc.h> #include <ie_common.h> #include <thread> #inclu...
fujunwei/dldt
inference-engine/tests_deprecated/unit/shape_infer/built_in_shape_infer_general_test.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <gtest/gtest.h> #include <blob_factory.hpp> #include <shape_infer/built-in/ie_built_in_holder.hpp> #include <utility> #include <ie_format_parser.h> #include <xml_helper.hpp> #include <single_layer_common.hpp> ...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/common_f32.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/tests_deprecated/unit/engines/mkldnn/graph/layers/extensions/sparse_segment_reduce_tests.cpp
<reponame>fujunwei/dldt // 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_com...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_quantization.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/legacy_api/include/cnn_network_impl.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_icnn_network.hpp> #include <map> #include <memory> #include <string> #include <vector> #include "cnn_network_stats_impl.hpp" #include "description_buffer.hpp" #include "ie_api.h" #...
fujunwei/dldt
inference-engine/thirdparty/clDNN/tests/test_cases/mvn_gpu_test.cpp
/* // Copyright (c) 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 or...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_grn_layer.cpp
<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_grn_layer.hpp> #include <ie_cnn_layer_builder.h> #include <string> using namespace InferenceEngine; Builder::GRNLayer::GRNLayer(const std::string& name): LayerDecorator("GRN", name) { getL...
fujunwei/dldt
inference-engine/thirdparty/clDNN/kernel_selector/core/actual_kernels/resample/resample_kernel_ref.cpp
<reponame>fujunwei/dldt<gh_stars>0 // Copyright (c) 2016-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 // /...
fujunwei/dldt
inference-engine/tests/ngraph_functions/include/ngraph_functions/builders.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <vector> #include <memory> #include <ngraph/opsets/opset1.hpp> #include <ngraph/opsets/opset2.hpp> #include "ngraph_functions/utils/data_utils.hpp" namespace ngraph { namespace build...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_pooling_forward.cpp
<filename>inference-engine/thirdparty/mkl-dnn/tests/gtests/test_pooling_forward.cpp<gh_stars>0 /******************************************************************************* * Copyright 2016-2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except i...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/middleend/passes/eliminate_const_concat.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/middleend/pass_manager.hpp> #include <vector> #include <memory> #include <blob_factory.hpp> #include <vpu/middleend/sw/utility.hpp> namespace vpu { namespace { class PassImpl final : publi...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/middleend/passes/replace_gemm_by_conv.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/middleend/pass_manager.hpp> #include <tuple> #include <vector> #include <algorithm> #include <limits> #include <string> #include <utility> #include <list> #include <set> #include <unordered_map> #include <memory> #in...
fujunwei/dldt
inference-engine/src/inference_engine/ie_rtti.cpp
<filename>inference-engine/src/inference_engine/ie_rtti.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <string> #include <vector> #include <tuple> #include <memory> #include <map> #include <details/ie_exception.hpp> #include <ie_blob.h> #include <ie_parameter.hpp> ...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_batch_normalization_layer.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_batch_normalization_layer.hpp> #include <ie_cnn_layer_builder.h> #include <string> using namespace InferenceEngine; Builder::BatchNormalizationLayer::BatchNormalizationLayer(const std...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_convolution_forward_f32_3d.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/src/legacy_api/src/ie_cnn_layer_builder.cpp
<gh_stars>1-10 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <ie_cnn_layer_builder.h> #include <limits> #include <set> #include <sstream> #include "blob_factory.hpp" #include "ie_memcpy.h" namespace InferenceEngine { namespace Builder { IE_SUPPRESS_DEPRECATED_STAR...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/priorbox.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "list.hpp" #include "base.hpp" #include <vector> #include <string> #include <cmath> #include <limits> #include "ie_parallel.hpp" namespace InferenceEngine { namespace Extensions { namespace Cpu { class PriorBoxImpl: publ...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/broadcast.cpp
// 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 { namespace Extensions { namespac...
fujunwei/dldt
inference-engine/include/builders/ie_split_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/inference_engine_tests/parameter_tests.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <tests_common.hpp> #include <ie_parameter.hpp> #include <ie_layouts.h> using namespace InferenceEngine; class DestructorTest { public: DestructorTest() { constr...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_gru_sequence_layer.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_gru_sequence_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace InferenceEngine; Builder::GRUSequenceLayer::GRUSequenceLayer(const std::s...
fujunwei/dldt
inference-engine/src/inference_engine/ie_format_parser.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ie_format_parser.h" #include <fstream> #include <set> #include <sstream> #include <unordered_set> #include "ie_blob_proxy.hpp" #include "ie_icnn_network_stats.hpp" #include "ie_layer_parsers.h" #include "ie_profiling.hpp...
fujunwei/dldt
inference-engine/src/legacy_api/src/builders/ie_split_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <ie_cnn_layer_builder.h> #include <builders/ie_split_layer.hpp> #include <string> #include <vector> using namespace InferenceEngine; Builder::SplitLayer::SplitLayer(const std::string& name): LayerDecorator("Split", name)...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/base.hpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_iextension.h> #include "ie_util_internal.hpp" #include "list.hpp" #include <string> #include <vector> #if defined(HAVE_SSE) || defined(HAVE_AVX2) || defined(HAVE_AVX512F) #include ...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/ngraph_reader/non_max_suppression_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, ReadNonMaxSuppression) { std::string model = R"V0G0N( <net name="NonMaxSuppression" version="10"> <layers> <la...
fujunwei/dldt
inference-engine/tests/ie_test_utils/functional_test_utils/network_utils.cpp
<filename>inference-engine/tests/ie_test_utils/functional_test_utils/network_utils.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <string> #include <cmath> #include <utility> #include <map> #include <algorithm> #include "network_utils.hpp" #includ...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_eltwise_layer.cpp
<reponame>fujunwei/dldt<filename>inference-engine/src/inference_engine/builders/ie_eltwise_layer.cpp // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_eltwise_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace In...
fujunwei/dldt
inference-engine/src/inference_engine/builders/ie_memory_layer.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <builders/ie_memory_layer.hpp> #include <ie_cnn_layer_builder.h> #include <vector> #include <string> using namespace InferenceEngine; Builder::MemoryLayer::MemoryLayer(const std::string& name): LayerDecorator("Memory", n...
fujunwei/dldt
inference-engine/thirdparty/clDNN/api/select.hpp
<gh_stars>0 /* // Copyright (c) 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 appli...
fujunwei/dldt
inference-engine/thirdparty/mkl-dnn/tests/gtests/test_convolution_forward_x8s8s32_3d.cpp
<filename>inference-engine/thirdparty/mkl-dnn/tests/gtests/test_convolution_forward_x8s8s32_3d.cpp /******************************************************************************* * Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in...
fujunwei/dldt
inference-engine/thirdparty/clDNN/tests/test_cases/resample_gpu_test.cpp
<filename>inference-engine/thirdparty/clDNN/tests/test_cases/resample_gpu_test.cpp /* // Copyright (c) 2016-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/thirdparty/mkl-dnn/src/cpu/ref_quantization.cpp
<reponame>fujunwei/dldt /******************************************************************************* * 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 * *...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/mkldnn_layers_dispatcher.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "mkldnn_layers_dispatcher.hpp" #include <details/ie_exception.hpp> #include "nodes/list.hpp" #include <memory> using namespace InferenceEngine; namespace MKLDNNPlugin { void addDefaultExtensions(MKLDNNExtensionManager::P...
fujunwei/dldt
inference-engine/src/vpu/graph_transformer/src/stages/screlu.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/frontend/frontend.hpp> #include <cmath> #include <vector> #include <limits> #include <memory> #include <set> #include <string> namespace vpu { namespace { class SCReluStage final : public StageNode { private: S...
fujunwei/dldt
inference-engine/tests/ie_test_utils/functional_test_utils/plugin_cache.hpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <ie_core.hpp> #include <ie_plugin_ptr.hpp> class PluginCache { public: static PluginCache& get(); std::shared_ptr<InferenceEngine::Core> ie(const std::string &deviceToCheck = std::...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/one_hot.cpp
<reponame>fujunwei/dldt // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "list.hpp" #include "base.hpp" #include "ie_parallel.hpp" #include <vector> namespace InferenceEngine { namespace Extensions { namespace Cpu { class OneHotImpl: public ExtLayerBase { public: e...
fujunwei/dldt
inference-engine/src/mkldnn_plugin/nodes/space_to_batch.cpp
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "base.hpp" #include "ie_parallel.hpp" #include "list.hpp" #include <cmath> #include <string> #include <vector> #include <set> #include <cassert> namespace InferenceEngine { namespace Extensions { namespace Cpu { class SpaceTo...
fujunwei/dldt
inference-engine/tests/functional/inference_engine/extension_lib/src/extension.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <extension.hpp> #include <ngraph/opsets/opset.hpp> #include <ngraph/factory.hpp> #include <unordered_map> #include <string> #include <memory> #include <vector> #include <map> IE_SUPPRESS_DEPRECATED_START constexpr ngraph...
fujunwei/dldt
inference-engine/include/builders/ie_psroi_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/thirdparty/mkl-dnn/src/cpu/jit_uni_fork_softmax_kernel_f32.hpp
<reponame>fujunwei/dldt /******************************************************************************* * 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 * *...
fujunwei/dldt
inference-engine/src/transformations/src/transformations/convert_opset1_to_legacy/reshape_1d_convolutions.cpp
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset1_to_legacy/reshape_1d_convolutions.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> #include "ngraph_ops/convolution_ie.hpp" #include "transformations/utils/util...
fujunwei/dldt
inference-engine/include/ie_context.hpp
<filename>inference-engine/include/ie_context.hpp<gh_stars>0 // Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * @brief This is a header file for the IE Context class * * @file ie_context.hpp */ #pragma once #include <ie_iextension.h> #include <details/caseless.hpp> #incl...