-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Code generate TextLoader API and enhance it with convenience API. #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
3b88d2f
f46f36a
c0ff881
6d5f351
51d5658
24495fb
628cd1d
c5dd614
a61d244
847f3f1
9a6b97c
5f153fb
3b57ae6
4119b43
755eb34
743fa6f
b5c4fcb
bb1afd4
596079f
b1d44b3
6233b76
a6805c9
ca98fc5
78e89c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -42,8 +42,8 @@ public TextLoaderRange(int ordinal) | |||
public TextLoaderRange(int min, int max) | ||||
{ | ||||
|
||||
Contracts.CheckParam(min >= 0, nameof(min), "Cannot be negative number."); | ||||
Contracts.CheckParam(max >= min, nameof(max), $"Cannot be less than {nameof(min)}."); | ||||
Contracts.CheckParam(min >= 0, nameof(min), "Cannot be a negative number."); | ||||
Contracts.CheckParam(max >= min, nameof(max), "Cannot be less than " + nameof(min) +"."); | ||||
|
||||
Min = min; | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Negative numbers? Both zero? Both the same? Min larger than max? #WontFix There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please refer to \src\microsoft.ml.data\dataloadsave\text\textloader.cs line 149 - isValid method In reply to: 188737311 [](ancestors = 188737311) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @codemzs It's
|
||||
Max = max; | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar for this. #Resolved There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<param
tags? Isn't it important to explain these? #Closed