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)
- func (m *AIModel) SetTag(tag string)
- func (m *AIModel) Tag() string
- type AITensor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIModel ¶ added in v1.0.1
type AIModel struct {
// contains filtered or unexported fields
}
func NewEmptyModel ¶
func NewEmptyModel() *AIModel
func (*AIModel) SetBackend ¶ added in v1.0.1
func (*AIModel) SetBlobFromFile ¶ added in v1.0.1
func (*AIModel) SetOutputs ¶ added in v1.0.1
type AITensor ¶ added in v1.0.1
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.