Skip to content

Conversation

@yuslepukhin
Copy link
Member

Description:
Supply missing documentation pieces. Prepare to generate doc pages.

@yuslepukhin yuslepukhin requested a review from a team as a code owner November 18, 2020 23:07
pranavsharma
pranavsharma previously approved these changes Nov 19, 2020
pranavsharma
pranavsharma previously approved these changes Nov 20, 2020
@yuslepukhin yuslepukhin reopened this Nov 20, 2020
@yuslepukhin yuslepukhin merged commit ceedf56 into master Nov 20, 2020
@yuslepukhin yuslepukhin deleted the yuslepukhin/cs_docs branch November 20, 2020 22:03
/// using either a explicit call to Dispose() method or
/// a pattern of using() block. If this is a member of another
/// class that class must also become IDisposable and it must
/// dispose of InferfenceSession in its Dispose() method.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"InferfenceSession" -> "InferenceSession"

/// This property queries model metadata, constructs
/// an instance of ModelMetadata and caches it
/// </summary>
/// <returns>Instance of ModelMetdata</returns>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ModelMetdata -> ModelMetadata


/// <summary>
/// Constructs an instance of NamedOnnxValue and represents
/// a model input to an inference session. It also represents a modle output
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"modle" -> "model"

#region SafeHandle
/// <summary>
/// Overrides SafeHandle.ReleaseHandle() to properly dispose of
/// the native instance of OrtIoBidning
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OrtIoBidning -> OrtIoBinding

/// </param>
/// <param name="elementType">discovered tensor element type</param>
/// <returns></returns>
/// <returns>And instance of OrtValue constructed on top of the object</returns>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And -> An



/// <summary>
/// Default __ctor. Creates default RuntimeOptions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__ctor -> ctor

/// Log Verbosity Level for the session logs. Default = 0. Valid values are >=0.
/// This takes into effect only when the LogSeverityLevel is set to ORT_LOGGING_LEVEL_VERBOSE.
/// </summary>
/// <value>returns _logVerbosityLevel value</value>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: a lot of these comments seem to not provide useful information, just implementation details


private readonly Type _primitiveType;
/// <summary>
/// Constructs TensorBae
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TensorBae -> TensorBase

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: general comment, trailing whitespace

@faxu faxu removed the release:1.6 label Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants