mock_prediction

package
v0.0.0-...-de2183f Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_prediction is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPredictor

type MockPredictor struct {
	// contains filtered or unexported fields
}

MockPredictor is a mock of Predictor interface.

func NewMockPredictor

func NewMockPredictor(ctrl *gomock.Controller) *MockPredictor

NewMockPredictor creates a new mock instance.

func (*MockPredictor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPredictor) InputCount

func (m *MockPredictor) InputCount() int

InputCount mocks base method.

func (*MockPredictor) OutputCount

func (m *MockPredictor) OutputCount() int

OutputCount mocks base method.

func (*MockPredictor) Predict

func (m *MockPredictor) Predict(arg0 []float64) ([]float64, error)

Predict mocks base method.

func (*MockPredictor) Train

func (m *MockPredictor) Train(arg0 training.Examples, arg1 int) error

Train mocks base method.

type MockPredictorMockRecorder

type MockPredictorMockRecorder struct {
	// contains filtered or unexported fields
}

MockPredictorMockRecorder is the mock recorder for MockPredictor.

func (*MockPredictorMockRecorder) InputCount

func (mr *MockPredictorMockRecorder) InputCount() *gomock.Call

InputCount indicates an expected call of InputCount.

func (*MockPredictorMockRecorder) OutputCount

func (mr *MockPredictorMockRecorder) OutputCount() *gomock.Call

OutputCount indicates an expected call of OutputCount.

func (*MockPredictorMockRecorder) Predict

func (mr *MockPredictorMockRecorder) Predict(arg0 interface{}) *gomock.Call

Predict indicates an expected call of Predict.

func (*MockPredictorMockRecorder) Train

func (mr *MockPredictorMockRecorder) Train(arg0, arg1 interface{}) *gomock.Call

Train indicates an expected call of Train.

Jump to

Keyboard shortcuts

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