azblobmodelprovider

package
v0.0.0-...-0e5f22e Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AZBlobLocation

type AZBlobLocation struct {
	// The model "folder" on the azure container
	KeyPrefix string
}

type AZBlobModelProvider

type AZBlobModelProvider struct {
	ContainerURL *url.URL
	ModelBaseDir string
	// contains filtered or unexported fields
}

func NewAZBlobModelProvider

func NewAZBlobModelProvider(container string, modelBaseDir string, accountName string, accountKey string) (*AZBlobModelProvider, error)

func NewAZBlobModelProviderWithUrl

func NewAZBlobModelProviderWithUrl(containerUrl string, modelBaseDir string, accountName string, accountKey string) (*AZBlobModelProvider, error)

func (AZBlobModelProvider) LoadModel

func (provider AZBlobModelProvider) LoadModel(modelName string, modelVersion int64, destinationDir string) (*cachemanager.Model, error)

func (AZBlobModelProvider) ModelSize

func (provider AZBlobModelProvider) ModelSize(modelName string, modelVersion int64) (int64, error)

Jump to

Keyboard shortcuts

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