publish master branch snapshot, revision 9df5eb1f84e13a35720a918f88324561222ab114
This commit is contained in:
1 parent
3ad0e4e434
commit
f30dcc218c
2028 files changed
+577349
-2404
No files matched your search
@@ -519,7 +519,9 @@ public:
|
||||
* @param alloc An allocator
|
||||
*/
|
||||
TBlob(const TensorDesc& tensorDesc, const std::shared_ptr<IAllocator>& alloc)
|
||||
: MemoryBlob(tensorDesc), _allocator(alloc) {}
|
||||
: MemoryBlob(tensorDesc), _allocator(alloc) {
|
||||
if (_allocator == nullptr) THROW_IE_EXCEPTION << "TBlob allocator was not initialized.";
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief The copy constructor data is reallocated and copied from the source to the target blob.
|
||||
|
||||
@@ -174,6 +174,7 @@ public:
|
||||
* @return vector of strings
|
||||
*/
|
||||
std::vector<std::string> getImplTypes(const std::shared_ptr<ngraph::Node>& node) override {
|
||||
if (node == nullptr) THROW_IE_EXCEPTION << "Provided ngraph::Node pointer is nullptr.";
|
||||
return actual->getImplTypes(node);
|
||||
}
|
||||
|
||||
@@ -184,6 +185,7 @@ public:
|
||||
* @return shared pointer to implementation
|
||||
*/
|
||||
ILayerImpl::Ptr getImplementation(const std::shared_ptr<ngraph::Node>& node, const std::string& implType) override {
|
||||
if (node == nullptr) THROW_IE_EXCEPTION << "Provided ngraph::Node pointer is nullptr.";
|
||||
return actual->getImplementation(node, implType);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user