-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Einsum reference in nGraph interpreter
Signed-off-by: Roman Kazantsev <[email protected]>
- Loading branch information
Showing
7 changed files
with
1,402 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
ngraph/core/reference/include/ngraph/runtime/reference/einsum.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright (C) 2018-2021 Intel Corporation | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#pragma once | ||
|
||
#include <algorithm> | ||
|
||
#include <ngraph/opsets/opset7.hpp> | ||
|
||
namespace ngraph | ||
{ | ||
namespace runtime | ||
{ | ||
namespace reference | ||
{ | ||
void einsum(const HostTensorVector& outputs, const HostTensorVector& inputs, | ||
const std::string &equation, | ||
const element::Type& input_type); | ||
} // namespace reference | ||
|
||
} // namespace runtime | ||
|
||
} // namespace ngraph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.