-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat(*): update ormbfile struct #150
Conversation
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.
LGTM /cc @simon-cj
pkg/model/types.go
Outdated
@@ -45,23 +45,19 @@ type Hyperparameter struct { | |||
type Signature struct { | |||
Inputs []Tensor `json:"inputs,omitempty" yaml:"inputs,omitempty"` | |||
Outputs []Tensor `json:"outputs,omitempty" yaml:"outputs,omitempty"` | |||
Layers []Layer `json:"layers,omitempty" yaml:"layers,omitempty"` | |||
Layers map[string]int `json:"layers,omitempty" yaml:"layers,omitempty"` | |||
} | |||
|
|||
type Tensor struct { | |||
Name string `json:"name,omitempty" yaml:"name,omitempty"` | |||
Size []int `json:"size,omitempty" yaml:"size,omitempty"` | |||
DType string `json:"dtype,omitempty" yaml:"dtype,omitempty"` |
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.
DType string `json:"dtype,omitempty" yaml:"dtype,omitempty"` | |
DType string `json:"dType,omitempty" yaml:"dType,omitempty"` |
/hold |
LGTM |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: simon-cj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@judgeeeeee: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
ddf2af8
to
e0ff275
Compare
@simon-cj PTAL |
/lgtm |
/hold cancel |
/lgtm |
What this PR does / why we need it:
fix irregular:
Tensor.OpType json/yaml tags
Metadata.Hyperparameters
Tensor.DType json/yaml tags
update Signature.layers definition
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #149
Special notes for your reviewer:
/cc @your-reviewer
Release note: