canonical

package
v0.0.0-...-7d47eef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2023 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package canonical is an alias for the `model/io` package that also links all the canonical model support along. Most of the time one wants to use this package instead of `model/io`. But to decrease code bloat, one can also depend on `model/io` and only the specific type of model desired.

Index

Constants

This section is empty.

Variables

View Source
var (
	// LoadModel loads a model from disk.
	// This is just an alias, see implementation in `model/io.go`
	LoadModel = model_io.LoadModel

	// LoadModelWithPrefix loads a model with a prefix from disk.
	// This is just an alias, see implementation in `model/io.go`
	//
	// The "prefix" is a string append to the name of all the files in the model. Using a prefix make
	// it possible to store multiple models in the same directory without sub-directories. Models
	// created by TensorFlow Decision Forests generally have prefix.
	LoadModelWithPrefix = model_io.LoadModelWithPrefix

	// DetectFilePrefix detect the prefix of the model.
	// This function is similar as "DetectFilePrefix" in `model_library.cc`.
	// This is just an alias, see implementation in `model/io.go`
	DetectFilePrefix = model_io.DetectFilePrefix
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL