Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockNeuralNet
- func (m *MockNeuralNet) Close() error
- func (m *MockNeuralNet) EXPECT() *MockNeuralNetMockRecorder
- func (m *MockNeuralNet) ForwardLayers(outBlobNames []string) []gocv.Mat
- func (m *MockNeuralNet) SetInput(blob gocv.Mat, name string)
- func (m *MockNeuralNet) SetPreferableBackend(backend gocv.NetBackendType) error
- func (m *MockNeuralNet) SetPreferableTarget(target gocv.NetTargetType) error
- type MockNeuralNetMockRecorder
- func (mr *MockNeuralNetMockRecorder) Close() *gomock.Call
- func (mr *MockNeuralNetMockRecorder) ForwardLayers(outBlobNames interface{}) *gomock.Call
- func (mr *MockNeuralNetMockRecorder) SetInput(blob, name interface{}) *gomock.Call
- func (mr *MockNeuralNetMockRecorder) SetPreferableBackend(backend interface{}) *gomock.Call
- func (mr *MockNeuralNetMockRecorder) SetPreferableTarget(target interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockNeuralNet) EXPECT() *MockNeuralNetMockRecorder
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