Skip to content

Commit

Permalink
Fix a build error, fix doxugen error, upgrade doxygen config
Browse files Browse the repository at this point in the history
  • Loading branch information
yuslepukhin committed Mar 31, 2023
1 parent 5c216a6 commit 584785f
Show file tree
Hide file tree
Showing 3 changed files with 2,362 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ internal NamedOnnxValue(string name, Object value, MapHelper helper)
/// <typeparam name="T"></typeparam>
/// <param name="name">name</param>
/// <param name="value">Tensor<typeparamref name="T"/></param>
/// <param name="metadata">node metadata, necessary if this is used for input/output<typeparamref name="T"/></param>
/// <returns></returns>
public static NamedOnnxValue CreateFromTensor<T>(string name, Tensor<T> value)
{
Expand Down
3 changes: 3 additions & 0 deletions onnxruntime/core/framework/onnxruntime_typeinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ OrtTypeInfo::Ptr OrtTypeInfo::FromOrtValue(const OrtValue& value) {
}
}
ORT_NOT_IMPLEMENTED("This OrtValue is neither Tensor, SparseTensor, Map or Sequence type");
return Ptr();
}

const DataTypeImpl* OrtTypeInfo::ElementTypeFromProto(int type) {
Expand Down Expand Up @@ -288,6 +289,7 @@ OrtTypeInfo::Ptr OrtTypeInfo::FromTypeProto(const ONNX_NAMESPACE::TypeProto& inp
break;
}
ORT_NOT_IMPLEMENTED("The type is not tensor, sparse tensor, sequence, map or optional type");
return Ptr();
}

OrtTypeInfo::Ptr OrtTypeInfo::Clone() const {
Expand Down Expand Up @@ -336,4 +338,5 @@ OrtTypeInfo::Ptr OrtTypeInfo::Clone() const {
break;
}
ORT_NOT_IMPLEMENTED("The type is not tensor, sparse tensor, sequence, map or optional type");
return Ptr();
}
Loading

0 comments on commit 584785f

Please sign in to comment.