mocks

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNeuralNet

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

MockNeuralNet is a mock of NeuralNet interface

func NewMockNeuralNet

func NewMockNeuralNet(ctrl *gomock.Controller) *MockNeuralNet

NewMockNeuralNet creates a new mock instance

func (*MockNeuralNet) Close

func (m *MockNeuralNet) Close() error

Close mocks base method

func (*MockNeuralNet) EXPECT

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

func (*MockNeuralNet) ForwardLayers

func (m *MockNeuralNet) ForwardLayers(outBlobNames []string) []gocv.Mat

ForwardLayers mocks base method

func (*MockNeuralNet) SetInput

func (m *MockNeuralNet) SetInput(blob gocv.Mat, name string)

SetInput mocks base method

func (*MockNeuralNet) SetPreferableBackend

func (m *MockNeuralNet) SetPreferableBackend(backend gocv.NetBackendType) error

SetPreferableBackend mocks base method

func (*MockNeuralNet) SetPreferableTarget

func (m *MockNeuralNet) SetPreferableTarget(target gocv.NetTargetType) error

SetPreferableTarget mocks base method

type MockNeuralNetMockRecorder

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

MockNeuralNetMockRecorder is the mock recorder for MockNeuralNet

func (*MockNeuralNetMockRecorder) Close

func (mr *MockNeuralNetMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockNeuralNetMockRecorder) ForwardLayers

func (mr *MockNeuralNetMockRecorder) ForwardLayers(outBlobNames interface{}) *gomock.Call

ForwardLayers indicates an expected call of ForwardLayers

func (*MockNeuralNetMockRecorder) SetInput

func (mr *MockNeuralNetMockRecorder) SetInput(blob, name interface{}) *gomock.Call

SetInput indicates an expected call of SetInput

func (*MockNeuralNetMockRecorder) SetPreferableBackend

func (mr *MockNeuralNetMockRecorder) SetPreferableBackend(backend interface{}) *gomock.Call

SetPreferableBackend indicates an expected call of SetPreferableBackend

func (*MockNeuralNetMockRecorder) SetPreferableTarget

func (mr *MockNeuralNetMockRecorder) SetPreferableTarget(target interface{}) *gomock.Call

SetPreferableTarget indicates an expected call of SetPreferableTarget

Jump to

Keyboard shortcuts

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