Documentation
¶
Index ¶
- type AiModel
- func (m *AiModel) Backend() string
- func (m *AiModel) Blob() []byte
- func (m *AiModel) Device() string
- func (m *AiModel) Inputs() []string
- func (m *AiModel) Outputs() []string
- func (m *AiModel) SetBackend(backend string)
- func (m *AiModel) SetBlob(blob []byte)
- func (m *AiModel) SetBlobFromFile(path string) (err error)
- func (m *AiModel) SetDevice(device string)
- func (m *AiModel) SetInputs(inputs []string)
- func (m *AiModel) SetOutputs(outputs []string)
- type AiTensor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiModel ¶
type AiModel struct {
// contains filtered or unexported fields
}
func NewEmptyModel ¶
func NewEmptyModel() *AiModel
func (*AiModel) SetBackend ¶
func (*AiModel) SetBlobFromFile ¶
func (*AiModel) SetOutputs ¶
type AiTensor ¶
type AiTensor struct {
// contains filtered or unexported fields
}
TensorInterface is an interface that represents the skeleton of a tensor ( n-dimensional array of numerical data ) needed to map it to a RedisAI Model with the proper operations
func NewAiTensor ¶
func NewAiTensor() *AiTensor
func NewAiTensorWithData ¶
func NewAiTensorWithShape ¶
Click to show internal directories.
Click to hide internal directories.