Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultSigDefKey = "serving_default" DefaultTag = "serve" )
View Source
const ( SpecGenerationError = "missing info to generate OpenAPI specification\n error: %s" UnmarshallableSpecError = "generated OpenAPI specification is corrupted\n error: %s \n specification: %s" UnloadableSpecError = "generated OpenAPI specification (below) is corrupted\n error: %s \n specification: %s" InvalidSpecError = "generated OpenAPI specification (below) is constructed incorrectly\n error: %s \n specification: %s" )
Known error messages
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶ added in v0.1.1
type Builder struct {
Generator
}
func (*Builder) SetMetaGraphTags ¶ added in v0.1.1
func (*Builder) SetSigDefKey ¶ added in v0.1.1
func (*Builder) SetVersion ¶ added in v0.1.1
type Generator ¶ added in v0.1.1
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) GenerateOpenAPI ¶ added in v0.1.1
func (g *Generator) GenerateOpenAPI(model *pb.SavedModel) (string, error)
Click to show internal directories.
Click to hide internal directories.