caffe

package
v0.0.0-...-64cb8c3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package caffe is a generated protocol buffer package.

It is generated from these files:

caffe.proto

It has these top-level messages:

BlobShape
BlobProto
BlobProtoVector
Datum
FillerParameter
NetParameter
SolverParameter
SolverState
NetState
NetStateRule
ParamSpec
LayerParameter
TransformationParameter
LossParameter
AccuracyParameter
ArgMaxParameter
ConcatParameter
ContrastiveLossParameter
ConvolutionParameter
DataParameter
DropoutParameter
DummyDataParameter
EltwiseParameter
ExpParameter
HDF5DataParameter
HDF5OutputParameter
HingeLossParameter
ImageDataParameter
InfogainLossParameter
InnerProductParameter
LRNParameter
MemoryDataParameter
MVNParameter
PoolingParameter
PowerParameter
PythonParameter
ReLUParameter
SigmoidParameter
SliceParameter
SoftmaxParameter
TanHParameter
ThresholdParameter
WindowDataParameter
V1LayerParameter
V0LayerParameter
PReLUParameter

Index

Constants

View Source
const Default_AccuracyParameter_Axis int32 = 1
View Source
const Default_AccuracyParameter_TopK uint32 = 1
View Source
const Default_ArgMaxParameter_OutMaxVal bool = false
View Source
const Default_ArgMaxParameter_TopK uint32 = 1
View Source
const Default_BlobProto_Channels int32 = 0
View Source
const Default_BlobProto_Height int32 = 0
View Source
const Default_BlobProto_Num int32 = 0
View Source
const Default_BlobProto_Width int32 = 0
View Source
const Default_ConcatParameter_Axis int32 = 1
View Source
const Default_ConcatParameter_ConcatDim uint32 = 1
View Source
const Default_ContrastiveLossParameter_Margin float32 = 1
View Source
const Default_ConvolutionParameter_BiasTerm bool = true
View Source
const Default_ConvolutionParameter_Group uint32 = 1
View Source
const Default_ConvolutionParameter_Pad uint32 = 0
View Source
const Default_ConvolutionParameter_PadH uint32 = 0
View Source
const Default_ConvolutionParameter_PadW uint32 = 0
View Source
const Default_ConvolutionParameter_Stride uint32 = 1
View Source
const Default_DataParameter_CropSize uint32 = 0
View Source
const Default_DataParameter_ForceEncodedColor bool = false
View Source
const Default_DataParameter_Mirror bool = false
View Source
const Default_DataParameter_RandSkip uint32 = 0
View Source
const Default_DataParameter_Scale float32 = 1
View Source
const Default_Datum_Encoded bool = false
View Source
const Default_DropoutParameter_DropoutRatio float32 = 0.5
View Source
const Default_EltwiseParameter_StableProdGrad bool = true
View Source
const Default_ExpParameter_Base float32 = -1
View Source
const Default_ExpParameter_Scale float32 = 1
View Source
const Default_ExpParameter_Shift float32 = 0
View Source
const Default_FillerParameter_Max float32 = 1
View Source
const Default_FillerParameter_Mean float32 = 0
View Source
const Default_FillerParameter_Min float32 = 0
View Source
const Default_FillerParameter_Sparse int32 = -1
View Source
const Default_FillerParameter_Std float32 = 1
View Source
const Default_FillerParameter_Type string = "constant"
View Source
const Default_FillerParameter_Value float32 = 0
View Source
const Default_HDF5DataParameter_Shuffle bool = false
View Source
const Default_ImageDataParameter_CropSize uint32 = 0
View Source
const Default_ImageDataParameter_IsColor bool = true
View Source
const Default_ImageDataParameter_Mirror bool = false
View Source
const Default_ImageDataParameter_NewHeight uint32 = 0
View Source
const Default_ImageDataParameter_NewWidth uint32 = 0
View Source
const Default_ImageDataParameter_RandSkip uint32 = 0
View Source
const Default_ImageDataParameter_Scale float32 = 1
View Source
const Default_ImageDataParameter_Shuffle bool = false
View Source
const Default_InnerProductParameter_Axis int32 = 1
View Source
const Default_InnerProductParameter_BiasTerm bool = true
View Source
const Default_LRNParameter_Alpha float32 = 1
View Source
const Default_LRNParameter_Beta float32 = 0.75
View Source
const Default_LRNParameter_K float32 = 1
View Source
const Default_LRNParameter_LocalSize uint32 = 5
View Source
const Default_LossParameter_Normalize bool = true
View Source
const Default_MVNParameter_AcrossChannels bool = false
View Source
const Default_MVNParameter_NormalizeVariance bool = true
View Source
const Default_NetParameter_DebugInfo bool = false
View Source
const Default_NetParameter_ForceBackward bool = false
View Source
const Default_NetState_Level int32 = 0
View Source
const Default_PReLUParameter_ChannelShared bool = false
View Source
const Default_ParamSpec_DecayMult float32 = 1
View Source
const Default_ParamSpec_LrMult float32 = 1
View Source
const Default_PoolingParameter_GlobalPooling bool = false
View Source
const Default_PoolingParameter_Pad uint32 = 0
View Source
const Default_PoolingParameter_PadH uint32 = 0
View Source
const Default_PoolingParameter_PadW uint32 = 0
View Source
const Default_PoolingParameter_Stride uint32 = 1
View Source
const Default_PowerParameter_Power float32 = 1
View Source
const Default_PowerParameter_Scale float32 = 1
View Source
const Default_PowerParameter_Shift float32 = 0
View Source
const Default_ReLUParameter_NegativeSlope float32 = 0
View Source
const Default_SliceParameter_Axis int32 = 1
View Source
const Default_SliceParameter_SliceDim uint32 = 1
View Source
const Default_SoftmaxParameter_Axis int32 = 1
View Source
const Default_SolverParameter_AverageLoss int32 = 1
View Source
const Default_SolverParameter_ClipGradients float32 = -1
View Source
const Default_SolverParameter_DebugInfo bool = false
View Source
const Default_SolverParameter_Delta float32 = 1e-08
View Source
const Default_SolverParameter_DeviceId int32 = 0
View Source
const Default_SolverParameter_RandomSeed int64 = -1
View Source
const Default_SolverParameter_RegularizationType string = "L2"
View Source
const Default_SolverParameter_Snapshot int32 = 0
View Source
const Default_SolverParameter_SnapshotAfterTrain bool = true
View Source
const Default_SolverParameter_SnapshotDiff bool = false
View Source
const Default_SolverParameter_TestComputeLoss bool = false
View Source
const Default_SolverParameter_TestInitialization bool = true
View Source
const Default_SolverParameter_TestInterval int32 = 0
View Source
const Default_SolverState_CurrentStep int32 = 0
View Source
const Default_ThresholdParameter_Threshold float32 = 0
View Source
const Default_TransformationParameter_CropSize uint32 = 0
View Source
const Default_TransformationParameter_Mirror bool = false
View Source
const Default_TransformationParameter_Scale float32 = 1
View Source
const Default_V0LayerParameter_Alpha float32 = 1
View Source
const Default_V0LayerParameter_Beta float32 = 0.75
View Source
const Default_V0LayerParameter_Biasterm bool = true
View Source
const Default_V0LayerParameter_ConcatDim uint32 = 1
View Source
const Default_V0LayerParameter_Cropsize uint32 = 0
View Source
const Default_V0LayerParameter_DetBgThreshold float32 = 0.5
View Source
const Default_V0LayerParameter_DetContextPad uint32 = 0
View Source
const Default_V0LayerParameter_DetCropMode string = "warp"
View Source
const Default_V0LayerParameter_DetFgFraction float32 = 0.25
View Source
const Default_V0LayerParameter_DetFgThreshold float32 = 0.5
View Source
const Default_V0LayerParameter_DropoutRatio float32 = 0.5
View Source
const Default_V0LayerParameter_Group uint32 = 1
View Source
const Default_V0LayerParameter_K float32 = 1
View Source
const Default_V0LayerParameter_LocalSize uint32 = 5
View Source
const Default_V0LayerParameter_Mirror bool = false
View Source
const Default_V0LayerParameter_NewChannels int32 = 0
View Source
const Default_V0LayerParameter_NewHeight int32 = 0
View Source
const Default_V0LayerParameter_NewNum int32 = 0
View Source
const Default_V0LayerParameter_NewWidth int32 = 0
View Source
const Default_V0LayerParameter_Pad uint32 = 0
View Source
const Default_V0LayerParameter_RandSkip uint32 = 0
View Source
const Default_V0LayerParameter_Scale float32 = 1
View Source
const Default_V0LayerParameter_ShuffleImages bool = false
View Source
const Default_V0LayerParameter_Stride uint32 = 1
View Source
const Default_WindowDataParameter_BgThreshold float32 = 0.5
View Source
const Default_WindowDataParameter_CacheImages bool = false
View Source
const Default_WindowDataParameter_ContextPad uint32 = 0
View Source
const Default_WindowDataParameter_CropMode string = "warp"
View Source
const Default_WindowDataParameter_CropSize uint32 = 0
View Source
const Default_WindowDataParameter_FgFraction float32 = 0.25
View Source
const Default_WindowDataParameter_FgThreshold float32 = 0.5
View Source
const Default_WindowDataParameter_Mirror bool = false
View Source
const Default_WindowDataParameter_Scale float32 = 1

Variables

View Source
var ConvolutionParameter_Engine_name = map[int32]string{
	0: "DEFAULT",
	1: "CAFFE",
	2: "CUDNN",
}
View Source
var ConvolutionParameter_Engine_value = map[string]int32{
	"DEFAULT": 0,
	"CAFFE":   1,
	"CUDNN":   2,
}
View Source
var DataParameter_DB_name = map[int32]string{
	0: "LEVELDB",
	1: "LMDB",
}
View Source
var DataParameter_DB_value = map[string]int32{
	"LEVELDB": 0,
	"LMDB":    1,
}
View Source
var EltwiseParameter_EltwiseOp_name = map[int32]string{
	0: "PROD",
	1: "SUM",
	2: "MAX",
}
View Source
var EltwiseParameter_EltwiseOp_value = map[string]int32{
	"PROD": 0,
	"SUM":  1,
	"MAX":  2,
}
View Source
var HingeLossParameter_Norm_name = map[int32]string{
	1: "L1",
	2: "L2",
}
View Source
var HingeLossParameter_Norm_value = map[string]int32{
	"L1": 1,
	"L2": 2,
}
View Source
var LRNParameter_NormRegion_name = map[int32]string{
	0: "ACROSS_CHANNELS",
	1: "WITHIN_CHANNEL",
}
View Source
var LRNParameter_NormRegion_value = map[string]int32{
	"ACROSS_CHANNELS": 0,
	"WITHIN_CHANNEL":  1,
}
View Source
var ParamSpec_DimCheckMode_name = map[int32]string{
	0: "STRICT",
	1: "PERMISSIVE",
}
View Source
var ParamSpec_DimCheckMode_value = map[string]int32{
	"STRICT":     0,
	"PERMISSIVE": 1,
}
View Source
var Phase_name = map[int32]string{
	0: "TRAIN",
	1: "TEST",
}
View Source
var Phase_value = map[string]int32{
	"TRAIN": 0,
	"TEST":  1,
}
View Source
var PoolingParameter_Engine_name = map[int32]string{
	0: "DEFAULT",
	1: "CAFFE",
	2: "CUDNN",
}
View Source
var PoolingParameter_Engine_value = map[string]int32{
	"DEFAULT": 0,
	"CAFFE":   1,
	"CUDNN":   2,
}
View Source
var PoolingParameter_PoolMethod_name = map[int32]string{
	0: "MAX",
	1: "AVE",
	2: "STOCHASTIC",
}
View Source
var PoolingParameter_PoolMethod_value = map[string]int32{
	"MAX":        0,
	"AVE":        1,
	"STOCHASTIC": 2,
}
View Source
var ReLUParameter_Engine_name = map[int32]string{
	0: "DEFAULT",
	1: "CAFFE",
	2: "CUDNN",
}
View Source
var ReLUParameter_Engine_value = map[string]int32{
	"DEFAULT": 0,
	"CAFFE":   1,
	"CUDNN":   2,
}
View Source
var SigmoidParameter_Engine_name = map[int32]string{
	0: "DEFAULT",
	1: "CAFFE",
	2: "CUDNN",
}
View Source
var SigmoidParameter_Engine_value = map[string]int32{
	"DEFAULT": 0,
	"CAFFE":   1,
	"CUDNN":   2,
}
View Source
var SoftmaxParameter_Engine_name = map[int32]string{
	0: "DEFAULT",
	1: "CAFFE",
	2: "CUDNN",
}
View Source
var SoftmaxParameter_Engine_value = map[string]int32{
	"DEFAULT": 0,
	"CAFFE":   1,
	"CUDNN":   2,
}
View Source
var SolverParameter_SolverMode_name = map[int32]string{
	0: "CPU",
	1: "GPU",
}
View Source
var SolverParameter_SolverMode_value = map[string]int32{
	"CPU": 0,
	"GPU": 1,
}
View Source
var SolverParameter_SolverType_name = map[int32]string{
	0: "SGD",
	1: "NESTEROV",
	2: "ADAGRAD",
}
View Source
var SolverParameter_SolverType_value = map[string]int32{
	"SGD":      0,
	"NESTEROV": 1,
	"ADAGRAD":  2,
}
View Source
var TanHParameter_Engine_name = map[int32]string{
	0: "DEFAULT",
	1: "CAFFE",
	2: "CUDNN",
}
View Source
var TanHParameter_Engine_value = map[string]int32{
	"DEFAULT": 0,
	"CAFFE":   1,
	"CUDNN":   2,
}
View Source
var V0LayerParameter_PoolMethod_name = map[int32]string{
	0: "MAX",
	1: "AVE",
	2: "STOCHASTIC",
}
View Source
var V0LayerParameter_PoolMethod_value = map[string]int32{
	"MAX":        0,
	"AVE":        1,
	"STOCHASTIC": 2,
}
View Source
var V1LayerParameter_DimCheckMode_name = map[int32]string{
	0: "STRICT",
	1: "PERMISSIVE",
}
View Source
var V1LayerParameter_DimCheckMode_value = map[string]int32{
	"STRICT":     0,
	"PERMISSIVE": 1,
}
View Source
var V1LayerParameter_LayerType_name = map[int32]string{
	0:  "NONE",
	35: "ABSVAL",
	1:  "ACCURACY",
	30: "ARGMAX",
	2:  "BNLL",
	3:  "CONCAT",
	37: "CONTRASTIVE_LOSS",
	4:  "CONVOLUTION",
	5:  "DATA",
	39: "DECONVOLUTION",
	6:  "DROPOUT",
	32: "DUMMY_DATA",
	7:  "EUCLIDEAN_LOSS",
	25: "ELTWISE",
	38: "EXP",
	8:  "FLATTEN",
	9:  "HDF5_DATA",
	10: "HDF5_OUTPUT",
	28: "HINGE_LOSS",
	11: "IM2COL",
	12: "IMAGE_DATA",
	13: "INFOGAIN_LOSS",
	14: "INNER_PRODUCT",
	15: "LRN",
	29: "MEMORY_DATA",
	16: "MULTINOMIAL_LOGISTIC_LOSS",
	34: "MVN",
	17: "POOLING",
	26: "POWER",
	18: "RELU",
	19: "SIGMOID",
	27: "SIGMOID_CROSS_ENTROPY_LOSS",
	36: "SILENCE",
	20: "SOFTMAX",
	21: "SOFTMAX_LOSS",
	22: "SPLIT",
	33: "SLICE",
	23: "TANH",
	24: "WINDOW_DATA",
	31: "THRESHOLD",
}
View Source
var V1LayerParameter_LayerType_value = map[string]int32{
	"NONE":                       0,
	"ABSVAL":                     35,
	"ACCURACY":                   1,
	"ARGMAX":                     30,
	"BNLL":                       2,
	"CONCAT":                     3,
	"CONTRASTIVE_LOSS":           37,
	"CONVOLUTION":                4,
	"DATA":                       5,
	"DECONVOLUTION":              39,
	"DROPOUT":                    6,
	"DUMMY_DATA":                 32,
	"EUCLIDEAN_LOSS":             7,
	"ELTWISE":                    25,
	"EXP":                        38,
	"FLATTEN":                    8,
	"HDF5_DATA":                  9,
	"HDF5_OUTPUT":                10,
	"HINGE_LOSS":                 28,
	"IM2COL":                     11,
	"IMAGE_DATA":                 12,
	"INFOGAIN_LOSS":              13,
	"INNER_PRODUCT":              14,
	"LRN":                        15,
	"MEMORY_DATA":                29,
	"MULTINOMIAL_LOGISTIC_LOSS":  16,
	"MVN":                        34,
	"POOLING":                    17,
	"POWER":                      26,
	"RELU":                       18,
	"SIGMOID":                    19,
	"SIGMOID_CROSS_ENTROPY_LOSS": 27,
	"SILENCE":                    36,
	"SOFTMAX":                    20,
	"SOFTMAX_LOSS":               21,
	"SPLIT":                      22,
	"SLICE":                      33,
	"TANH":                       23,
	"WINDOW_DATA":                24,
	"THRESHOLD":                  31,
}

Functions

This section is empty.

Types

type AccuracyParameter

