-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aea4660
commit aa77226
Showing
12 changed files
with
157 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# mlmd.errors | ||
|
||
Exception types for MLMD errors. | ||
|
||
## Classes | ||
|
||
[`class AbortedError`][ml_metadata.errors.AbortedError]: The operation was aborted, typically due to a concurrent action. | ||
|
||
[`class AlreadyExistsError`][ml_metadata.errors.AlreadyExistsError]: Raised when an entity that we attempted to create already exists. | ||
|
||
[`class CancelledError`][ml_metadata.errors.CancelledError]: Raised when an operation or step is cancelled. | ||
|
||
[`class DataLossError`][ml_metadata.errors.DataLossError]: Raised when unrecoverable data loss or corruption is encountered. | ||
|
||
[`class DeadlineExceededError`][ml_metadata.errors.DeadlineExceededError]: Raised when a deadline expires before an operation could complete. | ||
|
||
[`class FailedPreconditionError`][ml_metadata.errors.FailedPreconditionError]: Raised when the system is not in a state to execute an operation. | ||
|
||
[`class InternalError`][ml_metadata.errors.InternalError]: Raised when the system experiences an internal error. | ||
|
||
[`class InvalidArgumentError`][ml_metadata.errors.InvalidArgumentError]: Raised when an operation receives an invalid argument. | ||
|
||
[`class NotFoundError`][ml_metadata.errors.NotFoundError]: Raised when a requested entity was not found. | ||
|
||
[`class OutOfRangeError`][ml_metadata.errors.OutOfRangeError]: Raised when an operation iterates past the valid input range. | ||
|
||
[`class PermissionDeniedError`][ml_metadata.errors.PermissionDeniedError]: Raised when the caller does not have permission to run an operation. | ||
|
||
[`class ResourceExhaustedError`][ml_metadata.errors.ResourceExhaustedError]: Some resource has been exhausted. | ||
|
||
[`class StatusError`][ml_metadata.errors.StatusError]: A general error class that cast maps Status to typed errors. | ||
|
||
[`class UnauthenticatedError`][ml_metadata.errors.UnauthenticatedError]: The request does not have valid authentication credentials. | ||
|
||
[`class UnavailableError`][ml_metadata.errors.UnavailableError]: Raised when the runtime is currently unavailable. | ||
|
||
[`class UnimplementedError`][ml_metadata.errors.UnimplementedError]: Raised when an operation has not been implemented. | ||
|
||
[`class UnknownError`][ml_metadata.errors.UnknownError]: Raised when an operation failed reason is unknown. | ||
|
||
## Functions | ||
|
||
[`exception_type_from_error_code(...)`][ml_metadata.errors.exception_type_from_error_code]: Returns error class w.r.t. the error_code. | ||
|
||
[`make_exception(...)`][ml_metadata.errors.make_exception]: Makes an exception with the MLMD error code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# mlmd.errors | ||
|
||
::: ml_metadata.errors | ||
options: | ||
show_if_no_docstring: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# mlmd.proto | ||
|
||
ML Metadata proto module. | ||
|
||
## Classes | ||
|
||
[`class Artifact`][ml_metadata.proto.Artifact]: An artifact represents an input or an output of individual steps in a ML workflow, e.g., a trained model, an input dataset, and evaluation metrics. | ||
|
||
[`class ArtifactType`][ml_metadata.proto.ArtifactType]: A user defined type about a collection of artifacts and their properties that are stored in the metadata store. | ||
|
||
[`class Association`][ml_metadata.proto.Association]: An association represents the relationship between executions and contexts. | ||
|
||
[`class Attribution`][ml_metadata.proto.Attribution]: An attribution represents the relationship between artifacts and contexts. | ||
|
||
[`class ConnectionConfig`][ml_metadata.proto.ConnectionConfig]: A connection configuration specifying the persistent backend to be used with MLMD. | ||
|
||
[`class Context`][ml_metadata.proto.Context]: A context defines a group of artifacts and/or executions. | ||
|
||
[`class ContextType`][ml_metadata.proto.ContextType]: A user defined type about a collection of contexts and their properties that are stored in the metadata store. | ||
|
||
[`class Event`][ml_metadata.proto.Event]: An event records the relationship between artifacts and executions. | ||
|
||
[`class Execution`][ml_metadata.proto.Execution]: An execution describes a component run or a step in an ML workflow along with its runtime parameters, e.g., a Trainer run, a data transformation step. | ||
|
||
[`class ExecutionType`][ml_metadata.proto.ExecutionType]: A user defined type about a collection of executions and their properties that are stored in the metadata store. | ||
|
||
[`class FakeDatabaseConfig`][ml_metadata.proto.FakeDatabaseConfig]: An in-memory database configuration for testing purpose. | ||
|
||
[`class MetadataStoreClientConfig`][ml_metadata.proto.MetadataStoreClientConfig]: A connection configuration to use a MLMD server as the persistent backend. | ||
|
||
[`class MySQLDatabaseConfig`][ml_metadata.proto.MySQLDatabaseConfig]: A connection configuration to use a MySQL db instance as a MLMD backend. | ||
|
||
[`class ParentContext`][ml_metadata.proto.ParentContext]: A parental context represents the relationship between contexts. | ||
|
||
[`class SqliteMetadataSourceConfig`][ml_metadata.proto.SqliteMetadataSourceConfig]: A connection configuration to use a Sqlite db file as a MLMD backend. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# mlmd.proto | ||
|
||
::: ml_metadata.proto | ||
options: | ||
show_if_no_docstring: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# mlmd | ||
|
||
Init module for ML Metadata. | ||
|
||
## Modules | ||
|
||
[`errors`][ml_metadata.errors] module: Exception types for MLMD errors. | ||
|
||
[`proto`][ml_metadata.proto] module: ML Metadata proto module. | ||
|
||
## Classes | ||
|
||
[`class ListOptions`][ml_metadata.ListOptions]: Defines the available options when listing nodes. | ||
|
||
[`class MetadataStore`][ml_metadata.MetadataStore]: A store for the metadata. | ||
|
||
[`class OrderByField`][ml_metadata.OrderByField]: Defines the available fields to order results in ListOperations. | ||
|
||
## Functions | ||
|
||
[`downgrade_schema(...)`][ml_metadata.downgrade_schema]: Downgrades the db specified in the connection config to a schema version. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# mlmd | ||
|
||
::: ml_metadata | ||
options: | ||
show_submodules: false |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
window.MathJax = { | ||
tex: { | ||
inlineMath: [["\\(", "\\)"]], | ||
displayMath: [["\\[", "\\]"]], | ||
processEscapes: true, | ||
processEnvironments: true | ||
}, | ||
options: { | ||
ignoreHtmlClass: ".*|", | ||
processHtmlClass: "arithmatex" | ||
} | ||
}; | ||
|
||
document$.subscribe(() => { | ||
MathJax.startup.output.clearCache() | ||
MathJax.typesetClear() | ||
MathJax.texReset() | ||
MathJax.typesetPromise() | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
:root { | ||
--md-primary-fg-color: #FFA800; | ||
--md-primary-fg-color--light: #CCCCCC; | ||
--md-primary-fg-color--dark: #425066; | ||
} | ||
|
||
.video-wrapper { | ||
max-width: 240px; | ||
display: flex; | ||
flex-direction: row; | ||
} | ||
.video-wrapper > iframe { | ||
width: 100%; | ||
aspect-ratio: 16 / 9; | ||
} | ||
|
||
p img{ | ||
background: white; | ||
} |