Skip to content

Commit

Permalink
Static functions?
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Chu <justinchu@microsoft.com>
  • Loading branch information
justinchuby committed Aug 22, 2023
1 parent 69d0f4e commit dba3f96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnx/defs/math/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace ONNX_NAMESPACE {
namespace defs::math::utils {
template <typename T>
static T GetScalarValueFromTensor(const ONNX_NAMESPACE::TensorProto* t) {
T GetScalarValueFromTensor(const ONNX_NAMESPACE::TensorProto* t) {
if (t == nullptr) {
return T{};
}
Expand Down
2 changes: 1 addition & 1 deletion onnx/defs/math/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace ONNX_NAMESPACE {
namespace defs::math::utils {
template <typename T>
static T GetScalarValueFromTensor(const ONNX_NAMESPACE::TensorProto* t);
T GetScalarValueFromTensor(const ONNX_NAMESPACE::TensorProto* t);

std::function<void(OpSchema&)>
SoftmaxFamilyDocGenerator(const char* name, const char* description, const char* equation);
Expand Down

0 comments on commit dba3f96

Please sign in to comment.