type AccuracyParameter struct {
	// When computing accuracy, count as correct by comparing the true label to
	// the top k scoring classes.  By default, only compare to the top scoring
	// class (i.e. argmax).
	TopK *uint32 `protobuf:"varint,1,opt,name=top_k,def=1" json:"top_k,omitempty"`
	// The "label" axis of the prediction blob, whose argmax corresponds to the
	// predicted label -- may be negative to index from the end (e.g., -1 for the
	// last axis).  For example, if axis == 1 and the predictions are
	// (N x C x H x W), the label blob is expected to contain N*H*W ground truth
	// labels with integer values in {0, 1, ..., C-1}.
	Axis *int32 `protobuf:"varint,2,opt,name=axis,def=1" json:"axis,omitempty"`
	// If specified, ignore instances with the given label.
	IgnoreLabel      *int32 `protobuf:"varint,3,opt,name=ignore_label" json:"ignore_label,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by AccuracyLayer

func (*AccuracyParameter) Descriptor

func (*AccuracyParameter) Descriptor() ([]byte, []int)

func (*AccuracyParameter) GetAxis

func (m *AccuracyParameter) GetAxis() int32

func (*AccuracyParameter) GetIgnoreLabel

func (m *AccuracyParameter) GetIgnoreLabel() int32

func (*AccuracyParameter) GetTopK

func (m *AccuracyParameter) GetTopK() uint32

func (*AccuracyParameter) ProtoMessage

func (*AccuracyParameter) ProtoMessage()

func (*AccuracyParameter) Reset

func (m *AccuracyParameter) Reset()

func (*AccuracyParameter) String

func (m *AccuracyParameter) String() string

type ArgMaxParameter

type ArgMaxParameter struct {
	// If true produce pairs (argmax, maxval)
	OutMaxVal        *bool   `protobuf:"varint,1,opt,name=out_max_val,def=0" json:"out_max_val,omitempty"`
	TopK             *uint32 `protobuf:"varint,2,opt,name=top_k,def=1" json:"top_k,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by ArgMaxLayer

func (*ArgMaxParameter) Descriptor

func (*ArgMaxParameter) Descriptor() ([]byte, []int)

func (*ArgMaxParameter) GetOutMaxVal

func (m *ArgMaxParameter) GetOutMaxVal() bool

func (*ArgMaxParameter) GetTopK

func (m *ArgMaxParameter) GetTopK() uint32

func (*ArgMaxParameter) ProtoMessage

func (*ArgMaxParameter) ProtoMessage()

func (*ArgMaxParameter) Reset

func (m *ArgMaxParameter) Reset()

func (*ArgMaxParameter) String

func (m *ArgMaxParameter) String() string

type BlobProto

type BlobProto struct {
	Shape *BlobShape `protobuf:"bytes,7,opt,name=shape" json:"shape,omitempty"`
	Data  []float32  `protobuf:"fixed32,5,rep,packed,name=data" json:"data,omitempty"`
	Diff  []float32  `protobuf:"fixed32,6,rep,packed,name=diff" json:"diff,omitempty"`
	// 4D dimensions -- deprecated.  Use "shape" instead.
	Num              *int32 `protobuf:"varint,1,opt,name=num,def=0" json:"num,omitempty"`
	Channels         *int32 `protobuf:"varint,2,opt,name=channels,def=0" json:"channels,omitempty"`
	Height           *int32 `protobuf:"varint,3,opt,name=height,def=0" json:"height,omitempty"`
	Width            *int32 `protobuf:"varint,4,opt,name=width,def=0" json:"width,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*BlobProto) Descriptor

func (*BlobProto) Descriptor() ([]byte, []int)

func (*BlobProto) GetChannels

func (m *BlobProto) GetChannels() int32

func (*BlobProto) GetData

func (m *BlobProto) GetData() []float32

func (*BlobProto) GetDiff

func (m *BlobProto) GetDiff() []float32

func (*BlobProto) GetHeight

func (m *BlobProto) GetHeight() int32

func (*BlobProto) GetNum

func (m *BlobProto) GetNum() int32

func (*BlobProto) GetShape

func (m *BlobProto) GetShape() *BlobShape

func (*BlobProto) GetWidth

func (m *BlobProto) GetWidth() int32

func (*BlobProto) ProtoMessage

func (*BlobProto) ProtoMessage()

func (*BlobProto) Reset

func (m *BlobProto) Reset()

func (*BlobProto) String

func (m *BlobProto) String() string

type BlobProtoVector

type BlobProtoVector struct {
	Blobs            []*BlobProto `protobuf:"bytes,1,rep,name=blobs" json:"blobs,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

The BlobProtoVector is simply a way to pass multiple blobproto instances around.

func (*BlobProtoVector) Descriptor

func (*BlobProtoVector) Descriptor() ([]byte, []int)

func (*BlobProtoVector) GetBlobs

func (m *BlobProtoVector) GetBlobs() []*BlobProto

func (*BlobProtoVector) ProtoMessage

func (*BlobProtoVector) ProtoMessage()

func (*BlobProtoVector) Reset

func (m *BlobProtoVector) Reset()

func (*BlobProtoVector) String

func (m *BlobProtoVector) String() string

type BlobShape

type BlobShape struct {
	Dim              []int64 `protobuf:"varint,1,rep,packed,name=dim" json:"dim,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Specifies the shape (dimensions) of a Blob.

func (*BlobShape) Descriptor

func (*BlobShape) Descriptor() ([]byte, []int)

func (*BlobShape) GetDim

func (m *BlobShape) GetDim() []int64

func (*BlobShape) ProtoMessage

func (*BlobShape) ProtoMessage()

func (*BlobShape) Reset

func (m *BlobShape) Reset()

func (*BlobShape) String

func (m *BlobShape) String() string

type ConcatParameter

type ConcatParameter struct {
	// The axis along which to concatenate -- may be negative to index from the
	// end (e.g., -1 for the last axis).  Other axes must have the
	// same dimension for all the bottom blobs.
	// By default, ConcatLayer concatenates blobs along the "channels" axis (1).
	Axis *int32 `protobuf:"varint,2,opt,name=axis,def=1" json:"axis,omitempty"`
	// DEPRECATED: alias for "axis" -- does not support negative indexing.
	ConcatDim        *uint32 `protobuf:"varint,1,opt,name=concat_dim,def=1" json:"concat_dim,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by ConcatLayer

func (*ConcatParameter) Descriptor

func (*ConcatParameter) Descriptor() ([]byte, []int)

func (*ConcatParameter) GetAxis

func (m *ConcatParameter) GetAxis() int32

func (*ConcatParameter) GetConcatDim

func (m *ConcatParameter) GetConcatDim() uint32

func (*ConcatParameter) ProtoMessage

func (*ConcatParameter) ProtoMessage()

func (*ConcatParameter) Reset

func (m *ConcatParameter) Reset()

func (*ConcatParameter) String

func (m *ConcatParameter) String() string

type ContrastiveLossParameter

type ContrastiveLossParameter struct {
	// margin for dissimilar pair
	Margin           *float32 `protobuf:"fixed32,1,opt,name=margin,def=1" json:"margin,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Message that stores parameters used by ContrastiveLossLayer

func (*ContrastiveLossParameter) Descriptor

func (*ContrastiveLossParameter) Descriptor() ([]byte, []int)

func (*ContrastiveLossParameter) GetMargin

func (m *ContrastiveLossParameter) GetMargin() float32

func (*ContrastiveLossParameter) ProtoMessage

func (*ContrastiveLossParameter) ProtoMessage()

func (*ContrastiveLossParameter) Reset

func (m *ContrastiveLossParameter) Reset()

func (*ContrastiveLossParameter) String

func (m *ContrastiveLossParameter) String() string

type ConvolutionParameter

type ConvolutionParameter struct {
	NumOutput *uint32 `protobuf:"varint,1,opt,name=num_output" json:"num_output,omitempty"`
	BiasTerm  *bool   `protobuf:"varint,2,opt,name=bias_term,def=1" json:"bias_term,omitempty"`
	// Pad, kernel size, and stride are all given as a single value for equal
	// dimensions in height and width or as Y, X pairs.
	Pad              *uint32                      `protobuf:"varint,3,opt,name=pad,def=0" json:"pad,omitempty"`
	PadH             *uint32                      `protobuf:"varint,9,opt,name=pad_h,def=0" json:"pad_h,omitempty"`
	PadW             *uint32                      `protobuf:"varint,10,opt,name=pad_w,def=0" json:"pad_w,omitempty"`
	KernelSize       *uint32                      `protobuf:"varint,4,opt,name=kernel_size" json:"kernel_size,omitempty"`
	KernelH          *uint32                      `protobuf:"varint,11,opt,name=kernel_h" json:"kernel_h,omitempty"`
	KernelW          *uint32                      `protobuf:"varint,12,opt,name=kernel_w" json:"kernel_w,omitempty"`
	Group            *uint32                      `protobuf:"varint,5,opt,name=group,def=1" json:"group,omitempty"`
	Stride           *uint32                      `protobuf:"varint,6,opt,name=stride,def=1" json:"stride,omitempty"`
	StrideH          *uint32                      `protobuf:"varint,13,opt,name=stride_h" json:"stride_h,omitempty"`
	StrideW          *uint32                      `protobuf:"varint,14,opt,name=stride_w" json:"stride_w,omitempty"`
	WeightFiller     *FillerParameter             `protobuf:"bytes,7,opt,name=weight_filler" json:"weight_filler,omitempty"`
	BiasFiller       *FillerParameter             `protobuf:"bytes,8,opt,name=bias_filler" json:"bias_filler,omitempty"`
	Engine           *ConvolutionParameter_Engine `protobuf:"varint,15,opt,name=engine,enum=caffe.ConvolutionParameter_Engine,def=0" json:"engine,omitempty"`
	XXX_unrecognized []byte                       `json:"-"`
}

Message that stores parameters used by ConvolutionLayer

func (*ConvolutionParameter) Descriptor

func (*ConvolutionParameter) Descriptor() ([]byte, []int)

func (*ConvolutionParameter) GetBiasFiller

func (m *ConvolutionParameter) GetBiasFiller() *FillerParameter

func (*ConvolutionParameter) GetBiasTerm

func (m *ConvolutionParameter) GetBiasTerm() bool

func (*ConvolutionParameter) GetEngine

func (*ConvolutionParameter) GetGroup

func (m *ConvolutionParameter) GetGroup() uint32

func (*ConvolutionParameter) GetKernelH

func (m *ConvolutionParameter) GetKernelH() uint32

func (*ConvolutionParameter) GetKernelSize

func (m *ConvolutionParameter) GetKernelSize() uint32

func (*ConvolutionParameter) GetKernelW

func (m *ConvolutionParameter) GetKernelW() uint32

func (*ConvolutionParameter) GetNumOutput

func (m *ConvolutionParameter) GetNumOutput() uint32

func (*ConvolutionParameter) GetPad

func (m *ConvolutionParameter) GetPad() uint32

func (*ConvolutionParameter) GetPadH

func (m *ConvolutionParameter) GetPadH() uint32

func (*ConvolutionParameter) GetPadW

func (m *ConvolutionParameter) GetPadW() uint32

func (*ConvolutionParameter) GetStride

func (m *ConvolutionParameter) GetStride() uint32

func (*ConvolutionParameter) GetStrideH

func (m *ConvolutionParameter) GetStrideH() uint32

func (*ConvolutionParameter) GetStrideW

func (m *ConvolutionParameter) GetStrideW() uint32

func (*ConvolutionParameter) GetWeightFiller

func (m *ConvolutionParameter) GetWeightFiller() *FillerParameter

func (*ConvolutionParameter) ProtoMessage

func (*ConvolutionParameter) ProtoMessage()

func (*ConvolutionParameter) Reset

func (m *ConvolutionParameter) Reset()

func (*ConvolutionParameter) String

func (m *ConvolutionParameter) String() string

type ConvolutionParameter_Engine

type ConvolutionParameter_Engine int32
const (
	ConvolutionParameter_DEFAULT ConvolutionParameter_Engine = 0
	ConvolutionParameter_CAFFE   ConvolutionParameter_Engine = 1
	ConvolutionParameter_CUDNN   ConvolutionParameter_Engine = 2
)
const Default_ConvolutionParameter_Engine ConvolutionParameter_Engine = ConvolutionParameter_DEFAULT

func (ConvolutionParameter_Engine) Enum

func (ConvolutionParameter_Engine) EnumDescriptor

func (ConvolutionParameter_Engine) EnumDescriptor() ([]byte, []int)

func (ConvolutionParameter_Engine) String

func (*ConvolutionParameter_Engine) UnmarshalJSON

func (x *ConvolutionParameter_Engine) UnmarshalJSON(data []byte) error

type DataParameter

type DataParameter struct {
	// Specify the data source.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// Specify the batch size.
	BatchSize *uint32 `protobuf:"varint,4,opt,name=batch_size" json:"batch_size,omitempty"`
	// The rand_skip variable is for the data layer to skip a few data points
	// to avoid all asynchronous sgd clients to start at the same point. The skip
	// point would be set as rand_skip * rand(0,1). Note that rand_skip should not
	// be larger than the number of keys in the database.
	RandSkip *uint32           `protobuf:"varint,7,opt,name=rand_skip,def=0" json:"rand_skip,omitempty"`
	Backend  *DataParameter_DB `protobuf:"varint,8,opt,name=backend,enum=caffe.DataParameter_DB,def=0" json:"backend,omitempty"`
	// DEPRECATED. See TransformationParameter. For data pre-processing, we can do
	// simple scaling and subtracting the data mean, if provided. Note that the
	// mean subtraction is always carried out before scaling.
	Scale    *float32 `protobuf:"fixed32,2,opt,name=scale,def=1" json:"scale,omitempty"`
	MeanFile *string  `protobuf:"bytes,3,opt,name=mean_file" json:"mean_file,omitempty"`
	// DEPRECATED. See TransformationParameter. Specify if we would like to randomly
	// crop an image.
	CropSize *uint32 `protobuf:"varint,5,opt,name=crop_size,def=0" json:"crop_size,omitempty"`
	// DEPRECATED. See TransformationParameter. Specify if we want to randomly mirror
	// data.
	Mirror *bool `protobuf:"varint,6,opt,name=mirror,def=0" json:"mirror,omitempty"`
	// Force the encoded image to have 3 color channels
	ForceEncodedColor *bool  `protobuf:"varint,9,opt,name=force_encoded_color,def=0" json:"force_encoded_color,omitempty"`
	XXX_unrecognized  []byte `json:"-"`
}

Message that stores parameters used by DataLayer

func (*DataParameter) Descriptor

func (*DataParameter) Descriptor() ([]byte, []int)

func (*DataParameter) GetBackend

func (m *DataParameter) GetBackend() DataParameter_DB

func (*DataParameter) GetBatchSize

func (m *DataParameter) GetBatchSize() uint32

func (*DataParameter) GetCropSize

func (m *DataParameter) GetCropSize() uint32

func (*DataParameter) GetForceEncodedColor

func (m *DataParameter) GetForceEncodedColor() bool

func (*DataParameter) GetMeanFile

func (m *DataParameter) GetMeanFile() string

func (*DataParameter) GetMirror

func (m *DataParameter) GetMirror() bool

func (*DataParameter) GetRandSkip

func (m *DataParameter) GetRandSkip() uint32

func (*DataParameter) GetScale

func (m *DataParameter) GetScale() float32

func (*DataParameter) GetSource

func (m *DataParameter) GetSource() string

func (*DataParameter) ProtoMessage

func (*DataParameter) ProtoMessage()

func (*DataParameter) Reset

func (m *DataParameter) Reset()

func (*DataParameter) String

func (m *DataParameter) String() string

type DataParameter_DB

type DataParameter_DB int32
const (
	DataParameter_LEVELDB DataParameter_DB = 0
	DataParameter_LMDB    DataParameter_DB = 1
)
const Default_DataParameter_Backend DataParameter_DB = DataParameter_LEVELDB

func (DataParameter_DB) Enum

func (DataParameter_DB) EnumDescriptor

func (DataParameter_DB) EnumDescriptor() ([]byte, []int)

func (DataParameter_DB) String

func (x DataParameter_DB) String() string

func (*DataParameter_DB) UnmarshalJSON

func (x *DataParameter_DB) UnmarshalJSON(data []byte) error

type Datum

type Datum struct {
	Channels *int32 `protobuf:"varint,1,opt,name=channels" json:"channels,omitempty"`
	Height   *int32 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
	Width    *int32 `protobuf:"varint,3,opt,name=width" json:"width,omitempty"`
	// the actual image data, in bytes
	Data  []byte `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
	Label *int32 `protobuf:"varint,5,opt,name=label" json:"label,omitempty"`
	// Optionally, the datum could also hold float data.
	FloatData []float32 `protobuf:"fixed32,6,rep,name=float_data" json:"float_data,omitempty"`
	// If true data contains an encoded image that need to be decoded
	Encoded          *bool  `protobuf:"varint,7,opt,name=encoded,def=0" json:"encoded,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*Datum) Descriptor

func (*Datum) Descriptor() ([]byte, []int)

func (*Datum) GetChannels

func (m *Datum) GetChannels() int32

func (*Datum) GetData

func (m *Datum) GetData() []byte

func (*Datum) GetEncoded

func (m *Datum) GetEncoded() bool

func (*Datum) GetFloatData

func (m *Datum) GetFloatData() []float32

func (*Datum) GetHeight

func (m *Datum) GetHeight() int32

func (*Datum) GetLabel

func (m *Datum) GetLabel() int32

func (*Datum) GetWidth

func (m *Datum) GetWidth() int32

func (*Datum) ProtoMessage

func (*Datum) ProtoMessage()

func (*Datum) Reset

func (m *Datum) Reset()

func (*Datum) String

func (m *Datum) String() string

type DropoutParameter

type DropoutParameter struct {
	DropoutRatio     *float32 `protobuf:"fixed32,1,opt,name=dropout_ratio,def=0.5" json:"dropout_ratio,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Message that stores parameters used by DropoutLayer

func (*DropoutParameter) Descriptor

func (*DropoutParameter) Descriptor() ([]byte, []int)

func (*DropoutParameter) GetDropoutRatio

func (m *DropoutParameter) GetDropoutRatio() float32

func (*DropoutParameter) ProtoMessage

func (*DropoutParameter) ProtoMessage()

func (*DropoutParameter) Reset

func (m *DropoutParameter) Reset()

func (*DropoutParameter) String

func (m *DropoutParameter) String() string

type DummyDataParameter

type DummyDataParameter struct {
	// This layer produces N >= 1 top blobs.  DummyDataParameter must specify 1 or N
	// shape fields, and 0, 1 or N data_fillers.
	//
	// If 0 data_fillers are specified, ConstantFiller with a value of 0 is used.
	// If 1 data_filler is specified, it is applied to all top blobs.  If N are
	// specified, the ith is applied to the ith top blob.
	DataFiller []*FillerParameter `protobuf:"bytes,1,rep,name=data_filler" json:"data_filler,omitempty"`
	Shape      []*BlobShape       `protobuf:"bytes,6,rep,name=shape" json:"shape,omitempty"`
	// 4D dimensions -- deprecated.  Use "shape" instead.
	Num              []uint32 `protobuf:"varint,2,rep,name=num" json:"num,omitempty"`
	Channels         []uint32 `protobuf:"varint,3,rep,name=channels" json:"channels,omitempty"`
	Height           []uint32 `protobuf:"varint,4,rep,name=height" json:"height,omitempty"`
	Width            []uint32 `protobuf:"varint,5,rep,name=width" json:"width,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Message that stores parameters used by DummyDataLayer. DummyDataLayer fills any number of arbitrarily shaped blobs with random (or constant) data generated by "Fillers" (see "message FillerParameter").

func (*DummyDataParameter) Descriptor

func (*DummyDataParameter) Descriptor() ([]byte, []int)

func (*DummyDataParameter) GetChannels

func (m *DummyDataParameter) GetChannels() []uint32

func (*DummyDataParameter) GetDataFiller

func (m *DummyDataParameter) GetDataFiller() []*FillerParameter

func (*DummyDataParameter) GetHeight

func (m *DummyDataParameter) GetHeight() []uint32

func (*DummyDataParameter) GetNum

func (m *DummyDataParameter) GetNum() []uint32

func (*DummyDataParameter) GetShape

func (m *DummyDataParameter) GetShape() []*BlobShape

func (*DummyDataParameter) GetWidth

func (m *DummyDataParameter) GetWidth() []uint32

func (*DummyDataParameter) ProtoMessage

func (*DummyDataParameter) ProtoMessage()

func (*DummyDataParameter) Reset

func (m *DummyDataParameter) Reset()

func (*DummyDataParameter) String

func (m *DummyDataParameter) String() string

type EltwiseParameter

type EltwiseParameter struct {
	Operation *EltwiseParameter_EltwiseOp `protobuf:"varint,1,opt,name=operation,enum=caffe.EltwiseParameter_EltwiseOp,def=1" json:"operation,omitempty"`
	Coeff     []float32                   `protobuf:"fixed32,2,rep,name=coeff" json:"coeff,omitempty"`
	// Whether to use an asymptotically slower (for >2 inputs) but stabler method
	// of computing the gradient for the PROD operation. (No effect for SUM op.)
	StableProdGrad   *bool  `protobuf:"varint,3,opt,name=stable_prod_grad,def=1" json:"stable_prod_grad,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by EltwiseLayer

func (*EltwiseParameter) Descriptor

func (*EltwiseParameter) Descriptor() ([]byte, []int)

func (*EltwiseParameter) GetCoeff

func (m *EltwiseParameter) GetCoeff() []float32

func (*EltwiseParameter) GetOperation

func (m *EltwiseParameter) GetOperation() EltwiseParameter_EltwiseOp

func (*EltwiseParameter) GetStableProdGrad

func (m *EltwiseParameter) GetStableProdGrad() bool

func (*EltwiseParameter) ProtoMessage

func (*EltwiseParameter) ProtoMessage()

func (*EltwiseParameter) Reset

func (m *EltwiseParameter) Reset()

func (*EltwiseParameter) String

func (m *EltwiseParameter) String() string

type EltwiseParameter_EltwiseOp

type EltwiseParameter_EltwiseOp int32
const (
	EltwiseParameter_PROD EltwiseParameter_EltwiseOp = 0
	EltwiseParameter_SUM  EltwiseParameter_EltwiseOp = 1
	EltwiseParameter_MAX  EltwiseParameter_EltwiseOp = 2
)
const Default_EltwiseParameter_Operation EltwiseParameter_EltwiseOp = EltwiseParameter_SUM

func (EltwiseParameter_EltwiseOp) Enum

func (EltwiseParameter_EltwiseOp) EnumDescriptor

func (EltwiseParameter_EltwiseOp) EnumDescriptor() ([]byte, []int)

func (EltwiseParameter_EltwiseOp) String

func (*EltwiseParameter_EltwiseOp) UnmarshalJSON

func (x *EltwiseParameter_EltwiseOp) UnmarshalJSON(data []byte) error

type ExpParameter

type ExpParameter struct {
	// ExpLayer computes outputs y = base ^ (shift + scale * x), for base > 0.
	// Or if base is set to the default (-1), base is set to e,
	// so y = exp(shift + scale * x).
	Base             *float32 `protobuf:"fixed32,1,opt,name=base,def=-1" json:"base,omitempty"`
	Scale            *float32 `protobuf:"fixed32,2,opt,name=scale,def=1" json:"scale,omitempty"`
	Shift            *float32 `protobuf:"fixed32,3,opt,name=shift,def=0" json:"shift,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Message that stores parameters used by ExpLayer

func (*ExpParameter) Descriptor

func (*ExpParameter) Descriptor() ([]byte, []int)

func (*ExpParameter) GetBase

func (m *ExpParameter) GetBase() float32

func (*ExpParameter) GetScale

func (m *ExpParameter) GetScale() float32

func (*ExpParameter) GetShift

func (m *ExpParameter) GetShift() float32

func (*ExpParameter) ProtoMessage

func (*ExpParameter) ProtoMessage()

func (*ExpParameter) Reset

func (m *ExpParameter) Reset()

func (*ExpParameter) String

func (m *ExpParameter) String() string

type FillerParameter

type FillerParameter struct {
	// The filler type.
	Type  *string  `protobuf:"bytes,1,opt,name=type,def=constant" json:"type,omitempty"`
	Value *float32 `protobuf:"fixed32,2,opt,name=value,def=0" json:"value,omitempty"`
	Min   *float32 `protobuf:"fixed32,3,opt,name=min,def=0" json:"min,omitempty"`
	Max   *float32 `protobuf:"fixed32,4,opt,name=max,def=1" json:"max,omitempty"`
	Mean  *float32 `protobuf:"fixed32,5,opt,name=mean,def=0" json:"mean,omitempty"`
	Std   *float32 `protobuf:"fixed32,6,opt,name=std,def=1" json:"std,omitempty"`
	// The expected number of non-zero output weights for a given input in
	// Gaussian filler -- the default -1 means don't perform sparsification.
	Sparse           *int32 `protobuf:"varint,7,opt,name=sparse,def=-1" json:"sparse,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*FillerParameter) Descriptor

func (*FillerParameter) Descriptor() ([]byte, []int)

func (*FillerParameter) GetMax

func (m *FillerParameter) GetMax() float32

func (*FillerParameter) GetMean

func (m *FillerParameter) GetMean() float32

func (*FillerParameter) GetMin

func (m *FillerParameter) GetMin() float32

func (*FillerParameter) GetSparse

func (m *FillerParameter) GetSparse() int32

func (*FillerParameter) GetStd

func (m *FillerParameter) GetStd() float32

func (*FillerParameter) GetType

func (m *FillerParameter) GetType() string

func (*FillerParameter) GetValue

func (m *FillerParameter) GetValue() float32

func (*FillerParameter) ProtoMessage

func (*FillerParameter) ProtoMessage()

func (*FillerParameter) Reset

func (m *FillerParameter) Reset()

func (*FillerParameter) String

func (m *FillerParameter) String() string

type HDF5DataParameter

type HDF5DataParameter struct {
	// Specify the data source.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// Specify the batch size.
	BatchSize *uint32 `protobuf:"varint,2,opt,name=batch_size" json:"batch_size,omitempty"`
	// Specify whether to shuffle the data.
	// If shuffle == true, the ordering of the HDF5 files is shuffled,
	// and the ordering of data within any given HDF5 file is shuffled,
	// but data between different files are not interleaved; all of a file's
	// data are output (in a random order) before moving onto another file.
	Shuffle          *bool  `protobuf:"varint,3,opt,name=shuffle,def=0" json:"shuffle,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by HDF5DataLayer

func (*HDF5DataParameter) Descriptor

func (*HDF5DataParameter) Descriptor() ([]byte, []int)

func (*HDF5DataParameter) GetBatchSize

func (m *HDF5DataParameter) GetBatchSize() uint32

func (*HDF5DataParameter) GetShuffle

func (m *HDF5DataParameter) GetShuffle() bool

func (*HDF5DataParameter) GetSource

func (m *HDF5DataParameter) GetSource() string

func (*HDF5DataParameter) ProtoMessage

func (*HDF5DataParameter) ProtoMessage()

func (*HDF5DataParameter) Reset

func (m *HDF5DataParameter) Reset()

func (*HDF5DataParameter) String

func (m *HDF5DataParameter) String() string

type HDF5OutputParameter

type HDF5OutputParameter struct {
	FileName         *string `protobuf:"bytes,1,opt,name=file_name" json:"file_name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by HDF5OutputLayer

func (*HDF5OutputParameter) Descriptor

func (*HDF5OutputParameter) Descriptor() ([]byte, []int)

func (*HDF5OutputParameter) GetFileName

func (m *HDF5OutputParameter) GetFileName() string

func (*HDF5OutputParameter) ProtoMessage

func (*HDF5OutputParameter) ProtoMessage()

func (*HDF5OutputParameter) Reset

func (m *HDF5OutputParameter) Reset()

func (*HDF5OutputParameter) String

func (m *HDF5OutputParameter) String() string

type HingeLossParameter

type HingeLossParameter struct {
	// Specify the Norm to use L1 or L2
	Norm             *HingeLossParameter_Norm `protobuf:"varint,1,opt,name=norm,enum=caffe.HingeLossParameter_Norm,def=1" json:"norm,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

func (*HingeLossParameter) Descriptor

func (*HingeLossParameter) Descriptor() ([]byte, []int)

func (*HingeLossParameter) GetNorm

func (*HingeLossParameter) ProtoMessage

func (*HingeLossParameter) ProtoMessage()

func (*HingeLossParameter) Reset

func (m *HingeLossParameter) Reset()

func (*HingeLossParameter) String

func (m *HingeLossParameter) String() string

type HingeLossParameter_Norm

type HingeLossParameter_Norm int32
const (
	HingeLossParameter_L1 HingeLossParameter_Norm = 1
	HingeLossParameter_L2 HingeLossParameter_Norm = 2
)
const Default_HingeLossParameter_Norm HingeLossParameter_Norm = HingeLossParameter_L1

func (HingeLossParameter_Norm) Enum

func (HingeLossParameter_Norm) EnumDescriptor

func (HingeLossParameter_Norm) EnumDescriptor() ([]byte, []int)

func (HingeLossParameter_Norm) String

func (x HingeLossParameter_Norm) String() string

func (*HingeLossParameter_Norm) UnmarshalJSON

func (x *HingeLossParameter_Norm) UnmarshalJSON(data []byte) error

type ImageDataParameter

type ImageDataParameter struct {
	// Specify the data source.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// Specify the batch size.
	BatchSize *uint32 `protobuf:"varint,4,opt,name=batch_size" json:"batch_size,omitempty"`
	// The rand_skip variable is for the data layer to skip a few data points
	// to avoid all asynchronous sgd clients to start at the same point. The skip
	// point would be set as rand_skip * rand(0,1). Note that rand_skip should not
	// be larger than the number of keys in the database.
	RandSkip *uint32 `protobuf:"varint,7,opt,name=rand_skip,def=0" json:"rand_skip,omitempty"`
	// Whether or not ImageLayer should shuffle the list of files at every epoch.
	Shuffle *bool `protobuf:"varint,8,opt,name=shuffle,def=0" json:"shuffle,omitempty"`
	// It will also resize images if new_height or new_width are not zero.
	NewHeight *uint32 `protobuf:"varint,9,opt,name=new_height,def=0" json:"new_height,omitempty"`
	NewWidth  *uint32 `protobuf:"varint,10,opt,name=new_width,def=0" json:"new_width,omitempty"`
	// Specify if the images are color or gray
	IsColor *bool `protobuf:"varint,11,opt,name=is_color,def=1" json:"is_color,omitempty"`
	// DEPRECATED. See TransformationParameter. For data pre-processing, we can do
	// simple scaling and subtracting the data mean, if provided. Note that the
	// mean subtraction is always carried out before scaling.
	Scale    *float32 `protobuf:"fixed32,2,opt,name=scale,def=1" json:"scale,omitempty"`
	MeanFile *string  `protobuf:"bytes,3,opt,name=mean_file" json:"mean_file,omitempty"`
	// DEPRECATED. See TransformationParameter. Specify if we would like to randomly
	// crop an image.
	CropSize *uint32 `protobuf:"varint,5,opt,name=crop_size,def=0" json:"crop_size,omitempty"`
	// DEPRECATED. See TransformationParameter. Specify if we want to randomly mirror
	// data.
	Mirror           *bool   `protobuf:"varint,6,opt,name=mirror,def=0" json:"mirror,omitempty"`
	RootFolder       *string `protobuf:"bytes,12,opt,name=root_folder,def=" json:"root_folder,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by ImageDataLayer

func (*ImageDataParameter) Descriptor

func (*ImageDataParameter) Descriptor() ([]byte, []int)

func (*ImageDataParameter) GetBatchSize

func (m *ImageDataParameter) GetBatchSize() uint32

func (*ImageDataParameter) GetCropSize

func (m *ImageDataParameter) GetCropSize() uint32

func (*ImageDataParameter) GetIsColor

func (m *ImageDataParameter) GetIsColor() bool

func (*ImageDataParameter) GetMeanFile

func (m *ImageDataParameter) GetMeanFile() string

func (*ImageDataParameter) GetMirror

func (m *ImageDataParameter) GetMirror() bool

func (*ImageDataParameter) GetNewHeight

func (m *ImageDataParameter) GetNewHeight() uint32

func (*ImageDataParameter) GetNewWidth

func (m *ImageDataParameter) GetNewWidth() uint32

func (*ImageDataParameter) GetRandSkip

func (m *ImageDataParameter) GetRandSkip() uint32

func (*ImageDataParameter) GetRootFolder

func (m *ImageDataParameter) GetRootFolder() string

func (*ImageDataParameter) GetScale

func (m *ImageDataParameter) GetScale() float32

func (*ImageDataParameter) GetShuffle

func (m *ImageDataParameter) GetShuffle() bool

func (*ImageDataParameter) GetSource

func (m *ImageDataParameter) GetSource() string

func (*ImageDataParameter) ProtoMessage

func (*ImageDataParameter) ProtoMessage()

func (*ImageDataParameter) Reset

func (m *ImageDataParameter) Reset()

func (*ImageDataParameter) String

func (m *ImageDataParameter) String() string

type InfogainLossParameter

type InfogainLossParameter struct {
	// Specify the infogain matrix source.
	Source           *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters InfogainLossLayer

func (*InfogainLossParameter) Descriptor

func (*InfogainLossParameter) Descriptor() ([]byte, []int)

func (*InfogainLossParameter) GetSource

func (m *InfogainLossParameter) GetSource() string

func (*InfogainLossParameter) ProtoMessage

func (*InfogainLossParameter) ProtoMessage()

func (*InfogainLossParameter) Reset

func (m *InfogainLossParameter) Reset()

func (*InfogainLossParameter) String

func (m *InfogainLossParameter) String() string

type InnerProductParameter

type InnerProductParameter struct {
	NumOutput    *uint32          `protobuf:"varint,1,opt,name=num_output" json:"num_output,omitempty"`
	BiasTerm     *bool            `protobuf:"varint,2,opt,name=bias_term,def=1" json:"bias_term,omitempty"`
	WeightFiller *FillerParameter `protobuf:"bytes,3,opt,name=weight_filler" json:"weight_filler,omitempty"`
	BiasFiller   *FillerParameter `protobuf:"bytes,4,opt,name=bias_filler" json:"bias_filler,omitempty"`
	// The first axis to be lumped into a single inner product computation;
	// all preceding axes are retained in the output.
	// May be negative to index from the end (e.g., -1 for the last axis).
	Axis             *int32 `protobuf:"varint,5,opt,name=axis,def=1" json:"axis,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by InnerProductLayer

func (*InnerProductParameter) Descriptor

func (*InnerProductParameter) Descriptor() ([]byte, []int)

func (*InnerProductParameter) GetAxis

func (m *InnerProductParameter) GetAxis() int32

func (*InnerProductParameter) GetBiasFiller

func (m *InnerProductParameter) GetBiasFiller() *FillerParameter

func (*InnerProductParameter) GetBiasTerm

func (m *InnerProductParameter) GetBiasTerm() bool

func (*InnerProductParameter) GetNumOutput

func (m *InnerProductParameter) GetNumOutput() uint32

func (*InnerProductParameter) GetWeightFiller

func (m *InnerProductParameter) GetWeightFiller() *FillerParameter

func (*InnerProductParameter) ProtoMessage

func (*InnerProductParameter) ProtoMessage()

func (*InnerProductParameter) Reset

func (m *InnerProductParameter) Reset()

func (*InnerProductParameter) String

func (m *InnerProductParameter) String() string

type LRNParameter

type LRNParameter struct {
	LocalSize        *uint32                  `protobuf:"varint,1,opt,name=local_size,def=5" json:"local_size,omitempty"`
	Alpha            *float32                 `protobuf:"fixed32,2,opt,name=alpha,def=1" json:"alpha,omitempty"`
	Beta             *float32                 `protobuf:"fixed32,3,opt,name=beta,def=0.75" json:"beta,omitempty"`
	NormRegion       *LRNParameter_NormRegion `protobuf:"varint,4,opt,name=norm_region,enum=caffe.LRNParameter_NormRegion,def=0" json:"norm_region,omitempty"`
	K                *float32                 `protobuf:"fixed32,5,opt,name=k,def=1" json:"k,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

Message that stores parameters used by LRNLayer

func (*LRNParameter) Descriptor

func (*LRNParameter) Descriptor() ([]byte, []int)

func (*LRNParameter) GetAlpha

func (m *LRNParameter) GetAlpha() float32

func (*LRNParameter) GetBeta

func (m *LRNParameter) GetBeta() float32

func (*LRNParameter) GetK

func (m *LRNParameter) GetK() float32

func (*LRNParameter) GetLocalSize

func (m *LRNParameter) GetLocalSize() uint32

func (*LRNParameter) GetNormRegion

func (m *LRNParameter) GetNormRegion() LRNParameter_NormRegion

func (*LRNParameter) ProtoMessage

func (*LRNParameter) ProtoMessage()

func (*LRNParameter) Reset

func (m *LRNParameter) Reset()

func (*LRNParameter) String

func (m *LRNParameter) String() string

type LRNParameter_NormRegion

type LRNParameter_NormRegion int32
const (
	LRNParameter_ACROSS_CHANNELS LRNParameter_NormRegion = 0
	LRNParameter_WITHIN_CHANNEL  LRNParameter_NormRegion = 1
)
const Default_LRNParameter_NormRegion LRNParameter_NormRegion = LRNParameter_ACROSS_CHANNELS

func (LRNParameter_NormRegion) Enum

func (LRNParameter_NormRegion) EnumDescriptor

func (LRNParameter_NormRegion) EnumDescriptor() ([]byte, []int)

func (LRNParameter_NormRegion) String

func (x LRNParameter_NormRegion) String() string

func (*LRNParameter_NormRegion) UnmarshalJSON

func (x *LRNParameter_NormRegion) UnmarshalJSON(data []byte) error

type LayerParameter

type LayerParameter struct {
	Name   *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Type   *string  `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Bottom []string `protobuf:"bytes,3,rep,name=bottom" json:"bottom,omitempty"`
	Top    []string `protobuf:"bytes,4,rep,name=top" json:"top,omitempty"`
	// The train / test phase for computation.
	Phase *Phase `protobuf:"varint,10,opt,name=phase,enum=caffe.Phase" json:"phase,omitempty"`
	// The amount of weight to assign each top blob in the objective.
	// Each layer assigns a default value, usually of either 0 or 1,
	// to each top blob.
	LossWeight []float32 `protobuf:"fixed32,5,rep,name=loss_weight" json:"loss_weight,omitempty"`
	// Specifies training parameters (multipliers on global learning constants,
	// and the name and other settings used for weight sharing).
	Param []*ParamSpec `protobuf:"bytes,6,rep,name=param" json:"param,omitempty"`
	// The blobs containing the numeric parameters of the layer.
	Blobs []*BlobProto `protobuf:"bytes,7,rep,name=blobs" json:"blobs,omitempty"`
	// Rules controlling whether and when a layer is included in the network,
	// based on the current NetState.  You may specify a non-zero number of rules
	// to include OR exclude, but not both.  If no include or exclude rules are
	// specified, the layer is always included.  If the current NetState meets
	// ANY (i.e., one or more) of the specified rules, the layer is
	// included/excluded.
	Include []*NetStateRule `protobuf:"bytes,8,rep,name=include" json:"include,omitempty"`
	Exclude []*NetStateRule `protobuf:"bytes,9,rep,name=exclude" json:"exclude,omitempty"`
	// Parameters for data pre-processing.
	TransformParam *TransformationParameter `protobuf:"bytes,100,opt,name=transform_param" json:"transform_param,omitempty"`
	// Parameters shared by loss layers.
	LossParam *LossParameter `protobuf:"bytes,101,opt,name=loss_param" json:"loss_param,omitempty"`
	// Layer type-specific parameters.
	//
	// Note: certain layers may have more than one computational engine
	// for their implementation. These layers include an Engine type and
	// engine parameter for selecting the implementation.
	// The default for the engine is set by the ENGINE switch at compile-time.
	AccuracyParam        *AccuracyParameter        `protobuf:"bytes,102,opt,name=accuracy_param" json:"accuracy_param,omitempty"`
	ArgmaxParam          *ArgMaxParameter          `protobuf:"bytes,103,opt,name=argmax_param" json:"argmax_param,omitempty"`
	ConcatParam          *ConcatParameter          `protobuf:"bytes,104,opt,name=concat_param" json:"concat_param,omitempty"`
	ContrastiveLossParam *ContrastiveLossParameter `protobuf:"bytes,105,opt,name=contrastive_loss_param" json:"contrastive_loss_param,omitempty"`
	ConvolutionParam     *ConvolutionParameter     `protobuf:"bytes,106,opt,name=convolution_param" json:"convolution_param,omitempty"`
	DataParam            *DataParameter            `protobuf:"bytes,107,opt,name=data_param" json:"data_param,omitempty"`
	DropoutParam         *DropoutParameter         `protobuf:"bytes,108,opt,name=dropout_param" json:"dropout_param,omitempty"`
	DummyDataParam       *DummyDataParameter       `protobuf:"bytes,109,opt,name=dummy_data_param" json:"dummy_data_param,omitempty"`
	EltwiseParam         *EltwiseParameter         `protobuf:"bytes,110,opt,name=eltwise_param" json:"eltwise_param,omitempty"`
	ExpParam             *ExpParameter             `protobuf:"bytes,111,opt,name=exp_param" json:"exp_param,omitempty"`
	Hdf5DataParam        *HDF5DataParameter        `protobuf:"bytes,112,opt,name=hdf5_data_param" json:"hdf5_data_param,omitempty"`
	Hdf5OutputParam      *HDF5OutputParameter      `protobuf:"bytes,113,opt,name=hdf5_output_param" json:"hdf5_output_param,omitempty"`
	HingeLossParam       *HingeLossParameter       `protobuf:"bytes,114,opt,name=hinge_loss_param" json:"hinge_loss_param,omitempty"`
	ImageDataParam       *ImageDataParameter       `protobuf:"bytes,115,opt,name=image_data_param" json:"image_data_param,omitempty"`
	InfogainLossParam    *InfogainLossParameter    `protobuf:"bytes,116,opt,name=infogain_loss_param" json:"infogain_loss_param,omitempty"`
	InnerProductParam    *InnerProductParameter    `protobuf:"bytes,117,opt,name=inner_product_param" json:"inner_product_param,omitempty"`
	LrnParam             *LRNParameter             `protobuf:"bytes,118,opt,name=lrn_param" json:"lrn_param,omitempty"`
	MemoryDataParam      *MemoryDataParameter      `protobuf:"bytes,119,opt,name=memory_data_param" json:"memory_data_param,omitempty"`
	MvnParam             *MVNParameter             `protobuf:"bytes,120,opt,name=mvn_param" json:"mvn_param,omitempty"`
	PoolingParam         *PoolingParameter         `protobuf:"bytes,121,opt,name=pooling_param" json:"pooling_param,omitempty"`
	PowerParam           *PowerParameter           `protobuf:"bytes,122,opt,name=power_param" json:"power_param,omitempty"`
	PreluParam           *PReLUParameter           `protobuf:"bytes,131,opt,name=prelu_param" json:"prelu_param,omitempty"`
	PythonParam          *PythonParameter          `protobuf:"bytes,130,opt,name=python_param" json:"python_param,omitempty"`
	ReluParam            *ReLUParameter            `protobuf:"bytes,123,opt,name=relu_param" json:"relu_param,omitempty"`
	SigmoidParam         *SigmoidParameter         `protobuf:"bytes,124,opt,name=sigmoid_param" json:"sigmoid_param,omitempty"`
	SoftmaxParam         *SoftmaxParameter         `protobuf:"bytes,125,opt,name=softmax_param" json:"softmax_param,omitempty"`
	SliceParam           *SliceParameter           `protobuf:"bytes,126,opt,name=slice_param" json:"slice_param,omitempty"`
	TanhParam            *TanHParameter            `protobuf:"bytes,127,opt,name=tanh_param" json:"tanh_param,omitempty"`
	ThresholdParam       *ThresholdParameter       `protobuf:"bytes,128,opt,name=threshold_param" json:"threshold_param,omitempty"`
	WindowDataParam      *WindowDataParameter      `protobuf:"bytes,129,opt,name=window_data_param" json:"window_data_param,omitempty"`
	XXX_unrecognized     []byte                    `json:"-"`
}

NOTE Update the next available ID when you add a new LayerParameter field.

LayerParameter next available layer-specific ID: 132 (last added: prelu_param)

func (*LayerParameter) Descriptor

func (*LayerParameter) Descriptor() ([]byte, []int)

func (*LayerParameter) GetAccuracyParam

func (m *LayerParameter) GetAccuracyParam() *AccuracyParameter

func (*LayerParameter) GetArgmaxParam

func (m *LayerParameter) GetArgmaxParam() *ArgMaxParameter

func (*LayerParameter) GetBlobs

func (m *LayerParameter) GetBlobs() []*BlobProto

func (*LayerParameter) GetBottom

func (m *LayerParameter) GetBottom() []string

func (*LayerParameter) GetConcatParam

func (m *LayerParameter) GetConcatParam() *ConcatParameter

func (*LayerParameter) GetContrastiveLossParam

func (m *LayerParameter) GetContrastiveLossParam() *ContrastiveLossParameter

func (*LayerParameter) GetConvolutionParam

func (m *LayerParameter) GetConvolutionParam() *ConvolutionParameter

func (*LayerParameter) GetDataParam

func (m *LayerParameter) GetDataParam() *DataParameter

func (*LayerParameter) GetDropoutParam

func (m *LayerParameter) GetDropoutParam() *DropoutParameter

func (*LayerParameter) GetDummyDataParam

func (m *LayerParameter) GetDummyDataParam() *DummyDataParameter

func (*LayerParameter) GetEltwiseParam

func (m *LayerParameter) GetEltwiseParam() *EltwiseParameter

func (*LayerParameter) GetExclude

func (m *LayerParameter) GetExclude() []*NetStateRule

func (*LayerParameter) GetExpParam

func (m *LayerParameter) GetExpParam() *ExpParameter

func (*LayerParameter) GetHdf5DataParam

func (m *LayerParameter) GetHdf5DataParam() *HDF5DataParameter

func (*LayerParameter) GetHdf5OutputParam

func (m *LayerParameter) GetHdf5OutputParam() *HDF5OutputParameter

func (*LayerParameter) GetHingeLossParam

func (m *LayerParameter) GetHingeLossParam() *HingeLossParameter

func (*LayerParameter) GetImageDataParam

func (m *LayerParameter) GetImageDataParam() *ImageDataParameter

func (*LayerParameter) GetInclude

func (m *LayerParameter) GetInclude() []*NetStateRule

func (*LayerParameter) GetInfogainLossParam

func (m *LayerParameter) GetInfogainLossParam() *InfogainLossParameter

func (*LayerParameter) GetInnerProductParam

func (m *LayerParameter) GetInnerProductParam() *InnerProductParameter

func (*LayerParameter) GetLossParam

func (m *LayerParameter) GetLossParam() *LossParameter

func (*LayerParameter) GetLossWeight

func (m *LayerParameter) GetLossWeight() []float32

func (*LayerParameter) GetLrnParam

func (m *LayerParameter) GetLrnParam() *LRNParameter

func (*LayerParameter) GetMemoryDataParam

func (m *LayerParameter) GetMemoryDataParam() *MemoryDataParameter

func (*LayerParameter) GetMvnParam

func (m *LayerParameter) GetMvnParam() *MVNParameter

func (*LayerParameter) GetName

func (m *LayerParameter) GetName() string

func (*LayerParameter) GetParam

func (m *LayerParameter) GetParam() []*ParamSpec

func (*LayerParameter) GetPhase

func (m *LayerParameter) GetPhase() Phase

func (*LayerParameter) GetPoolingParam

func (m *LayerParameter) GetPoolingParam() *PoolingParameter

func (*LayerParameter) GetPowerParam

func (m *LayerParameter) GetPowerParam() *PowerParameter

func (*LayerParameter) GetPreluParam

func (m *LayerParameter) GetPreluParam() *PReLUParameter

func (*LayerParameter) GetPythonParam

func (m *LayerParameter) GetPythonParam() *PythonParameter

func (*LayerParameter) GetReluParam

func (m *LayerParameter) GetReluParam() *ReLUParameter

func (*LayerParameter) GetSigmoidParam

func (m *LayerParameter) GetSigmoidParam() *SigmoidParameter

func (*LayerParameter) GetSliceParam

func (m *LayerParameter) GetSliceParam() *SliceParameter

func (*LayerParameter) GetSoftmaxParam

func (m *LayerParameter) GetSoftmaxParam() *SoftmaxParameter

func (*LayerParameter) GetTanhParam

func (m *LayerParameter) GetTanhParam() *TanHParameter

func (*LayerParameter) GetThresholdParam

func (m *LayerParameter) GetThresholdParam() *ThresholdParameter

func (*LayerParameter) GetTop

func (m *LayerParameter) GetTop() []string

func (*LayerParameter) GetTransformParam

func (m *LayerParameter) GetTransformParam() *TransformationParameter

func (*LayerParameter) GetType

func (m *LayerParameter) GetType() string

func (*LayerParameter) GetWindowDataParam

func (m *LayerParameter) GetWindowDataParam() *WindowDataParameter

func (*LayerParameter) ProtoMessage

func (*LayerParameter) ProtoMessage()

func (*LayerParameter) Reset

func (m *LayerParameter) Reset()

func (*LayerParameter) String

func (m *LayerParameter) String() string

type LossParameter

type LossParameter struct {
	// If specified, ignore instances with the given label.
	IgnoreLabel *int32 `protobuf:"varint,1,opt,name=ignore_label" json:"ignore_label,omitempty"`
	// If true, normalize each batch across all instances (including spatial
	// dimesions, but not ignored instances); else, divide by batch size only.
	Normalize        *bool  `protobuf:"varint,2,opt,name=normalize,def=1" json:"normalize,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters shared by loss layers

func (*LossParameter) Descriptor

func (*LossParameter) Descriptor() ([]byte, []int)

func (*LossParameter) GetIgnoreLabel

func (m *LossParameter) GetIgnoreLabel() int32

func (*LossParameter) GetNormalize

func (m *LossParameter) GetNormalize() bool

func (*LossParameter) ProtoMessage

func (*LossParameter) ProtoMessage()

func (*LossParameter) Reset

func (m *LossParameter) Reset()

func (*LossParameter) String

func (m *LossParameter) String() string

type MVNParameter

type MVNParameter struct {
	// This parameter can be set to false to normalize mean only
	NormalizeVariance *bool `protobuf:"varint,1,opt,name=normalize_variance,def=1" json:"normalize_variance,omitempty"`
	// This parameter can be set to true to perform DNN-like MVN
	AcrossChannels   *bool  `protobuf:"varint,2,opt,name=across_channels,def=0" json:"across_channels,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by MVNLayer

func (*MVNParameter) Descriptor

func (*MVNParameter) Descriptor() ([]byte, []int)

func (*MVNParameter) GetAcrossChannels

func (m *MVNParameter) GetAcrossChannels() bool

func (*MVNParameter) GetNormalizeVariance

func (m *MVNParameter) GetNormalizeVariance() bool

func (*MVNParameter) ProtoMessage

func (*MVNParameter) ProtoMessage()

func (*MVNParameter) Reset

func (m *MVNParameter) Reset()

func (*MVNParameter) String

func (m *MVNParameter) String() string

type MemoryDataParameter

type MemoryDataParameter struct {
	BatchSize        *uint32 `protobuf:"varint,1,opt,name=batch_size" json:"batch_size,omitempty"`
	Channels         *uint32 `protobuf:"varint,2,opt,name=channels" json:"channels,omitempty"`
	Height           *uint32 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
	Width            *uint32 `protobuf:"varint,4,opt,name=width" json:"width,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by MemoryDataLayer

func (*MemoryDataParameter) Descriptor

func (*MemoryDataParameter) Descriptor() ([]byte, []int)

func (*MemoryDataParameter) GetBatchSize

func (m *MemoryDataParameter) GetBatchSize() uint32

func (*MemoryDataParameter) GetChannels

func (m *MemoryDataParameter) GetChannels() uint32

func (*MemoryDataParameter) GetHeight

func (m *MemoryDataParameter) GetHeight() uint32

func (*MemoryDataParameter) GetWidth

func (m *MemoryDataParameter) GetWidth() uint32

func (*MemoryDataParameter) ProtoMessage

func (*MemoryDataParameter) ProtoMessage()

func (*MemoryDataParameter) Reset

func (m *MemoryDataParameter) Reset()

func (*MemoryDataParameter) String

func (m *MemoryDataParameter) String() string

type NetParameter

type NetParameter struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The input blobs to the network.
	Input []string `protobuf:"bytes,3,rep,name=input" json:"input,omitempty"`
	// The shape of the input blobs.
	InputShape []*BlobShape `protobuf:"bytes,8,rep,name=input_shape" json:"input_shape,omitempty"`
	// 4D input dimensions -- deprecated.  Use "shape" instead.
	// If specified, for each input blob there should be four
	// values specifying the num, channels, height and width of the input blob.
	// Thus, there should be a total of (4 * #input) numbers.
	InputDim []int32 `protobuf:"varint,4,rep,name=input_dim" json:"input_dim,omitempty"`
	// Whether the network will force every layer to carry out backward operation.
	// If set False, then whether to carry out backward is determined
	// automatically according to the net structure and learning rates.
	ForceBackward *bool `protobuf:"varint,5,opt,name=force_backward,def=0" json:"force_backward,omitempty"`
	// The current "state" of the network, including the phase, level, and stage.
	// Some layers may be included/excluded depending on this state and the states
	// specified in the layers' include and exclude fields.
	State *NetState `protobuf:"bytes,6,opt,name=state" json:"state,omitempty"`
	// Print debugging information about results while running Net::Forward,
	// Net::Backward, and Net::Update.
	DebugInfo *bool `protobuf:"varint,7,opt,name=debug_info,def=0" json:"debug_info,omitempty"`
	// The layers that make up the net.  Each of their configurations, including
	// connectivity and behavior, is specified as a LayerParameter.
	Layer []*LayerParameter `protobuf:"bytes,100,rep,name=layer" json:"layer,omitempty"`
	// DEPRECATED: use 'layer' instead.
	Layers           []*V1LayerParameter `protobuf:"bytes,2,rep,name=layers" json:"layers,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

func (*NetParameter) Descriptor

func (*NetParameter) Descriptor() ([]byte, []int)

func (*NetParameter) GetDebugInfo

func (m *NetParameter) GetDebugInfo() bool

func (*NetParameter) GetForceBackward

func (m *NetParameter) GetForceBackward() bool

func (*NetParameter) GetInput

func (m *NetParameter) GetInput() []string

func (*NetParameter) GetInputDim

func (m *NetParameter) GetInputDim() []int32

func (*NetParameter) GetInputShape

func (m *NetParameter) GetInputShape() []*BlobShape

func (*NetParameter) GetLayer

func (m *NetParameter) GetLayer() []*LayerParameter

func (*NetParameter) GetLayers

func (m *NetParameter) GetLayers() []*V1LayerParameter

func (*NetParameter) GetName

func (m *NetParameter) GetName() string

func (*NetParameter) GetState

func (m *NetParameter) GetState() *NetState

func (*NetParameter) ProtoMessage

func (*NetParameter) ProtoMessage()

func (*NetParameter) Reset

func (m *NetParameter) Reset()

func (*NetParameter) String

func (m *NetParameter) String() string

type NetState

type NetState struct {
	Phase            *Phase   `protobuf:"varint,1,opt,name=phase,enum=caffe.Phase,def=1" json:"phase,omitempty"`
	Level            *int32   `protobuf:"varint,2,opt,name=level,def=0" json:"level,omitempty"`
	Stage            []string `protobuf:"bytes,3,rep,name=stage" json:"stage,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*NetState) Descriptor

func (*NetState) Descriptor() ([]byte, []int)

func (*NetState) GetLevel

func (m *NetState) GetLevel() int32

func (*NetState) GetPhase

func (m *NetState) GetPhase() Phase

func (*NetState) GetStage

func (m *NetState) GetStage() []string

func (*NetState) ProtoMessage

func (*NetState) ProtoMessage()

func (*NetState) Reset

func (m *NetState) Reset()

func (*NetState) String

func (m *NetState) String() string

type NetStateRule

type NetStateRule struct {
	// Set phase to require the NetState have a particular phase (TRAIN or TEST)
	// to meet this rule.
	Phase *Phase `protobuf:"varint,1,opt,name=phase,enum=caffe.Phase" json:"phase,omitempty"`
	// Set the minimum and/or maximum levels in which the layer should be used.
	// Leave undefined to meet the rule regardless of level.
	MinLevel *int32 `protobuf:"varint,2,opt,name=min_level" json:"min_level,omitempty"`
	MaxLevel *int32 `protobuf:"varint,3,opt,name=max_level" json:"max_level,omitempty"`
	// Customizable sets of stages to include or exclude.
	// The net must have ALL of the specified stages and NONE of the specified
	// "not_stage"s to meet the rule.
	// (Use multiple NetStateRules to specify conjunctions of stages.)
	Stage            []string `protobuf:"bytes,4,rep,name=stage" json:"stage,omitempty"`
	NotStage         []string `protobuf:"bytes,5,rep,name=not_stage" json:"not_stage,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*NetStateRule) Descriptor

func (*NetStateRule) Descriptor() ([]byte, []int)

func (*NetStateRule) GetMaxLevel

func (m *NetStateRule) GetMaxLevel() int32

func (*NetStateRule) GetMinLevel

func (m *NetStateRule) GetMinLevel() int32

func (*NetStateRule) GetNotStage

func (m *NetStateRule) GetNotStage() []string

func (*NetStateRule) GetPhase

func (m *NetStateRule) GetPhase() Phase

func (*NetStateRule) GetStage

func (m *NetStateRule) GetStage() []string

func (*NetStateRule) ProtoMessage

func (*NetStateRule) ProtoMessage()

func (*NetStateRule) Reset

func (m *NetStateRule) Reset()

func (*NetStateRule) String

func (m *NetStateRule) String() string

type PReLUParameter

type PReLUParameter struct {
	// Initial value of a_i. Default is a_i=0.25 for all i.
	Filler *FillerParameter `protobuf:"bytes,1,opt,name=filler" json:"filler,omitempty"`
	// Whether or not slope paramters are shared across channels.
	ChannelShared    *bool  `protobuf:"varint,2,opt,name=channel_shared,def=0" json:"channel_shared,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by PReLULayer

func (*PReLUParameter) Descriptor

func (*PReLUParameter) Descriptor() ([]byte, []int)

func (*PReLUParameter) GetChannelShared

func (m *PReLUParameter) GetChannelShared() bool

func (*PReLUParameter) GetFiller

func (m *PReLUParameter) GetFiller() *FillerParameter

func (*PReLUParameter) ProtoMessage

func (*PReLUParameter) ProtoMessage()

func (*PReLUParameter) Reset

func (m *PReLUParameter) Reset()

func (*PReLUParameter) String

func (m *PReLUParameter) String() string

type ParamSpec

type ParamSpec struct {
	// The names of the parameter blobs -- useful for sharing parameters among
	// layers, but never required otherwise.  To share a parameter between two
	// layers, give it a (non-empty) name.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Whether to require shared weights to have the same shape, or just the same
	// count -- defaults to STRICT if unspecified.
	ShareMode *ParamSpec_DimCheckMode `protobuf:"varint,2,opt,name=share_mode,enum=caffe.ParamSpec_DimCheckMode" json:"share_mode,omitempty"`
	// The multiplier on the global learning rate for this parameter.
	LrMult *float32 `protobuf:"fixed32,3,opt,name=lr_mult,def=1" json:"lr_mult,omitempty"`
	// The multiplier on the global weight decay for this parameter.
	DecayMult        *float32 `protobuf:"fixed32,4,opt,name=decay_mult,def=1" json:"decay_mult,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Specifies training parameters (multipliers on global learning constants, and the name and other settings used for weight sharing).

func (*ParamSpec) Descriptor

func (*ParamSpec) Descriptor() ([]byte, []int)

func (*ParamSpec) GetDecayMult

func (m *ParamSpec) GetDecayMult() float32

func (*ParamSpec) GetLrMult

func (m *ParamSpec) GetLrMult() float32

func (*ParamSpec) GetName

func (m *ParamSpec) GetName() string

func (*ParamSpec) GetShareMode

func (m *ParamSpec) GetShareMode() ParamSpec_DimCheckMode

func (*ParamSpec) ProtoMessage

func (*ParamSpec) ProtoMessage()

func (*ParamSpec) Reset

func (m *ParamSpec) Reset()

func (*ParamSpec) String

func (m *ParamSpec) String() string

type ParamSpec_DimCheckMode

type ParamSpec_DimCheckMode int32
const (
	// STRICT (default) requires that num, channels, height, width each match.
	ParamSpec_STRICT ParamSpec_DimCheckMode = 0
	// PERMISSIVE requires only the count (num*channels*height*width) to match.
	ParamSpec_PERMISSIVE ParamSpec_DimCheckMode = 1
)

func (ParamSpec_DimCheckMode) Enum

func (ParamSpec_DimCheckMode) EnumDescriptor

func (ParamSpec_DimCheckMode) EnumDescriptor() ([]byte, []int)

func (ParamSpec_DimCheckMode) String

func (x ParamSpec_DimCheckMode) String() string

func (*ParamSpec_DimCheckMode) UnmarshalJSON

func (x *ParamSpec_DimCheckMode) UnmarshalJSON(data []byte) error

type Phase

type Phase int32
const (
	Phase_TRAIN Phase = 0
	Phase_TEST  Phase = 1
)
const Default_NetState_Phase Phase = Phase_TEST

func (Phase) Enum

func (x Phase) Enum() *Phase

func (Phase) EnumDescriptor

func (Phase) EnumDescriptor() ([]byte, []int)

func (Phase) String

func (x Phase) String() string

func (*Phase) UnmarshalJSON

func (x *Phase) UnmarshalJSON(data []byte) error

type PoolingParameter

type PoolingParameter struct {
	Pool *PoolingParameter_PoolMethod `protobuf:"varint,1,opt,name=pool,enum=caffe.PoolingParameter_PoolMethod,def=0" json:"pool,omitempty"`
	// Pad, kernel size, and stride are all given as a single value for equal
	// dimensions in height and width or as Y, X pairs.
	Pad        *uint32                  `protobuf:"varint,4,opt,name=pad,def=0" json:"pad,omitempty"`
	PadH       *uint32                  `protobuf:"varint,9,opt,name=pad_h,def=0" json:"pad_h,omitempty"`
	PadW       *uint32                  `protobuf:"varint,10,opt,name=pad_w,def=0" json:"pad_w,omitempty"`
	KernelSize *uint32                  `protobuf:"varint,2,opt,name=kernel_size" json:"kernel_size,omitempty"`
	KernelH    *uint32                  `protobuf:"varint,5,opt,name=kernel_h" json:"kernel_h,omitempty"`
	KernelW    *uint32                  `protobuf:"varint,6,opt,name=kernel_w" json:"kernel_w,omitempty"`
	Stride     *uint32                  `protobuf:"varint,3,opt,name=stride,def=1" json:"stride,omitempty"`
	StrideH    *uint32                  `protobuf:"varint,7,opt,name=stride_h" json:"stride_h,omitempty"`
	StrideW    *uint32                  `protobuf:"varint,8,opt,name=stride_w" json:"stride_w,omitempty"`
	Engine     *PoolingParameter_Engine `protobuf:"varint,11,opt,name=engine,enum=caffe.PoolingParameter_Engine,def=0" json:"engine,omitempty"`
	// If global_pooling then it will pool over the size of the bottom by doing
	// kernel_h = bottom->height and kernel_w = bottom->width
	GlobalPooling    *bool  `protobuf:"varint,12,opt,name=global_pooling,def=0" json:"global_pooling,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by PoolingLayer

func (*PoolingParameter) Descriptor

func (*PoolingParameter) Descriptor() ([]byte, []int)

func (*PoolingParameter) GetEngine

func (*PoolingParameter) GetGlobalPooling

func (m *PoolingParameter) GetGlobalPooling() bool

func (*PoolingParameter) GetKernelH

func (m *PoolingParameter) GetKernelH() uint32

func (*PoolingParameter) GetKernelSize

func (m *PoolingParameter) GetKernelSize() uint32

func (*PoolingParameter) GetKernelW

func (m *PoolingParameter) GetKernelW() uint32

func (*PoolingParameter) GetPad

func (m *PoolingParameter) GetPad() uint32

func (*PoolingParameter) GetPadH

func (m *PoolingParameter) GetPadH() uint32

func (*PoolingParameter) GetPadW

func (m *PoolingParameter) GetPadW() uint32

func (*PoolingParameter) GetPool

func (*PoolingParameter) GetStride

func (m *PoolingParameter) GetStride() uint32

func (*PoolingParameter) GetStrideH

func (m *PoolingParameter) GetStrideH() uint32

func (*PoolingParameter) GetStrideW

func (m *PoolingParameter) GetStrideW() uint32

func (*PoolingParameter) ProtoMessage

func (*PoolingParameter) ProtoMessage()

func (*PoolingParameter) Reset

func (m *PoolingParameter) Reset()

func (*PoolingParameter) String

func (m *PoolingParameter) String() string

type PoolingParameter_Engine

type PoolingParameter_Engine int32
const (
	PoolingParameter_DEFAULT PoolingParameter_Engine = 0
	PoolingParameter_CAFFE   PoolingParameter_Engine = 1
	PoolingParameter_CUDNN   PoolingParameter_Engine = 2
)
const Default_PoolingParameter_Engine PoolingParameter_Engine = PoolingParameter_DEFAULT

func (PoolingParameter_Engine) Enum

func (PoolingParameter_Engine) EnumDescriptor

func (PoolingParameter_Engine) EnumDescriptor() ([]byte, []int)

func (PoolingParameter_Engine) String

func (x PoolingParameter_Engine) String() string

func (*PoolingParameter_Engine) UnmarshalJSON

func (x *PoolingParameter_Engine) UnmarshalJSON(data []byte) error

type PoolingParameter_PoolMethod

type PoolingParameter_PoolMethod int32
const (
	PoolingParameter_MAX        PoolingParameter_PoolMethod = 0
	PoolingParameter_AVE        PoolingParameter_PoolMethod = 1
	PoolingParameter_STOCHASTIC PoolingParameter_PoolMethod = 2
)
const Default_PoolingParameter_Pool PoolingParameter_PoolMethod = PoolingParameter_MAX

func (PoolingParameter_PoolMethod) Enum

func (PoolingParameter_PoolMethod) EnumDescriptor

func (PoolingParameter_PoolMethod) EnumDescriptor() ([]byte, []int)

func (PoolingParameter_PoolMethod) String

func (*PoolingParameter_PoolMethod) UnmarshalJSON

func (x *PoolingParameter_PoolMethod) UnmarshalJSON(data []byte) error

type PowerParameter

type PowerParameter struct {
	// PowerLayer computes outputs y = (shift + scale * x) ^ power.
	Power            *float32 `protobuf:"fixed32,1,opt,name=power,def=1" json:"power,omitempty"`
	Scale            *float32 `protobuf:"fixed32,2,opt,name=scale,def=1" json:"scale,omitempty"`
	Shift            *float32 `protobuf:"fixed32,3,opt,name=shift,def=0" json:"shift,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Message that stores parameters used by PowerLayer

func (*PowerParameter) Descriptor

func (*PowerParameter) Descriptor() ([]byte, []int)

func (*PowerParameter) GetPower

func (m *PowerParameter) GetPower() float32

func (*PowerParameter) GetScale

func (m *PowerParameter) GetScale() float32

func (*PowerParameter) GetShift

func (m *PowerParameter) GetShift() float32

func (*PowerParameter) ProtoMessage

func (*PowerParameter) ProtoMessage()

func (*PowerParameter) Reset

func (m *PowerParameter) Reset()

func (*PowerParameter) String

func (m *PowerParameter) String() string

type PythonParameter

type PythonParameter struct {
	Module           *string `protobuf:"bytes,1,opt,name=module" json:"module,omitempty"`
	Layer            *string `protobuf:"bytes,2,opt,name=layer" json:"layer,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by PythonLayer

func (*PythonParameter) Descriptor

func (*PythonParameter) Descriptor() ([]byte, []int)

func (*PythonParameter) GetLayer

func (m *PythonParameter) GetLayer() string

func (*PythonParameter) GetModule

func (m *PythonParameter) GetModule() string

func (*PythonParameter) ProtoMessage

func (*PythonParameter) ProtoMessage()

func (*PythonParameter) Reset

func (m *PythonParameter) Reset()

func (*PythonParameter) String

func (m *PythonParameter) String() string

type ReLUParameter

type ReLUParameter struct {
	// Allow non-zero slope for negative inputs to speed up optimization
	// Described in:
	// Maas, A. L., Hannun, A. Y., & Ng, A. Y. (2013). Rectifier nonlinearities
	// improve neural network acoustic models. In ICML Workshop on Deep Learning
	// for Audio, Speech, and Language Processing.
	NegativeSlope    *float32              `protobuf:"fixed32,1,opt,name=negative_slope,def=0" json:"negative_slope,omitempty"`
	Engine           *ReLUParameter_Engine `protobuf:"varint,2,opt,name=engine,enum=caffe.ReLUParameter_Engine,def=0" json:"engine,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

Message that stores parameters used by ReLULayer

func (*ReLUParameter) Descriptor

func (*ReLUParameter) Descriptor() ([]byte, []int)

func (*ReLUParameter) GetEngine

func (m *ReLUParameter) GetEngine() ReLUParameter_Engine

func (*ReLUParameter) GetNegativeSlope

func (m *ReLUParameter) GetNegativeSlope() float32

func (*ReLUParameter) ProtoMessage

func (*ReLUParameter) ProtoMessage()

func (*ReLUParameter) Reset

func (m *ReLUParameter) Reset()

func (*ReLUParameter) String

func (m *ReLUParameter) String() string

type ReLUParameter_Engine

type ReLUParameter_Engine int32
const (
	ReLUParameter_DEFAULT ReLUParameter_Engine = 0
	ReLUParameter_CAFFE   ReLUParameter_Engine = 1
	ReLUParameter_CUDNN   ReLUParameter_Engine = 2
)
const Default_ReLUParameter_Engine ReLUParameter_Engine = ReLUParameter_DEFAULT

func (ReLUParameter_Engine) Enum

func (ReLUParameter_Engine) EnumDescriptor

func (ReLUParameter_Engine) EnumDescriptor() ([]byte, []int)

func (ReLUParameter_Engine) String

func (x ReLUParameter_Engine) String() string

func (*ReLUParameter_Engine) UnmarshalJSON

func (x *ReLUParameter_Engine) UnmarshalJSON(data []byte) error

type SigmoidParameter

type SigmoidParameter struct {
	Engine           *SigmoidParameter_Engine `protobuf:"varint,1,opt,name=engine,enum=caffe.SigmoidParameter_Engine,def=0" json:"engine,omitempty"`
	XXX_unrecognized []byte                   `json:"-"`
}

Message that stores parameters used by SigmoidLayer

func (*SigmoidParameter) Descriptor

func (*SigmoidParameter) Descriptor() ([]byte, []int)

func (*SigmoidParameter) GetEngine

func (*SigmoidParameter) ProtoMessage

func (*SigmoidParameter) ProtoMessage()

func (*SigmoidParameter) Reset

func (m *SigmoidParameter) Reset()

func (*SigmoidParameter) String

func (m *SigmoidParameter) String() string

type SigmoidParameter_Engine

type SigmoidParameter_Engine int32
const (
	SigmoidParameter_DEFAULT SigmoidParameter_Engine = 0
	SigmoidParameter_CAFFE   SigmoidParameter_Engine = 1
	SigmoidParameter_CUDNN   SigmoidParameter_Engine = 2
)
const Default_SigmoidParameter_Engine SigmoidParameter_Engine = SigmoidParameter_DEFAULT

func (SigmoidParameter_Engine) Enum

func (SigmoidParameter_Engine) EnumDescriptor

func (SigmoidParameter_Engine) EnumDescriptor() ([]byte, []int)

func (SigmoidParameter_Engine) String

func (x SigmoidParameter_Engine) String() string

func (*SigmoidParameter_Engine) UnmarshalJSON

func (x *SigmoidParameter_Engine) UnmarshalJSON(data []byte) error

type SliceParameter

type SliceParameter struct {
	// The axis along which to slice -- may be negative to index from the end
	// (e.g., -1 for the last axis).
	// By default, SliceLayer concatenates blobs along the "channels" axis (1).
	Axis       *int32   `protobuf:"varint,3,opt,name=axis,def=1" json:"axis,omitempty"`
	SlicePoint []uint32 `protobuf:"varint,2,rep,name=slice_point" json:"slice_point,omitempty"`
	// DEPRECATED: alias for "axis" -- does not support negative indexing.
	SliceDim         *uint32 `protobuf:"varint,1,opt,name=slice_dim,def=1" json:"slice_dim,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by SliceLayer

func (*SliceParameter) Descriptor

func (*SliceParameter) Descriptor() ([]byte, []int)

func (*SliceParameter) GetAxis

func (m *SliceParameter) GetAxis() int32

func (*SliceParameter) GetSliceDim

func (m *SliceParameter) GetSliceDim() uint32

func (*SliceParameter) GetSlicePoint

func (m *SliceParameter) GetSlicePoint() []uint32

func (*SliceParameter) ProtoMessage

func (*SliceParameter) ProtoMessage()

func (*SliceParameter) Reset

func (m *SliceParameter) Reset()

func (*SliceParameter) String

func (m *SliceParameter) String() string

type SoftmaxParameter

type SoftmaxParameter struct {
	Engine *SoftmaxParameter_Engine `protobuf:"varint,1,opt,name=engine,enum=caffe.SoftmaxParameter_Engine,def=0" json:"engine,omitempty"`
	// The axis along which to perform the softmax -- may be negative to index
	// from the end (e.g., -1 for the last axis).
	// Any other axes will be evaluated as independent softmaxes.
	Axis             *int32 `protobuf:"varint,2,opt,name=axis,def=1" json:"axis,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Message that stores parameters used by SoftmaxLayer, SoftmaxWithLossLayer

func (*SoftmaxParameter) Descriptor

func (*SoftmaxParameter) Descriptor() ([]byte, []int)

func (*SoftmaxParameter) GetAxis

func (m *SoftmaxParameter) GetAxis() int32

func (*SoftmaxParameter) GetEngine

func (*SoftmaxParameter) ProtoMessage

func (*SoftmaxParameter) ProtoMessage()

func (*SoftmaxParameter) Reset

func (m *SoftmaxParameter) Reset()

func (*SoftmaxParameter) String

func (m *SoftmaxParameter) String() string

type SoftmaxParameter_Engine

type SoftmaxParameter_Engine int32
const (
	SoftmaxParameter_DEFAULT SoftmaxParameter_Engine = 0
	SoftmaxParameter_CAFFE   SoftmaxParameter_Engine = 1
	SoftmaxParameter_CUDNN   SoftmaxParameter_Engine = 2
)
const Default_SoftmaxParameter_Engine SoftmaxParameter_Engine = SoftmaxParameter_DEFAULT

func (SoftmaxParameter_Engine) Enum

func (SoftmaxParameter_Engine) EnumDescriptor

func (SoftmaxParameter_Engine) EnumDescriptor() ([]byte, []int)

func (SoftmaxParameter_Engine) String

func (x SoftmaxParameter_Engine) String() string

func (*SoftmaxParameter_Engine) UnmarshalJSON

func (x *SoftmaxParameter_Engine) UnmarshalJSON(data []byte) error

type SolverParameter

type SolverParameter struct {
	// Proto filename for the train net, possibly combined with one or more
	// test nets.
	Net *string `protobuf:"bytes,24,opt,name=net" json:"net,omitempty"`
	// Inline train net param, possibly combined with one or more test nets.
	NetParam      *NetParameter   `protobuf:"bytes,25,opt,name=net_param" json:"net_param,omitempty"`
	TrainNet      *string         `protobuf:"bytes,1,opt,name=train_net" json:"train_net,omitempty"`
	TestNet       []string        `protobuf:"bytes,2,rep,name=test_net" json:"test_net,omitempty"`
	TrainNetParam *NetParameter   `protobuf:"bytes,21,opt,name=train_net_param" json:"train_net_param,omitempty"`
	TestNetParam  []*NetParameter `protobuf:"bytes,22,rep,name=test_net_param" json:"test_net_param,omitempty"`
	// The states for the train/test nets. Must be unspecified or
	// specified once per net.
	//
	// By default, all states will have solver = true;
	// train_state will have phase = TRAIN,
	// and all test_state's will have phase = TEST.
	// Other defaults are set according to the NetState defaults.
	TrainState *NetState   `protobuf:"bytes,26,opt,name=train_state" json:"train_state,omitempty"`
	TestState  []*NetState `protobuf:"bytes,27,rep,name=test_state" json:"test_state,omitempty"`
	// The number of iterations for each test net.
	TestIter []int32 `protobuf:"varint,3,rep,name=test_iter" json:"test_iter,omitempty"`
	// The number of iterations between two testing phases.
	TestInterval    *int32 `protobuf:"varint,4,opt,name=test_interval,def=0" json:"test_interval,omitempty"`
	TestComputeLoss *bool  `protobuf:"varint,19,opt,name=test_compute_loss,def=0" json:"test_compute_loss,omitempty"`
	// If true, run an initial test pass before the first iteration,
	// ensuring memory availability and printing the starting value of the loss.
	TestInitialization *bool    `protobuf:"varint,32,opt,name=test_initialization,def=1" json:"test_initialization,omitempty"`
	BaseLr             *float32 `protobuf:"fixed32,5,opt,name=base_lr" json:"base_lr,omitempty"`
	// the number of iterations between displaying info. If display = 0, no info
	// will be displayed.
	Display *int32 `protobuf:"varint,6,opt,name=display" json:"display,omitempty"`
	// Display the loss averaged over the last average_loss iterations
	AverageLoss *int32   `protobuf:"varint,33,opt,name=average_loss,def=1" json:"average_loss,omitempty"`
	MaxIter     *int32   `protobuf:"varint,7,opt,name=max_iter" json:"max_iter,omitempty"`
	LrPolicy    *string  `protobuf:"bytes,8,opt,name=lr_policy" json:"lr_policy,omitempty"`
	Gamma       *float32 `protobuf:"fixed32,9,opt,name=gamma" json:"gamma,omitempty"`
	Power       *float32 `protobuf:"fixed32,10,opt,name=power" json:"power,omitempty"`
	Momentum    *float32 `protobuf:"fixed32,11,opt,name=momentum" json:"momentum,omitempty"`
	WeightDecay *float32 `protobuf:"fixed32,12,opt,name=weight_decay" json:"weight_decay,omitempty"`
	// regularization types supported: L1 and L2
	// controlled by weight_decay
	RegularizationType *string `protobuf:"bytes,29,opt,name=regularization_type,def=L2" json:"regularization_type,omitempty"`
	// the stepsize for learning rate policy "step"
	Stepsize *int32 `protobuf:"varint,13,opt,name=stepsize" json:"stepsize,omitempty"`
	// the stepsize for learning rate policy "multistep"
	Stepvalue []int32 `protobuf:"varint,34,rep,name=stepvalue" json:"stepvalue,omitempty"`
	// Set clip_gradients to >= 0 to clip parameter gradients to that L2 norm,
	// whenever their actual L2 norm is larger.
	ClipGradients  *float32 `protobuf:"fixed32,35,opt,name=clip_gradients,def=-1" json:"clip_gradients,omitempty"`
	Snapshot       *int32   `protobuf:"varint,14,opt,name=snapshot,def=0" json:"snapshot,omitempty"`
	SnapshotPrefix *string  `protobuf:"bytes,15,opt,name=snapshot_prefix" json:"snapshot_prefix,omitempty"`
	// whether to snapshot diff in the results or not. Snapshotting diff will help
	// debugging but the final protocol buffer size will be much larger.
	SnapshotDiff *bool                       `protobuf:"varint,16,opt,name=snapshot_diff,def=0" json:"snapshot_diff,omitempty"`
	SolverMode   *SolverParameter_SolverMode `protobuf:"varint,17,opt,name=solver_mode,enum=caffe.SolverParameter_SolverMode,def=1" json:"solver_mode,omitempty"`
	// the device_id will that be used in GPU mode. Use device_id = 0 in default.
	DeviceId *int32 `protobuf:"varint,18,opt,name=device_id,def=0" json:"device_id,omitempty"`
	// If non-negative, the seed with which the Solver will initialize the Caffe
	// random number generator -- useful for reproducible results. Otherwise,
	// (and by default) initialize using a seed derived from the system clock.
	RandomSeed *int64                      `protobuf:"varint,20,opt,name=random_seed,def=-1" json:"random_seed,omitempty"`
	SolverType *SolverParameter_SolverType `protobuf:"varint,30,opt,name=solver_type,enum=caffe.SolverParameter_SolverType,def=0" json:"solver_type,omitempty"`
	// numerical stability for AdaGrad
	Delta *float32 `protobuf:"fixed32,31,opt,name=delta,def=1e-08" json:"delta,omitempty"`
	// If true, print information about the state of the net that may help with
	// debugging learning problems.
	DebugInfo *bool `protobuf:"varint,23,opt,name=debug_info,def=0" json:"debug_info,omitempty"`
	// If false, don't save a snapshot after training finishes.
	SnapshotAfterTrain *bool  `protobuf:"varint,28,opt,name=snapshot_after_train,def=1" json:"snapshot_after_train,omitempty"`
	XXX_unrecognized   []byte `json:"-"`
}

NOTE Update the next available ID when you add a new SolverParameter field.

SolverParameter next available ID: 36 (last added: clip_gradients)

func (*SolverParameter) Descriptor

func (*SolverParameter) Descriptor() ([]byte, []int)

func (*SolverParameter) GetAverageLoss

func (m *SolverParameter) GetAverageLoss() int32

func (*SolverParameter) GetBaseLr

func (m *SolverParameter) GetBaseLr() float32

func (*SolverParameter) GetClipGradients

func (m *SolverParameter) GetClipGradients() float32

func (*SolverParameter) GetDebugInfo

func (m *SolverParameter) GetDebugInfo() bool

func (*SolverParameter) GetDelta

func (m *SolverParameter) GetDelta() float32

func (*SolverParameter) GetDeviceId

func (m *SolverParameter) GetDeviceId() int32

func (*SolverParameter) GetDisplay

func (m *SolverParameter) GetDisplay() int32

func (*SolverParameter) GetGamma

func (m *SolverParameter) GetGamma() float32

func (*SolverParameter) GetLrPolicy

func (m *SolverParameter) GetLrPolicy() string

func (*SolverParameter) GetMaxIter

func (m *SolverParameter) GetMaxIter() int32

func (*SolverParameter) GetMomentum

func (m *SolverParameter) GetMomentum() float32

func (*SolverParameter) GetNet

func (m *SolverParameter) GetNet() string

func (*SolverParameter) GetNetParam

func (m *SolverParameter) GetNetParam() *NetParameter

func (*SolverParameter) GetPower

func (m *SolverParameter) GetPower() float32

func (*SolverParameter) GetRandomSeed

func (m *SolverParameter) GetRandomSeed() int64

func (*SolverParameter) GetRegularizationType

func (m *SolverParameter) GetRegularizationType() string

func (*SolverParameter) GetSnapshot

func (m *SolverParameter) GetSnapshot() int32

func (*SolverParameter) GetSnapshotAfterTrain

func (m *SolverParameter) GetSnapshotAfterTrain() bool

func (*SolverParameter) GetSnapshotDiff

func (m *SolverParameter) GetSnapshotDiff() bool

func (*SolverParameter) GetSnapshotPrefix

func (m *SolverParameter) GetSnapshotPrefix() string

func (*SolverParameter) GetSolverMode

func (m *SolverParameter) GetSolverMode() SolverParameter_SolverMode

func (*SolverParameter) GetSolverType

func (m *SolverParameter) GetSolverType() SolverParameter_SolverType

func (*SolverParameter) GetStepsize

func (m *SolverParameter) GetStepsize() int32

func (*SolverParameter) GetStepvalue

func (m *SolverParameter) GetStepvalue() []int32

func (*SolverParameter) GetTestComputeLoss

func (m *SolverParameter) GetTestComputeLoss() bool

func (*SolverParameter) GetTestInitialization

func (m *SolverParameter) GetTestInitialization() bool

func (*SolverParameter) GetTestInterval

func (m *SolverParameter) GetTestInterval() int32

func (*SolverParameter) GetTestIter

func (m *SolverParameter) GetTestIter() []int32

func (*SolverParameter) GetTestNet

func (m *SolverParameter) GetTestNet() []string

func (*SolverParameter) GetTestNetParam

func (m *SolverParameter) GetTestNetParam() []*NetParameter

func (*SolverParameter) GetTestState

func (m *SolverParameter) GetTestState() []*NetState

func (*SolverParameter) GetTrainNet

func (m *SolverParameter) GetTrainNet() string

func (*SolverParameter) GetTrainNetParam

func (m *SolverParameter) GetTrainNetParam() *NetParameter

func (*SolverParameter) GetTrainState

func (m *SolverParameter) GetTrainState() *NetState

func (*SolverParameter) GetWeightDecay

func (m *SolverParameter) GetWeightDecay() float32

func (*SolverParameter) ProtoMessage

func (*SolverParameter) ProtoMessage()

func (*SolverParameter) Reset

func (m *SolverParameter) Reset()

func (*SolverParameter) String

func (m *SolverParameter) String() string

type SolverParameter_SolverMode

type SolverParameter_SolverMode int32

the mode solver will use: 0 for CPU and 1 for GPU. Use GPU in default.

const (
	SolverParameter_CPU SolverParameter_SolverMode = 0
	SolverParameter_GPU SolverParameter_SolverMode = 1
)
const Default_SolverParameter_SolverMode SolverParameter_SolverMode = SolverParameter_GPU

func (SolverParameter_SolverMode) Enum

func (SolverParameter_SolverMode) EnumDescriptor

func (SolverParameter_SolverMode) EnumDescriptor() ([]byte, []int)

func (SolverParameter_SolverMode) String

func (*SolverParameter_SolverMode) UnmarshalJSON

func (x *SolverParameter_SolverMode) UnmarshalJSON(data []byte) error

type SolverParameter_SolverType

type SolverParameter_SolverType int32

Solver type

const (
	SolverParameter_SGD      SolverParameter_SolverType = 0
	SolverParameter_NESTEROV SolverParameter_SolverType = 1
	SolverParameter_ADAGRAD  SolverParameter_SolverType = 2
)
const Default_SolverParameter_SolverType SolverParameter_SolverType = SolverParameter_SGD

func (SolverParameter_SolverType) Enum

func (SolverParameter_SolverType) EnumDescriptor

func (SolverParameter_SolverType) EnumDescriptor() ([]byte, []int)

func (SolverParameter_SolverType) String

func (*SolverParameter_SolverType) UnmarshalJSON

func (x *SolverParameter_SolverType) UnmarshalJSON(data []byte) error

type SolverState

type SolverState struct {
	Iter             *int32       `protobuf:"varint,1,opt,name=iter" json:"iter,omitempty"`
	LearnedNet       *string      `protobuf:"bytes,2,opt,name=learned_net" json:"learned_net,omitempty"`
	History          []*BlobProto `protobuf:"bytes,3,rep,name=history" json:"history,omitempty"`
	CurrentStep      *int32       `protobuf:"varint,4,opt,name=current_step,def=0" json:"current_step,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

A message that stores the solver snapshots

func (*SolverState) Descriptor

func (*SolverState) Descriptor() ([]byte, []int)

func (*SolverState) GetCurrentStep

func (m *SolverState) GetCurrentStep() int32

func (*SolverState) GetHistory

func (m *SolverState) GetHistory() []*BlobProto

func (*SolverState) GetIter

func (m *SolverState) GetIter() int32

func (*SolverState) GetLearnedNet

func (m *SolverState) GetLearnedNet() string

func (*SolverState) ProtoMessage

func (*SolverState) ProtoMessage()

func (*SolverState) Reset

func (m *SolverState) Reset()

func (*SolverState) String

func (m *SolverState) String() string

type TanHParameter

type TanHParameter struct {
	Engine           *TanHParameter_Engine `protobuf:"varint,1,opt,name=engine,enum=caffe.TanHParameter_Engine,def=0" json:"engine,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

Message that stores parameters used by TanHLayer

func (*TanHParameter) Descriptor

func (*TanHParameter) Descriptor() ([]byte, []int)

func (*TanHParameter) GetEngine

func (m *TanHParameter) GetEngine() TanHParameter_Engine

func (*TanHParameter) ProtoMessage

func (*TanHParameter) ProtoMessage()

func (*TanHParameter) Reset

func (m *TanHParameter) Reset()

func (*TanHParameter) String

func (m *TanHParameter) String() string

type TanHParameter_Engine

type TanHParameter_Engine int32
const (
	TanHParameter_DEFAULT TanHParameter_Engine = 0
	TanHParameter_CAFFE   TanHParameter_Engine = 1
	TanHParameter_CUDNN   TanHParameter_Engine = 2
)
const Default_TanHParameter_Engine TanHParameter_Engine = TanHParameter_DEFAULT

func (TanHParameter_Engine) Enum

func (TanHParameter_Engine) EnumDescriptor

func (TanHParameter_Engine) EnumDescriptor() ([]byte, []int)

func (TanHParameter_Engine) String

func (x TanHParameter_Engine) String() string

func (*TanHParameter_Engine) UnmarshalJSON

func (x *TanHParameter_Engine) UnmarshalJSON(data []byte) error

type ThresholdParameter

type ThresholdParameter struct {
	Threshold        *float32 `protobuf:"fixed32,1,opt,name=threshold,def=0" json:"threshold,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Message that stores parameters used by ThresholdLayer

func (*ThresholdParameter) Descriptor

func (*ThresholdParameter) Descriptor() ([]byte, []int)

func (*ThresholdParameter) GetThreshold

func (m *ThresholdParameter) GetThreshold() float32

func (*ThresholdParameter) ProtoMessage

func (*ThresholdParameter) ProtoMessage()

func (*ThresholdParameter) Reset

func (m *ThresholdParameter) Reset()

func (*ThresholdParameter) String

func (m *ThresholdParameter) String() string

type TransformationParameter

type TransformationParameter struct {
	// For data pre-processing, we can do simple scaling and subtracting the
	// data mean, if provided. Note that the mean subtraction is always carried
	// out before scaling.
	Scale *float32 `protobuf:"fixed32,1,opt,name=scale,def=1" json:"scale,omitempty"`
	// Specify if we want to randomly mirror data.
	Mirror *bool `protobuf:"varint,2,opt,name=mirror,def=0" json:"mirror,omitempty"`
	// Specify if we would like to randomly crop an image.
	CropSize *uint32 `protobuf:"varint,3,opt,name=crop_size,def=0" json:"crop_size,omitempty"`
	// mean_file and mean_value cannot be specified at the same time
	MeanFile *string `protobuf:"bytes,4,opt,name=mean_file" json:"mean_file,omitempty"`
	// if specified can be repeated once (would substract it from all the channels)
	// or can be repeated the same number of times as channels
	// (would subtract them from the corresponding channel)
	MeanValue        []float32 `protobuf:"fixed32,5,rep,name=mean_value" json:"mean_value,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

Message that stores parameters used to apply transformation to the data layer's data

func (*TransformationParameter) Descriptor

func (*TransformationParameter) Descriptor() ([]byte, []int)

func (*TransformationParameter) GetCropSize

func (m *TransformationParameter) GetCropSize() uint32

func (*TransformationParameter) GetMeanFile

func (m *TransformationParameter) GetMeanFile() string

func (*TransformationParameter) GetMeanValue

func (m *TransformationParameter) GetMeanValue() []float32

func (*TransformationParameter) GetMirror

func (m *TransformationParameter) GetMirror() bool

func (*TransformationParameter) GetScale

func (m *TransformationParameter) GetScale() float32

func (*TransformationParameter) ProtoMessage

func (*TransformationParameter) ProtoMessage()

func (*TransformationParameter) Reset

func (m *TransformationParameter) Reset()

func (*TransformationParameter) String

func (m *TransformationParameter) String() string

type V0LayerParameter

type V0LayerParameter struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	// Parameters to specify layers with inner products.
	NumOutput    *uint32                      `protobuf:"varint,3,opt,name=num_output" json:"num_output,omitempty"`
	Biasterm     *bool                        `protobuf:"varint,4,opt,name=biasterm,def=1" json:"biasterm,omitempty"`
	WeightFiller *FillerParameter             `protobuf:"bytes,5,opt,name=weight_filler" json:"weight_filler,omitempty"`
	BiasFiller   *FillerParameter             `protobuf:"bytes,6,opt,name=bias_filler" json:"bias_filler,omitempty"`
	Pad          *uint32                      `protobuf:"varint,7,opt,name=pad,def=0" json:"pad,omitempty"`
	Kernelsize   *uint32                      `protobuf:"varint,8,opt,name=kernelsize" json:"kernelsize,omitempty"`
	Group        *uint32                      `protobuf:"varint,9,opt,name=group,def=1" json:"group,omitempty"`
	Stride       *uint32                      `protobuf:"varint,10,opt,name=stride,def=1" json:"stride,omitempty"`
	Pool         *V0LayerParameter_PoolMethod `protobuf:"varint,11,opt,name=pool,enum=caffe.V0LayerParameter_PoolMethod,def=0" json:"pool,omitempty"`
	DropoutRatio *float32                     `protobuf:"fixed32,12,opt,name=dropout_ratio,def=0.5" json:"dropout_ratio,omitempty"`
	LocalSize    *uint32                      `protobuf:"varint,13,opt,name=local_size,def=5" json:"local_size,omitempty"`
	Alpha        *float32                     `protobuf:"fixed32,14,opt,name=alpha,def=1" json:"alpha,omitempty"`
	Beta         *float32                     `protobuf:"fixed32,15,opt,name=beta,def=0.75" json:"beta,omitempty"`
	K            *float32                     `protobuf:"fixed32,22,opt,name=k,def=1" json:"k,omitempty"`
	// For data layers, specify the data source
	Source *string `protobuf:"bytes,16,opt,name=source" json:"source,omitempty"`
	// For data pre-processing, we can do simple scaling and subtracting the
	// data mean, if provided. Note that the mean subtraction is always carried
	// out before scaling.
	Scale    *float32 `protobuf:"fixed32,17,opt,name=scale,def=1" json:"scale,omitempty"`
	Meanfile *string  `protobuf:"bytes,18,opt,name=meanfile" json:"meanfile,omitempty"`
	// For data layers, specify the batch size.
	Batchsize *uint32 `protobuf:"varint,19,opt,name=batchsize" json:"batchsize,omitempty"`
	// For data layers, specify if we would like to randomly crop an image.
	Cropsize *uint32 `protobuf:"varint,20,opt,name=cropsize,def=0" json:"cropsize,omitempty"`
	// For data layers, specify if we want to randomly mirror data.
	Mirror *bool `protobuf:"varint,21,opt,name=mirror,def=0" json:"mirror,omitempty"`
	// The blobs containing the numeric parameters of the layer
	Blobs []*BlobProto `protobuf:"bytes,50,rep,name=blobs" json:"blobs,omitempty"`
	// The ratio that is multiplied on the global learning rate. If you want to
	// set the learning ratio for one blob, you need to set it for all blobs.
	BlobsLr []float32 `protobuf:"fixed32,51,rep,name=blobs_lr" json:"blobs_lr,omitempty"`
	// The weight decay that is multiplied on the global weight decay.
	WeightDecay []float32 `protobuf:"fixed32,52,rep,name=weight_decay" json:"weight_decay,omitempty"`
	// The rand_skip variable is for the data layer to skip a few data points
	// to avoid all asynchronous sgd clients to start at the same point. The skip
	// point would be set as rand_skip * rand(0,1). Note that rand_skip should not
	// be larger than the number of keys in the database.
	RandSkip *uint32 `protobuf:"varint,53,opt,name=rand_skip,def=0" json:"rand_skip,omitempty"`
	// Fields related to detection (det_*)
	// foreground (object) overlap threshold
	DetFgThreshold *float32 `protobuf:"fixed32,54,opt,name=det_fg_threshold,def=0.5" json:"det_fg_threshold,omitempty"`
	// background (non-object) overlap threshold
	DetBgThreshold *float32 `protobuf:"fixed32,55,opt,name=det_bg_threshold,def=0.5" json:"det_bg_threshold,omitempty"`
	// Fraction of batch that should be foreground objects
	DetFgFraction *float32 `protobuf:"fixed32,56,opt,name=det_fg_fraction,def=0.25" json:"det_fg_fraction,omitempty"`
	// Amount of contextual padding to add around a window
	// (used only by the window_data_layer)
	DetContextPad *uint32 `protobuf:"varint,58,opt,name=det_context_pad,def=0" json:"det_context_pad,omitempty"`
	// Mode for cropping out a detection window
	// warp: cropped window is warped to a fixed size and aspect ratio
	// square: the tightest square around the window is cropped
	DetCropMode *string `protobuf:"bytes,59,opt,name=det_crop_mode,def=warp" json:"det_crop_mode,omitempty"`
	// For ReshapeLayer, one needs to specify the new dimensions.
	NewNum      *int32 `protobuf:"varint,60,opt,name=new_num,def=0" json:"new_num,omitempty"`
	NewChannels *int32 `protobuf:"varint,61,opt,name=new_channels,def=0" json:"new_channels,omitempty"`
	NewHeight   *int32 `protobuf:"varint,62,opt,name=new_height,def=0" json:"new_height,omitempty"`
	NewWidth    *int32 `protobuf:"varint,63,opt,name=new_width,def=0" json:"new_width,omitempty"`
	// Whether or not ImageLayer should shuffle the list of files at every epoch.
	// It will also resize images if new_height or new_width are not zero.
	ShuffleImages *bool `protobuf:"varint,64,opt,name=shuffle_images,def=0" json:"shuffle_images,omitempty"`
	// For ConcatLayer, one needs to specify the dimension for concatenation, and
	// the other dimensions must be the same for all the bottom blobs.
	// By default it will concatenate blobs along the channels dimension.
	ConcatDim        *uint32              `protobuf:"varint,65,opt,name=concat_dim,def=1" json:"concat_dim,omitempty"`
	Hdf5OutputParam  *HDF5OutputParameter `protobuf:"bytes,1001,opt,name=hdf5_output_param" json:"hdf5_output_param,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

DEPRECATED: V0LayerParameter is the old way of specifying layer parameters in Caffe. We keep this message type around for legacy support.

func (*V0LayerParameter) Descriptor

func (*V0LayerParameter) Descriptor() ([]byte, []int)

func (*V0LayerParameter) GetAlpha

func (m *V0LayerParameter) GetAlpha() float32

func (*V0LayerParameter) GetBatchsize

func (m *V0LayerParameter) GetBatchsize() uint32

func (*V0LayerParameter) GetBeta

func (m *V0LayerParameter) GetBeta() float32

func (*V0LayerParameter) GetBiasFiller

func (m *V0LayerParameter) GetBiasFiller() *FillerParameter

func (*V0LayerParameter) GetBiasterm

func (m *V0LayerParameter) GetBiasterm() bool

func (*V0LayerParameter) GetBlobs

func (m *V0LayerParameter) GetBlobs() []*BlobProto

func (*V0LayerParameter) GetBlobsLr

func (m *V0LayerParameter) GetBlobsLr() []float32

func (*V0LayerParameter) GetConcatDim

func (m *V0LayerParameter) GetConcatDim() uint32

func (*V0LayerParameter) GetCropsize

func (m *V0LayerParameter) GetCropsize() uint32

func (*V0LayerParameter) GetDetBgThreshold

func (m *V0LayerParameter) GetDetBgThreshold() float32

func (*V0LayerParameter) GetDetContextPad

func (m *V0LayerParameter) GetDetContextPad() uint32

func (*V0LayerParameter) GetDetCropMode

func (m *V0LayerParameter) GetDetCropMode() string

func (*V0LayerParameter) GetDetFgFraction

func (m *V0LayerParameter) GetDetFgFraction() float32

func (*V0LayerParameter) GetDetFgThreshold

func (m *V0LayerParameter) GetDetFgThreshold() float32

func (*V0LayerParameter) GetDropoutRatio

func (m *V0LayerParameter) GetDropoutRatio() float32

func (*V0LayerParameter) GetGroup

func (m *V0LayerParameter) GetGroup() uint32

func (*V0LayerParameter) GetHdf5OutputParam

func (m *V0LayerParameter) GetHdf5OutputParam() *HDF5OutputParameter

func (*V0LayerParameter) GetK

func (m *V0LayerParameter) GetK() float32

func (*V0LayerParameter) GetKernelsize

func (m *V0LayerParameter) GetKernelsize() uint32

func (*V0LayerParameter) GetLocalSize

func (m *V0LayerParameter) GetLocalSize() uint32

func (*V0LayerParameter) GetMeanfile

func (m *V0LayerParameter) GetMeanfile() string

func (*V0LayerParameter) GetMirror

func (m *V0LayerParameter) GetMirror() bool

func (*V0LayerParameter) GetName

func (m *V0LayerParameter) GetName() string

func (*V0LayerParameter) GetNewChannels

func (m *V0LayerParameter) GetNewChannels() int32

func (*V0LayerParameter) GetNewHeight

func (m *V0LayerParameter) GetNewHeight() int32

func (*V0LayerParameter) GetNewNum

func (m *V0LayerParameter) GetNewNum() int32

func (*V0LayerParameter) GetNewWidth

func (m *V0LayerParameter) GetNewWidth() int32

func (*V0LayerParameter) GetNumOutput

func (m *V0LayerParameter) GetNumOutput() uint32

func (*V0LayerParameter) GetPad

func (m *V0LayerParameter) GetPad() uint32

func (*V0LayerParameter) GetPool

func (*V0LayerParameter) GetRandSkip

func (m *V0LayerParameter) GetRandSkip() uint32

func (*V0LayerParameter) GetScale

func (m *V0LayerParameter) GetScale() float32

func (*V0LayerParameter) GetShuffleImages

func (m *V0LayerParameter) GetShuffleImages() bool

func (*V0LayerParameter) GetSource

func (m *V0LayerParameter) GetSource() string

func (*V0LayerParameter) GetStride

func (m *V0LayerParameter) GetStride() uint32

func (*V0LayerParameter) GetType

func (m *V0LayerParameter) GetType() string

func (*V0LayerParameter) GetWeightDecay

func (m *V0LayerParameter) GetWeightDecay() []float32

func (*V0LayerParameter) GetWeightFiller

func (m *V0LayerParameter) GetWeightFiller() *FillerParameter

func (*V0LayerParameter) ProtoMessage

func (*V0LayerParameter) ProtoMessage()

func (*V0LayerParameter) Reset

func (m *V0LayerParameter) Reset()

func (*V0LayerParameter) String

func (m *V0LayerParameter) String() string

type V0LayerParameter_PoolMethod

type V0LayerParameter_PoolMethod int32
const (
	V0LayerParameter_MAX        V0LayerParameter_PoolMethod = 0
	V0LayerParameter_AVE        V0LayerParameter_PoolMethod = 1
	V0LayerParameter_STOCHASTIC V0LayerParameter_PoolMethod = 2
)
const Default_V0LayerParameter_Pool V0LayerParameter_PoolMethod = V0LayerParameter_MAX

func (V0LayerParameter_PoolMethod) Enum

func (V0LayerParameter_PoolMethod) EnumDescriptor

func (V0LayerParameter_PoolMethod) EnumDescriptor() ([]byte, []int)

func (V0LayerParameter_PoolMethod) String

func (*V0LayerParameter_PoolMethod) UnmarshalJSON

func (x *V0LayerParameter_PoolMethod) UnmarshalJSON(data []byte) error

type V1LayerParameter

type V1LayerParameter struct {
	Bottom               []string                        `protobuf:"bytes,2,rep,name=bottom" json:"bottom,omitempty"`
	Top                  []string                        `protobuf:"bytes,3,rep,name=top" json:"top,omitempty"`
	Name                 *string                         `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
	Include              []*NetStateRule                 `protobuf:"bytes,32,rep,name=include" json:"include,omitempty"`
	Exclude              []*NetStateRule                 `protobuf:"bytes,33,rep,name=exclude" json:"exclude,omitempty"`
	Type                 *V1LayerParameter_LayerType     `protobuf:"varint,5,opt,name=type,enum=caffe.V1LayerParameter_LayerType" json:"type,omitempty"`
	Blobs                []*BlobProto                    `protobuf:"bytes,6,rep,name=blobs" json:"blobs,omitempty"`
	Param                []string                        `protobuf:"bytes,1001,rep,name=param" json:"param,omitempty"`
	BlobShareMode        []V1LayerParameter_DimCheckMode `protobuf:"varint,1002,rep,name=blob_share_mode,enum=caffe.V1LayerParameter_DimCheckMode" json:"blob_share_mode,omitempty"`
	BlobsLr              []float32                       `protobuf:"fixed32,7,rep,name=blobs_lr" json:"blobs_lr,omitempty"`
	WeightDecay          []float32                       `protobuf:"fixed32,8,rep,name=weight_decay" json:"weight_decay,omitempty"`
	LossWeight           []float32                       `protobuf:"fixed32,35,rep,name=loss_weight" json:"loss_weight,omitempty"`
	AccuracyParam        *AccuracyParameter              `protobuf:"bytes,27,opt,name=accuracy_param" json:"accuracy_param,omitempty"`
	ArgmaxParam          *ArgMaxParameter                `protobuf:"bytes,23,opt,name=argmax_param" json:"argmax_param,omitempty"`
	ConcatParam          *ConcatParameter                `protobuf:"bytes,9,opt,name=concat_param" json:"concat_param,omitempty"`
	ContrastiveLossParam *ContrastiveLossParameter       `protobuf:"bytes,40,opt,name=contrastive_loss_param" json:"contrastive_loss_param,omitempty"`
	ConvolutionParam     *ConvolutionParameter           `protobuf:"bytes,10,opt,name=convolution_param" json:"convolution_param,omitempty"`
	DataParam            *DataParameter                  `protobuf:"bytes,11,opt,name=data_param" json:"data_param,omitempty"`
	DropoutParam         *DropoutParameter               `protobuf:"bytes,12,opt,name=dropout_param" json:"dropout_param,omitempty"`
	DummyDataParam       *DummyDataParameter             `protobuf:"bytes,26,opt,name=dummy_data_param" json:"dummy_data_param,omitempty"`
	EltwiseParam         *EltwiseParameter               `protobuf:"bytes,24,opt,name=eltwise_param" json:"eltwise_param,omitempty"`
	ExpParam             *ExpParameter                   `protobuf:"bytes,41,opt,name=exp_param" json:"exp_param,omitempty"`
	Hdf5DataParam        *HDF5DataParameter              `protobuf:"bytes,13,opt,name=hdf5_data_param" json:"hdf5_data_param,omitempty"`
	Hdf5OutputParam      *HDF5OutputParameter            `protobuf:"bytes,14,opt,name=hdf5_output_param" json:"hdf5_output_param,omitempty"`
	HingeLossParam       *HingeLossParameter             `protobuf:"bytes,29,opt,name=hinge_loss_param" json:"hinge_loss_param,omitempty"`
	ImageDataParam       *ImageDataParameter             `protobuf:"bytes,15,opt,name=image_data_param" json:"image_data_param,omitempty"`
	InfogainLossParam    *InfogainLossParameter          `protobuf:"bytes,16,opt,name=infogain_loss_param" json:"infogain_loss_param,omitempty"`
	InnerProductParam    *InnerProductParameter          `protobuf:"bytes,17,opt,name=inner_product_param" json:"inner_product_param,omitempty"`
	LrnParam             *LRNParameter                   `protobuf:"bytes,18,opt,name=lrn_param" json:"lrn_param,omitempty"`
	MemoryDataParam      *MemoryDataParameter            `protobuf:"bytes,22,opt,name=memory_data_param" json:"memory_data_param,omitempty"`
	MvnParam             *MVNParameter                   `protobuf:"bytes,34,opt,name=mvn_param" json:"mvn_param,omitempty"`
	PoolingParam         *PoolingParameter               `protobuf:"bytes,19,opt,name=pooling_param" json:"pooling_param,omitempty"`
	PowerParam           *PowerParameter                 `protobuf:"bytes,21,opt,name=power_param" json:"power_param,omitempty"`
	ReluParam            *ReLUParameter                  `protobuf:"bytes,30,opt,name=relu_param" json:"relu_param,omitempty"`
	SigmoidParam         *SigmoidParameter               `protobuf:"bytes,38,opt,name=sigmoid_param" json:"sigmoid_param,omitempty"`
	SoftmaxParam         *SoftmaxParameter               `protobuf:"bytes,39,opt,name=softmax_param" json:"softmax_param,omitempty"`
	SliceParam           *SliceParameter                 `protobuf:"bytes,31,opt,name=slice_param" json:"slice_param,omitempty"`
	TanhParam            *TanHParameter                  `protobuf:"bytes,37,opt,name=tanh_param" json:"tanh_param,omitempty"`
	ThresholdParam       *ThresholdParameter             `protobuf:"bytes,25,opt,name=threshold_param" json:"threshold_param,omitempty"`
	WindowDataParam      *WindowDataParameter            `protobuf:"bytes,20,opt,name=window_data_param" json:"window_data_param,omitempty"`
	TransformParam       *TransformationParameter        `protobuf:"bytes,36,opt,name=transform_param" json:"transform_param,omitempty"`
	LossParam            *LossParameter                  `protobuf:"bytes,42,opt,name=loss_param" json:"loss_param,omitempty"`
	Layer                *V0LayerParameter               `protobuf:"bytes,1,opt,name=layer" json:"layer,omitempty"`
	XXX_unrecognized     []byte                          `json:"-"`
}

DEPRECATED: use LayerParameter.

func (*V1LayerParameter) Descriptor

func (*V1LayerParameter) Descriptor() ([]byte, []int)

func (*V1LayerParameter) GetAccuracyParam

func (m *V1LayerParameter) GetAccuracyParam() *AccuracyParameter

func (*V1LayerParameter) GetArgmaxParam

func (m *V1LayerParameter) GetArgmaxParam() *ArgMaxParameter

func (*V1LayerParameter) GetBlobShareMode

func (m *V1LayerParameter) GetBlobShareMode() []V1LayerParameter_DimCheckMode

func (*V1LayerParameter) GetBlobs

func (m *V1LayerParameter) GetBlobs() []*BlobProto

func (*V1LayerParameter) GetBlobsLr

func (m *V1LayerParameter) GetBlobsLr() []float32

func (*V1LayerParameter) GetBottom

func (m *V1LayerParameter) GetBottom() []string

func (*V1LayerParameter) GetConcatParam

func (m *V1LayerParameter) GetConcatParam() *ConcatParameter

func (*V1LayerParameter) GetContrastiveLossParam

func (m *V1LayerParameter) GetContrastiveLossParam() *ContrastiveLossParameter

func (*V1LayerParameter) GetConvolutionParam

func (m *V1LayerParameter) GetConvolutionParam() *ConvolutionParameter

func (*V1LayerParameter) GetDataParam

func (m *V1LayerParameter) GetDataParam() *DataParameter

func (*V1LayerParameter) GetDropoutParam

func (m *V1LayerParameter) GetDropoutParam() *DropoutParameter

func (*V1LayerParameter) GetDummyDataParam

func (m *V1LayerParameter) GetDummyDataParam() *DummyDataParameter

func (*V1LayerParameter) GetEltwiseParam

func (m *V1LayerParameter) GetEltwiseParam() *EltwiseParameter

func (*V1LayerParameter) GetExclude

func (m *V1LayerParameter) GetExclude() []*NetStateRule

func (*V1LayerParameter) GetExpParam

func (m *V1LayerParameter) GetExpParam() *ExpParameter

func (*V1LayerParameter) GetHdf5DataParam

func (m *V1LayerParameter) GetHdf5DataParam() *HDF5DataParameter

func (*V1LayerParameter) GetHdf5OutputParam

func (m *V1LayerParameter) GetHdf5OutputParam() *HDF5OutputParameter

func (*V1LayerParameter) GetHingeLossParam

func (m *V1LayerParameter) GetHingeLossParam() *HingeLossParameter

func (*V1LayerParameter) GetImageDataParam

func (m *V1LayerParameter) GetImageDataParam() *ImageDataParameter

func (*V1LayerParameter) GetInclude

func (m *V1LayerParameter) GetInclude() []*NetStateRule

func (*V1LayerParameter) GetInfogainLossParam

func (m *V1LayerParameter) GetInfogainLossParam() *InfogainLossParameter

func (*V1LayerParameter) GetInnerProductParam

func (m *V1LayerParameter) GetInnerProductParam() *InnerProductParameter

func (*V1LayerParameter) GetLayer

func (m *V1LayerParameter) GetLayer() *V0LayerParameter

func (*V1LayerParameter) GetLossParam

func (m *V1LayerParameter) GetLossParam() *LossParameter

func (*V1LayerParameter) GetLossWeight

func (m *V1LayerParameter) GetLossWeight() []float32

func (*V1LayerParameter) GetLrnParam

func (m *V1LayerParameter) GetLrnParam() *LRNParameter

func (*V1LayerParameter) GetMemoryDataParam

func (m *V1LayerParameter) GetMemoryDataParam() *MemoryDataParameter

func (*V1LayerParameter) GetMvnParam

func (m *V1LayerParameter) GetMvnParam() *MVNParameter

func (*V1LayerParameter) GetName

func (m *V1LayerParameter) GetName() string

func (*V1LayerParameter) GetParam

func (m *V1LayerParameter) GetParam() []string

func (*V1LayerParameter) GetPoolingParam

func (m *V1LayerParameter) GetPoolingParam() *PoolingParameter

func (*V1LayerParameter) GetPowerParam

func (m *V1LayerParameter) GetPowerParam() *PowerParameter

func (*V1LayerParameter) GetReluParam

func (m *V1LayerParameter) GetReluParam() *ReLUParameter

func (*V1LayerParameter) GetSigmoidParam

func (m *V1LayerParameter) GetSigmoidParam() *SigmoidParameter

func (*V1LayerParameter) GetSliceParam

func (m *V1LayerParameter) GetSliceParam() *SliceParameter

func (*V1LayerParameter) GetSoftmaxParam

func (m *V1LayerParameter) GetSoftmaxParam() *SoftmaxParameter

func (*V1LayerParameter) GetTanhParam

func (m *V1LayerParameter) GetTanhParam() *TanHParameter

func (*V1LayerParameter) GetThresholdParam

func (m *V1LayerParameter) GetThresholdParam() *ThresholdParameter

func (*V1LayerParameter) GetTop

func (m *V1LayerParameter) GetTop() []string

func (*V1LayerParameter) GetTransformParam

func (m *V1LayerParameter) GetTransformParam() *TransformationParameter

func (*V1LayerParameter) GetType

func (*V1LayerParameter) GetWeightDecay

func (m *V1LayerParameter) GetWeightDecay() []float32

func (*V1LayerParameter) GetWindowDataParam

func (m *V1LayerParameter) GetWindowDataParam() *WindowDataParameter

func (*V1LayerParameter) ProtoMessage

func (*V1LayerParameter) ProtoMessage()

func (*V1LayerParameter) Reset

func (m *V1LayerParameter) Reset()

func (*V1LayerParameter) String

func (m *V1LayerParameter) String() string

type V1LayerParameter_DimCheckMode

type V1LayerParameter_DimCheckMode int32
const (
	V1LayerParameter_STRICT     V1LayerParameter_DimCheckMode = 0
	V1LayerParameter_PERMISSIVE V1LayerParameter_DimCheckMode = 1
)

func (V1LayerParameter_DimCheckMode) Enum

func (V1LayerParameter_DimCheckMode) EnumDescriptor

func (V1LayerParameter_DimCheckMode) EnumDescriptor() ([]byte, []int)

func (V1LayerParameter_DimCheckMode) String

func (*V1LayerParameter_DimCheckMode) UnmarshalJSON

func (x *V1LayerParameter_DimCheckMode) UnmarshalJSON(data []byte) error

type V1LayerParameter_LayerType

type V1LayerParameter_LayerType int32
const (
	V1LayerParameter_NONE                       V1LayerParameter_LayerType = 0
	V1LayerParameter_ABSVAL                     V1LayerParameter_LayerType = 35
	V1LayerParameter_ACCURACY                   V1LayerParameter_LayerType = 1
	V1LayerParameter_ARGMAX                     V1LayerParameter_LayerType = 30
	V1LayerParameter_BNLL                       V1LayerParameter_LayerType = 2
	V1LayerParameter_CONCAT                     V1LayerParameter_LayerType = 3
	V1LayerParameter_CONTRASTIVE_LOSS           V1LayerParameter_LayerType = 37
	V1LayerParameter_CONVOLUTION                V1LayerParameter_LayerType = 4
	V1LayerParameter_DATA                       V1LayerParameter_LayerType = 5
	V1LayerParameter_DECONVOLUTION              V1LayerParameter_LayerType = 39
	V1LayerParameter_DROPOUT                    V1LayerParameter_LayerType = 6
	V1LayerParameter_DUMMY_DATA                 V1LayerParameter_LayerType = 32
	V1LayerParameter_EUCLIDEAN_LOSS             V1LayerParameter_LayerType = 7
	V1LayerParameter_ELTWISE                    V1LayerParameter_LayerType = 25
	V1LayerParameter_EXP                        V1LayerParameter_LayerType = 38
	V1LayerParameter_FLATTEN                    V1LayerParameter_LayerType = 8
	V1LayerParameter_HDF5_DATA                  V1LayerParameter_LayerType = 9
	V1LayerParameter_HDF5_OUTPUT                V1LayerParameter_LayerType = 10
	V1LayerParameter_HINGE_LOSS                 V1LayerParameter_LayerType = 28
	V1LayerParameter_IM2COL                     V1LayerParameter_LayerType = 11
	V1LayerParameter_IMAGE_DATA                 V1LayerParameter_LayerType = 12
	V1LayerParameter_INFOGAIN_LOSS              V1LayerParameter_LayerType = 13
	V1LayerParameter_INNER_PRODUCT              V1LayerParameter_LayerType = 14
	V1LayerParameter_LRN                        V1LayerParameter_LayerType = 15
	V1LayerParameter_MEMORY_DATA                V1LayerParameter_LayerType = 29
	V1LayerParameter_MULTINOMIAL_LOGISTIC_LOSS  V1LayerParameter_LayerType = 16
	V1LayerParameter_MVN                        V1LayerParameter_LayerType = 34
	V1LayerParameter_POOLING                    V1LayerParameter_LayerType = 17
	V1LayerParameter_POWER                      V1LayerParameter_LayerType = 26
	V1LayerParameter_RELU                       V1LayerParameter_LayerType = 18
	V1LayerParameter_SIGMOID                    V1LayerParameter_LayerType = 19
	V1LayerParameter_SIGMOID_CROSS_ENTROPY_LOSS V1LayerParameter_LayerType = 27
	V1LayerParameter_SILENCE                    V1LayerParameter_LayerType = 36
	V1LayerParameter_SOFTMAX                    V1LayerParameter_LayerType = 20
	V1LayerParameter_SOFTMAX_LOSS               V1LayerParameter_LayerType = 21
	V1LayerParameter_SPLIT                      V1LayerParameter_LayerType = 22
	V1LayerParameter_SLICE                      V1LayerParameter_LayerType = 33
	V1LayerParameter_TANH                       V1LayerParameter_LayerType = 23
	V1LayerParameter_WINDOW_DATA                V1LayerParameter_LayerType = 24
	V1LayerParameter_THRESHOLD                  V1LayerParameter_LayerType = 31
)

func (V1LayerParameter_LayerType) Enum

func (V1LayerParameter_LayerType) EnumDescriptor

func (V1LayerParameter_LayerType) EnumDescriptor() ([]byte, []int)

func (V1LayerParameter_LayerType) String

func (*V1LayerParameter_LayerType) UnmarshalJSON

func (x *V1LayerParameter_LayerType) UnmarshalJSON(data []byte) error

type WindowDataParameter

type WindowDataParameter struct {
	// Specify the data source.
	Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
	// For data pre-processing, we can do simple scaling and subtracting the
	// data mean, if provided. Note that the mean subtraction is always carried
	// out before scaling.
	Scale    *float32 `protobuf:"fixed32,2,opt,name=scale,def=1" json:"scale,omitempty"`
	MeanFile *string  `protobuf:"bytes,3,opt,name=mean_file" json:"mean_file,omitempty"`
	// Specify the batch size.
	BatchSize *uint32 `protobuf:"varint,4,opt,name=batch_size" json:"batch_size,omitempty"`
	// Specify if we would like to randomly crop an image.
	CropSize *uint32 `protobuf:"varint,5,opt,name=crop_size,def=0" json:"crop_size,omitempty"`
	// Specify if we want to randomly mirror data.
	Mirror *bool `protobuf:"varint,6,opt,name=mirror,def=0" json:"mirror,omitempty"`
	// Foreground (object) overlap threshold
	FgThreshold *float32 `protobuf:"fixed32,7,opt,name=fg_threshold,def=0.5" json:"fg_threshold,omitempty"`
	// Background (non-object) overlap threshold
	BgThreshold *float32 `protobuf:"fixed32,8,opt,name=bg_threshold,def=0.5" json:"bg_threshold,omitempty"`
	// Fraction of batch that should be foreground objects
	FgFraction *float32 `protobuf:"fixed32,9,opt,name=fg_fraction,def=0.25" json:"fg_fraction,omitempty"`
	// Amount of contextual padding to add around a window
	// (used only by the window_data_layer)
	ContextPad *uint32 `protobuf:"varint,10,opt,name=context_pad,def=0" json:"context_pad,omitempty"`
	// Mode for cropping out a detection window
	// warp: cropped window is warped to a fixed size and aspect ratio
	// square: the tightest square around the window is cropped
	CropMode *string `protobuf:"bytes,11,opt,name=crop_mode,def=warp" json:"crop_mode,omitempty"`
	// cache_images: will load all images in memory for faster access
	CacheImages *bool `protobuf:"varint,12,opt,name=cache_images,def=0" json:"cache_images,omitempty"`
	// append root_folder to locate images
	RootFolder       *string `protobuf:"bytes,13,opt,name=root_folder,def=" json:"root_folder,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Message that stores parameters used by WindowDataLayer

func (*WindowDataParameter) Descriptor

func (*WindowDataParameter) Descriptor() ([]byte, []int)

func (*WindowDataParameter) GetBatchSize

func (m *WindowDataParameter) GetBatchSize() uint32

func (*WindowDataParameter) GetBgThreshold

func (m *WindowDataParameter) GetBgThreshold() float32

func (*WindowDataParameter) GetCacheImages

func (m *WindowDataParameter) GetCacheImages() bool

func (*WindowDataParameter) GetContextPad

func (m *WindowDataParameter) GetContextPad() uint32

func (*WindowDataParameter) GetCropMode

func (m *WindowDataParameter) GetCropMode() string

func (*WindowDataParameter) GetCropSize

func (m *WindowDataParameter) GetCropSize() uint32

func (*WindowDataParameter) GetFgFraction

func (m *WindowDataParameter) GetFgFraction() float32

func (*WindowDataParameter) GetFgThreshold

func (m *WindowDataParameter) GetFgThreshold() float32

func (*WindowDataParameter) GetMeanFile

func (m *WindowDataParameter) GetMeanFile() string

func (*WindowDataParameter) GetMirror

func (m *WindowDataParameter) GetMirror() bool

func (*WindowDataParameter) GetRootFolder

func (m *WindowDataParameter) GetRootFolder() string

func (*WindowDataParameter) GetScale

func (m *WindowDataParameter) GetScale() float32

func (*WindowDataParameter) GetSource

func (m *WindowDataParameter) GetSource() string

func (*WindowDataParameter) ProtoMessage

func (*WindowDataParameter) ProtoMessage()

func (*WindowDataParameter) Reset

func (m *WindowDataParameter) Reset()

func (*WindowDataParameter) String

func (m *WindowDataParameter) String() string

Jump to

Keyboard shortcuts

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