Documentation
¶
Overview ¶
Package proto 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 BatchNormParameter BiasParameter ContrastiveLossParameter ConvolutionParameter CropParameter DataParameter DropoutParameter DummyDataParameter EltwiseParameter ELUParameter EmbedParameter ExpParameter FlattenParameter HDF5DataParameter HDF5OutputParameter HingeLossParameter ImageDataParameter InfogainLossParameter InnerProductParameter InputParameter LogParameter LRNParameter MemoryDataParameter MVNParameter ParameterParameter PoolingParameter PowerParameter PythonParameter RecurrentParameter ReductionParameter ReLUParameter ReshapeParameter ScaleParameter SigmoidParameter SliceParameter SoftmaxParameter TanHParameter TileParameter ThresholdParameter WindowDataParameter SPPParameter V1LayerParameter V0LayerParameter PReLUParameter
Index ¶
- Constants
- Variables
- type AccuracyParameter
- func (*AccuracyParameter) Descriptor() ([]byte, []int)
- func (m *AccuracyParameter) GetAxis() int32
- func (m *AccuracyParameter) GetIgnoreLabel() int32
- func (m *AccuracyParameter) GetTopK() uint32
- func (m *AccuracyParameter) Marshal() (dAtA []byte, err error)
- func (m *AccuracyParameter) MarshalTo(dAtA []byte) (int, error)
- func (*AccuracyParameter) ProtoMessage()
- func (m *AccuracyParameter) Reset()
- func (m *AccuracyParameter) Size() (n int)
- func (m *AccuracyParameter) String() string
- func (m *AccuracyParameter) Unmarshal(dAtA []byte) error
- type ArgMaxParameter
- func (*ArgMaxParameter) Descriptor() ([]byte, []int)
- func (m *ArgMaxParameter) GetAxis() int32
- func (m *ArgMaxParameter) GetOutMaxVal() bool
- func (m *ArgMaxParameter) GetTopK() uint32
- func (m *ArgMaxParameter) Marshal() (dAtA []byte, err error)
- func (m *ArgMaxParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ArgMaxParameter) ProtoMessage()
- func (m *ArgMaxParameter) Reset()
- func (m *ArgMaxParameter) Size() (n int)
- func (m *ArgMaxParameter) String() string
- func (m *ArgMaxParameter) Unmarshal(dAtA []byte) error
- type BatchNormParameter
- func (*BatchNormParameter) Descriptor() ([]byte, []int)
- func (m *BatchNormParameter) GetEps() float32
- func (m *BatchNormParameter) GetMovingAverageFraction() float32
- func (m *BatchNormParameter) GetUseGlobalStats() bool
- func (m *BatchNormParameter) Marshal() (dAtA []byte, err error)
- func (m *BatchNormParameter) MarshalTo(dAtA []byte) (int, error)
- func (*BatchNormParameter) ProtoMessage()
- func (m *BatchNormParameter) Reset()
- func (m *BatchNormParameter) Size() (n int)
- func (m *BatchNormParameter) String() string
- func (m *BatchNormParameter) Unmarshal(dAtA []byte) error
- type BiasParameter
- func (*BiasParameter) Descriptor() ([]byte, []int)
- func (m *BiasParameter) GetAxis() int32
- func (m *BiasParameter) GetFiller() *FillerParameter
- func (m *BiasParameter) GetNumAxes() int32
- func (m *BiasParameter) Marshal() (dAtA []byte, err error)
- func (m *BiasParameter) MarshalTo(dAtA []byte) (int, error)
- func (*BiasParameter) ProtoMessage()
- func (m *BiasParameter) Reset()
- func (m *BiasParameter) Size() (n int)
- func (m *BiasParameter) String() string
- func (m *BiasParameter) Unmarshal(dAtA []byte) error
- type BlobProto
- func (*BlobProto) Descriptor() ([]byte, []int)
- func (m *BlobProto) GetChannels() int32
- func (m *BlobProto) GetData() []float32
- func (m *BlobProto) GetDiff() []float32
- func (m *BlobProto) GetDoubleData() []float64
- func (m *BlobProto) GetDoubleDiff() []float64
- func (m *BlobProto) GetHeight() int32
- func (m *BlobProto) GetNum() int32
- func (m *BlobProto) GetShape() *BlobShape
- func (m *BlobProto) GetWidth() int32
- func (m *BlobProto) Marshal() (dAtA []byte, err error)
- func (m *BlobProto) MarshalTo(dAtA []byte) (int, error)
- func (*BlobProto) ProtoMessage()
- func (m *BlobProto) Reset()
- func (m *BlobProto) Size() (n int)
- func (m *BlobProto) String() string
- func (m *BlobProto) Unmarshal(dAtA []byte) error
- type BlobProtoVector
- func (*BlobProtoVector) Descriptor() ([]byte, []int)
- func (m *BlobProtoVector) GetBlobs() []*BlobProto
- func (m *BlobProtoVector) Marshal() (dAtA []byte, err error)
- func (m *BlobProtoVector) MarshalTo(dAtA []byte) (int, error)
- func (*BlobProtoVector) ProtoMessage()
- func (m *BlobProtoVector) Reset()
- func (m *BlobProtoVector) Size() (n int)
- func (m *BlobProtoVector) String() string
- func (m *BlobProtoVector) Unmarshal(dAtA []byte) error
- type BlobShape
- func (*BlobShape) Descriptor() ([]byte, []int)
- func (m *BlobShape) GetDim() []int64
- func (m *BlobShape) Marshal() (dAtA []byte, err error)
- func (m *BlobShape) MarshalTo(dAtA []byte) (int, error)
- func (*BlobShape) ProtoMessage()
- func (m *BlobShape) Reset()
- func (m *BlobShape) Size() (n int)
- func (m *BlobShape) String() string
- func (m *BlobShape) Unmarshal(dAtA []byte) error
- type ConcatParameter
- func (*ConcatParameter) Descriptor() ([]byte, []int)
- func (m *ConcatParameter) GetAxis() int32
- func (m *ConcatParameter) GetConcatDim() uint32
- func (m *ConcatParameter) Marshal() (dAtA []byte, err error)
- func (m *ConcatParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ConcatParameter) ProtoMessage()
- func (m *ConcatParameter) Reset()
- func (m *ConcatParameter) Size() (n int)
- func (m *ConcatParameter) String() string
- func (m *ConcatParameter) Unmarshal(dAtA []byte) error
- type ContrastiveLossParameter
- func (*ContrastiveLossParameter) Descriptor() ([]byte, []int)
- func (m *ContrastiveLossParameter) GetLegacyVersion() bool
- func (m *ContrastiveLossParameter) GetMargin() float32
- func (m *ContrastiveLossParameter) Marshal() (dAtA []byte, err error)
- func (m *ContrastiveLossParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ContrastiveLossParameter) ProtoMessage()
- func (m *ContrastiveLossParameter) Reset()
- func (m *ContrastiveLossParameter) Size() (n int)
- func (m *ContrastiveLossParameter) String() string
- func (m *ContrastiveLossParameter) Unmarshal(dAtA []byte) error
- type ConvolutionParameter
- func (*ConvolutionParameter) Descriptor() ([]byte, []int)
- func (m *ConvolutionParameter) GetAxis() int32
- func (m *ConvolutionParameter) GetBiasFiller() *FillerParameter
- func (m *ConvolutionParameter) GetBiasTerm() bool
- func (m *ConvolutionParameter) GetDilation() []uint32
- func (m *ConvolutionParameter) GetEngine() ConvolutionParameter_Engine
- func (m *ConvolutionParameter) GetForceNdIm2Col() bool
- func (m *ConvolutionParameter) GetGroup() uint32
- func (m *ConvolutionParameter) GetKernelH() uint32
- func (m *ConvolutionParameter) GetKernelSize() []uint32
- func (m *ConvolutionParameter) GetKernelW() uint32
- func (m *ConvolutionParameter) GetNumOutput() uint32
- func (m *ConvolutionParameter) GetPad() []uint32
- func (m *ConvolutionParameter) GetPadH() uint32
- func (m *ConvolutionParameter) GetPadW() uint32
- func (m *ConvolutionParameter) GetStride() []uint32
- func (m *ConvolutionParameter) GetStrideH() uint32
- func (m *ConvolutionParameter) GetStrideW() uint32
- func (m *ConvolutionParameter) GetWeightFiller() *FillerParameter
- func (m *ConvolutionParameter) Marshal() (dAtA []byte, err error)
- func (m *ConvolutionParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ConvolutionParameter) ProtoMessage()
- func (m *ConvolutionParameter) Reset()
- func (m *ConvolutionParameter) Size() (n int)
- func (m *ConvolutionParameter) String() string
- func (m *ConvolutionParameter) Unmarshal(dAtA []byte) error
- type ConvolutionParameter_Engine
- type CropParameter
- func (*CropParameter) Descriptor() ([]byte, []int)
- func (m *CropParameter) GetAxis() int32
- func (m *CropParameter) GetOffset() []uint32
- func (m *CropParameter) Marshal() (dAtA []byte, err error)
- func (m *CropParameter) MarshalTo(dAtA []byte) (int, error)
- func (*CropParameter) ProtoMessage()
- func (m *CropParameter) Reset()
- func (m *CropParameter) Size() (n int)
- func (m *CropParameter) String() string
- func (m *CropParameter) Unmarshal(dAtA []byte) error
- type DataParameter
- func (*DataParameter) Descriptor() ([]byte, []int)
- func (m *DataParameter) GetBackend() DataParameter_DB
- func (m *DataParameter) GetBatchSize() uint32
- func (m *DataParameter) GetCropSize() uint32
- func (m *DataParameter) GetForceEncodedColor() bool
- func (m *DataParameter) GetMeanFile() string
- func (m *DataParameter) GetMirror() bool
- func (m *DataParameter) GetPrefetch() uint32
- func (m *DataParameter) GetRandSkip() uint32
- func (m *DataParameter) GetScale() float32
- func (m *DataParameter) GetSource() string
- func (m *DataParameter) Marshal() (dAtA []byte, err error)
- func (m *DataParameter) MarshalTo(dAtA []byte) (int, error)
- func (*DataParameter) ProtoMessage()
- func (m *DataParameter) Reset()
- func (m *DataParameter) Size() (n int)
- func (m *DataParameter) String() string
- func (m *DataParameter) Unmarshal(dAtA []byte) error
- type DataParameter_DB
- type Datum
- func (*Datum) Descriptor() ([]byte, []int)
- func (m *Datum) GetChannels() int32
- func (m *Datum) GetData() []byte
- func (m *Datum) GetEncoded() bool
- func (m *Datum) GetFloatData() []float32
- func (m *Datum) GetHeight() int32
- func (m *Datum) GetLabel() int32
- func (m *Datum) GetWidth() int32
- func (m *Datum) Marshal() (dAtA []byte, err error)
- func (m *Datum) MarshalTo(dAtA []byte) (int, error)
- func (*Datum) ProtoMessage()
- func (m *Datum) Reset()
- func (m *Datum) Size() (n int)
- func (m *Datum) String() string
- func (m *Datum) Unmarshal(dAtA []byte) error
- type DropoutParameter
- func (*DropoutParameter) Descriptor() ([]byte, []int)
- func (m *DropoutParameter) GetDropoutRatio() float32
- func (m *DropoutParameter) Marshal() (dAtA []byte, err error)
- func (m *DropoutParameter) MarshalTo(dAtA []byte) (int, error)
- func (*DropoutParameter) ProtoMessage()
- func (m *DropoutParameter) Reset()
- func (m *DropoutParameter) Size() (n int)
- func (m *DropoutParameter) String() string
- func (m *DropoutParameter) Unmarshal(dAtA []byte) error
- type DummyDataParameter
- func (*DummyDataParameter) Descriptor() ([]byte, []int)
- func (m *DummyDataParameter) GetChannels() []uint32
- func (m *DummyDataParameter) GetDataFiller() []*FillerParameter
- func (m *DummyDataParameter) GetHeight() []uint32
- func (m *DummyDataParameter) GetNum() []uint32
- func (m *DummyDataParameter) GetShape() []*BlobShape
- func (m *DummyDataParameter) GetWidth() []uint32
- func (m *DummyDataParameter) Marshal() (dAtA []byte, err error)
- func (m *DummyDataParameter) MarshalTo(dAtA []byte) (int, error)
- func (*DummyDataParameter) ProtoMessage()
- func (m *DummyDataParameter) Reset()
- func (m *DummyDataParameter) Size() (n int)
- func (m *DummyDataParameter) String() string
- func (m *DummyDataParameter) Unmarshal(dAtA []byte) error
- type ELUParameter
- func (*ELUParameter) Descriptor() ([]byte, []int)
- func (m *ELUParameter) GetAlpha() float32
- func (m *ELUParameter) Marshal() (dAtA []byte, err error)
- func (m *ELUParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ELUParameter) ProtoMessage()
- func (m *ELUParameter) Reset()
- func (m *ELUParameter) Size() (n int)
- func (m *ELUParameter) String() string
- func (m *ELUParameter) Unmarshal(dAtA []byte) error
- type EltwiseParameter
- func (*EltwiseParameter) Descriptor() ([]byte, []int)
- func (m *EltwiseParameter) GetCoeff() []float32
- func (m *EltwiseParameter) GetOperation() EltwiseParameter_EltwiseOp
- func (m *EltwiseParameter) GetStableProdGrad() bool
- func (m *EltwiseParameter) Marshal() (dAtA []byte, err error)
- func (m *EltwiseParameter) MarshalTo(dAtA []byte) (int, error)
- func (*EltwiseParameter) ProtoMessage()
- func (m *EltwiseParameter) Reset()
- func (m *EltwiseParameter) Size() (n int)
- func (m *EltwiseParameter) String() string
- func (m *EltwiseParameter) Unmarshal(dAtA []byte) error
- type EltwiseParameter_EltwiseOp
- type EmbedParameter
- func (*EmbedParameter) Descriptor() ([]byte, []int)
- func (m *EmbedParameter) GetBiasFiller() *FillerParameter
- func (m *EmbedParameter) GetBiasTerm() bool
- func (m *EmbedParameter) GetInputDim() uint32
- func (m *EmbedParameter) GetNumOutput() uint32
- func (m *EmbedParameter) GetWeightFiller() *FillerParameter
- func (m *EmbedParameter) Marshal() (dAtA []byte, err error)
- func (m *EmbedParameter) MarshalTo(dAtA []byte) (int, error)
- func (*EmbedParameter) ProtoMessage()
- func (m *EmbedParameter) Reset()
- func (m *EmbedParameter) Size() (n int)
- func (m *EmbedParameter) String() string
- func (m *EmbedParameter) Unmarshal(dAtA []byte) error
- type ExpParameter
- func (*ExpParameter) Descriptor() ([]byte, []int)
- func (m *ExpParameter) GetBase() float32
- func (m *ExpParameter) GetScale() float32
- func (m *ExpParameter) GetShift() float32
- func (m *ExpParameter) Marshal() (dAtA []byte, err error)
- func (m *ExpParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ExpParameter) ProtoMessage()
- func (m *ExpParameter) Reset()
- func (m *ExpParameter) Size() (n int)
- func (m *ExpParameter) String() string
- func (m *ExpParameter) Unmarshal(dAtA []byte) error
- type FillerParameter
- func (*FillerParameter) Descriptor() ([]byte, []int)
- func (m *FillerParameter) GetMax() float32
- func (m *FillerParameter) GetMean() float32
- func (m *FillerParameter) GetMin() float32
- func (m *FillerParameter) GetSparse() int32
- func (m *FillerParameter) GetStd() float32
- func (m *FillerParameter) GetType() string
- func (m *FillerParameter) GetValue() float32
- func (m *FillerParameter) GetVarianceNorm() FillerParameter_VarianceNorm
- func (m *FillerParameter) Marshal() (dAtA []byte, err error)
- func (m *FillerParameter) MarshalTo(dAtA []byte) (int, error)
- func (*FillerParameter) ProtoMessage()
- func (m *FillerParameter) Reset()
- func (m *FillerParameter) Size() (n int)
- func (m *FillerParameter) String() string
- func (m *FillerParameter) Unmarshal(dAtA []byte) error
- type FillerParameter_VarianceNorm
- type FlattenParameter
- func (*FlattenParameter) Descriptor() ([]byte, []int)
- func (m *FlattenParameter) GetAxis() int32
- func (m *FlattenParameter) GetEndAxis() int32
- func (m *FlattenParameter) Marshal() (dAtA []byte, err error)
- func (m *FlattenParameter) MarshalTo(dAtA []byte) (int, error)
- func (*FlattenParameter) ProtoMessage()
- func (m *FlattenParameter) Reset()
- func (m *FlattenParameter) Size() (n int)
- func (m *FlattenParameter) String() string
- func (m *FlattenParameter) Unmarshal(dAtA []byte) error
- type HDF5DataParameter
- func (*HDF5DataParameter) Descriptor() ([]byte, []int)
- func (m *HDF5DataParameter) GetBatchSize() uint32
- func (m *HDF5DataParameter) GetShuffle() bool
- func (m *HDF5DataParameter) GetSource() string
- func (m *HDF5DataParameter) Marshal() (dAtA []byte, err error)
- func (m *HDF5DataParameter) MarshalTo(dAtA []byte) (int, error)
- func (*HDF5DataParameter) ProtoMessage()
- func (m *HDF5DataParameter) Reset()
- func (m *HDF5DataParameter) Size() (n int)
- func (m *HDF5DataParameter) String() string
- func (m *HDF5DataParameter) Unmarshal(dAtA []byte) error
- type HDF5OutputParameter
- func (*HDF5OutputParameter) Descriptor() ([]byte, []int)
- func (m *HDF5OutputParameter) GetFileName() string
- func (m *HDF5OutputParameter) Marshal() (dAtA []byte, err error)
- func (m *HDF5OutputParameter) MarshalTo(dAtA []byte) (int, error)
- func (*HDF5OutputParameter) ProtoMessage()
- func (m *HDF5OutputParameter) Reset()
- func (m *HDF5OutputParameter) Size() (n int)
- func (m *HDF5OutputParameter) String() string
- func (m *HDF5OutputParameter) Unmarshal(dAtA []byte) error
- type HingeLossParameter
- func (*HingeLossParameter) Descriptor() ([]byte, []int)
- func (m *HingeLossParameter) GetNorm() HingeLossParameter_Norm
- func (m *HingeLossParameter) Marshal() (dAtA []byte, err error)
- func (m *HingeLossParameter) MarshalTo(dAtA []byte) (int, error)
- func (*HingeLossParameter) ProtoMessage()
- func (m *HingeLossParameter) Reset()
- func (m *HingeLossParameter) Size() (n int)
- func (m *HingeLossParameter) String() string
- func (m *HingeLossParameter) Unmarshal(dAtA []byte) error
- type HingeLossParameter_Norm
- type ImageDataParameter
- func (*ImageDataParameter) Descriptor() ([]byte, []int)
- func (m *ImageDataParameter) GetBatchSize() uint32
- func (m *ImageDataParameter) GetCropSize() uint32
- func (m *ImageDataParameter) GetIsColor() bool
- func (m *ImageDataParameter) GetMeanFile() string
- func (m *ImageDataParameter) GetMirror() bool
- func (m *ImageDataParameter) GetNewHeight() uint32
- func (m *ImageDataParameter) GetNewWidth() uint32
- func (m *ImageDataParameter) GetRandSkip() uint32
- func (m *ImageDataParameter) GetRootFolder() string
- func (m *ImageDataParameter) GetScale() float32
- func (m *ImageDataParameter) GetShuffle() bool
- func (m *ImageDataParameter) GetSource() string
- func (m *ImageDataParameter) Marshal() (dAtA []byte, err error)
- func (m *ImageDataParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ImageDataParameter) ProtoMessage()
- func (m *ImageDataParameter) Reset()
- func (m *ImageDataParameter) Size() (n int)
- func (m *ImageDataParameter) String() string
- func (m *ImageDataParameter) Unmarshal(dAtA []byte) error
- type InfogainLossParameter
- func (*InfogainLossParameter) Descriptor() ([]byte, []int)
- func (m *InfogainLossParameter) GetSource() string
- func (m *InfogainLossParameter) Marshal() (dAtA []byte, err error)
- func (m *InfogainLossParameter) MarshalTo(dAtA []byte) (int, error)
- func (*InfogainLossParameter) ProtoMessage()
- func (m *InfogainLossParameter) Reset()
- func (m *InfogainLossParameter) Size() (n int)
- func (m *InfogainLossParameter) String() string
- func (m *InfogainLossParameter) Unmarshal(dAtA []byte) error
- type InnerProductParameter
- func (*InnerProductParameter) Descriptor() ([]byte, []int)
- func (m *InnerProductParameter) GetAxis() int32
- func (m *InnerProductParameter) GetBiasFiller() *FillerParameter
- func (m *InnerProductParameter) GetBiasTerm() bool
- func (m *InnerProductParameter) GetNumOutput() uint32
- func (m *InnerProductParameter) GetTranspose() bool
- func (m *InnerProductParameter) GetWeightFiller() *FillerParameter
- func (m *InnerProductParameter) Marshal() (dAtA []byte, err error)
- func (m *InnerProductParameter) MarshalTo(dAtA []byte) (int, error)
- func (*InnerProductParameter) ProtoMessage()
- func (m *InnerProductParameter) Reset()
- func (m *InnerProductParameter) Size() (n int)
- func (m *InnerProductParameter) String() string
- func (m *InnerProductParameter) Unmarshal(dAtA []byte) error
- type InputParameter
- func (*InputParameter) Descriptor() ([]byte, []int)
- func (m *InputParameter) GetShape() []*BlobShape
- func (m *InputParameter) Marshal() (dAtA []byte, err error)
- func (m *InputParameter) MarshalTo(dAtA []byte) (int, error)
- func (*InputParameter) ProtoMessage()
- func (m *InputParameter) Reset()
- func (m *InputParameter) Size() (n int)
- func (m *InputParameter) String() string
- func (m *InputParameter) Unmarshal(dAtA []byte) error
- type LRNParameter
- func (*LRNParameter) Descriptor() ([]byte, []int)
- func (m *LRNParameter) GetAlpha() float32
- func (m *LRNParameter) GetBeta() float32
- func (m *LRNParameter) GetEngine() LRNParameter_Engine
- func (m *LRNParameter) GetK() float32
- func (m *LRNParameter) GetLocalSize() uint32
- func (m *LRNParameter) GetNormRegion() LRNParameter_NormRegion
- func (m *LRNParameter) Marshal() (dAtA []byte, err error)
- func (m *LRNParameter) MarshalTo(dAtA []byte) (int, error)
- func (*LRNParameter) ProtoMessage()
- func (m *LRNParameter) Reset()
- func (m *LRNParameter) Size() (n int)
- func (m *LRNParameter) String() string
- func (m *LRNParameter) Unmarshal(dAtA []byte) error
- type LRNParameter_Engine
- type LRNParameter_NormRegion
- type LayerParameter
- func (*LayerParameter) Descriptor() ([]byte, []int)
- func (m *LayerParameter) GetAccuracyParam() *AccuracyParameter
- func (m *LayerParameter) GetArgmaxParam() *ArgMaxParameter
- func (m *LayerParameter) GetBatchNormParam() *BatchNormParameter
- func (m *LayerParameter) GetBiasParam() *BiasParameter
- func (m *LayerParameter) GetBlobs() []*BlobProto
- func (m *LayerParameter) GetBottom() []string
- func (m *LayerParameter) GetConcatParam() *ConcatParameter
- func (m *LayerParameter) GetContrastiveLossParam() *ContrastiveLossParameter
- func (m *LayerParameter) GetConvolutionParam() *ConvolutionParameter
- func (m *LayerParameter) GetCropParam() *CropParameter
- func (m *LayerParameter) GetDataParam() *DataParameter
- func (m *LayerParameter) GetDropoutParam() *DropoutParameter
- func (m *LayerParameter) GetDummyDataParam() *DummyDataParameter
- func (m *LayerParameter) GetEltwiseParam() *EltwiseParameter
- func (m *LayerParameter) GetEluParam() *ELUParameter
- func (m *LayerParameter) GetEmbedParam() *EmbedParameter
- func (m *LayerParameter) GetExclude() []*NetStateRule
- func (m *LayerParameter) GetExpParam() *ExpParameter
- func (m *LayerParameter) GetFlattenParam() *FlattenParameter
- func (m *LayerParameter) GetHdf5DataParam() *HDF5DataParameter
- func (m *LayerParameter) GetHdf5OutputParam() *HDF5OutputParameter
- func (m *LayerParameter) GetHingeLossParam() *HingeLossParameter
- func (m *LayerParameter) GetImageDataParam() *ImageDataParameter
- func (m *LayerParameter) GetInclude() []*NetStateRule
- func (m *LayerParameter) GetInfogainLossParam() *InfogainLossParameter
- func (m *LayerParameter) GetInnerProductParam() *InnerProductParameter
- func (m *LayerParameter) GetInputParam() *InputParameter
- func (m *LayerParameter) GetLogParam() *LogParameter
- func (m *LayerParameter) GetLossParam() *LossParameter
- func (m *LayerParameter) GetLossWeight() []float32
- func (m *LayerParameter) GetLrnParam() *LRNParameter
- func (m *LayerParameter) GetMemoryDataParam() *MemoryDataParameter
- func (m *LayerParameter) GetMvnParam() *MVNParameter
- func (m *LayerParameter) GetName() string
- func (m *LayerParameter) GetParam() []*ParamSpec
- func (m *LayerParameter) GetParameterParam() *ParameterParameter
- func (m *LayerParameter) GetPhase() Phase
- func (m *LayerParameter) GetPoolingParam() *PoolingParameter
- func (m *LayerParameter) GetPowerParam() *PowerParameter
- func (m *LayerParameter) GetPreluParam() *PReLUParameter
- func (m *LayerParameter) GetPropagateDown() []bool
- func (m *LayerParameter) GetPythonParam() *PythonParameter
- func (m *LayerParameter) GetRecurrentParam() *RecurrentParameter
- func (m *LayerParameter) GetReductionParam() *ReductionParameter
- func (m *LayerParameter) GetReluParam() *ReLUParameter
- func (m *LayerParameter) GetReshapeParam() *ReshapeParameter
- func (m *LayerParameter) GetScaleParam() *ScaleParameter
- func (m *LayerParameter) GetSigmoidParam() *SigmoidParameter
- func (m *LayerParameter) GetSliceParam() *SliceParameter
- func (m *LayerParameter) GetSoftmaxParam() *SoftmaxParameter
- func (m *LayerParameter) GetSppParam() *SPPParameter
- func (m *LayerParameter) GetTanhParam() *TanHParameter
- func (m *LayerParameter) GetThresholdParam() *ThresholdParameter
- func (m *LayerParameter) GetTileParam() *TileParameter
- func (m *LayerParameter) GetTop() []string
- func (m *LayerParameter) GetTransformParam() *TransformationParameter
- func (m *LayerParameter) GetType() string
- func (m *LayerParameter) GetWindowDataParam() *WindowDataParameter
- func (m *LayerParameter) Marshal() (dAtA []byte, err error)
- func (m *LayerParameter) MarshalTo(dAtA []byte) (int, error)
- func (*LayerParameter) ProtoMessage()
- func (m *LayerParameter) Reset()
- func (m *LayerParameter) Size() (n int)
- func (m *LayerParameter) String() string
- func (m *LayerParameter) Unmarshal(dAtA []byte) error
- type LogParameter
- func (*LogParameter) Descriptor() ([]byte, []int)
- func (m *LogParameter) GetBase() float32
- func (m *LogParameter) GetScale() float32
- func (m *LogParameter) GetShift() float32
- func (m *LogParameter) Marshal() (dAtA []byte, err error)
- func (m *LogParameter) MarshalTo(dAtA []byte) (int, error)
- func (*LogParameter) ProtoMessage()
- func (m *LogParameter) Reset()
- func (m *LogParameter) Size() (n int)
- func (m *LogParameter) String() string
- func (m *LogParameter) Unmarshal(dAtA []byte) error
- type LossParameter
- func (*LossParameter) Descriptor() ([]byte, []int)
- func (m *LossParameter) GetIgnoreLabel() int32
- func (m *LossParameter) GetNormalization() LossParameter_NormalizationMode
- func (m *LossParameter) GetNormalize() bool
- func (m *LossParameter) Marshal() (dAtA []byte, err error)
- func (m *LossParameter) MarshalTo(dAtA []byte) (int, error)
- func (*LossParameter) ProtoMessage()
- func (m *LossParameter) Reset()
- func (m *LossParameter) Size() (n int)
- func (m *LossParameter) String() string
- func (m *LossParameter) Unmarshal(dAtA []byte) error
- type LossParameter_NormalizationMode
- type MVNParameter
- func (*MVNParameter) Descriptor() ([]byte, []int)
- func (m *MVNParameter) GetAcrossChannels() bool
- func (m *MVNParameter) GetEps() float32
- func (m *MVNParameter) GetNormalizeVariance() bool
- func (m *MVNParameter) Marshal() (dAtA []byte, err error)
- func (m *MVNParameter) MarshalTo(dAtA []byte) (int, error)
- func (*MVNParameter) ProtoMessage()
- func (m *MVNParameter) Reset()
- func (m *MVNParameter) Size() (n int)
- func (m *MVNParameter) String() string
- func (m *MVNParameter) Unmarshal(dAtA []byte) error
- type MemoryDataParameter
- func (*MemoryDataParameter) Descriptor() ([]byte, []int)
- func (m *MemoryDataParameter) GetBatchSize() uint32
- func (m *MemoryDataParameter) GetChannels() uint32
- func (m *MemoryDataParameter) GetHeight() uint32
- func (m *MemoryDataParameter) GetWidth() uint32
- func (m *MemoryDataParameter) Marshal() (dAtA []byte, err error)
- func (m *MemoryDataParameter) MarshalTo(dAtA []byte) (int, error)
- func (*MemoryDataParameter) ProtoMessage()
- func (m *MemoryDataParameter) Reset()
- func (m *MemoryDataParameter) Size() (n int)
- func (m *MemoryDataParameter) String() string
- func (m *MemoryDataParameter) Unmarshal(dAtA []byte) error
- type NetParameter
- func (*NetParameter) Descriptor() ([]byte, []int)
- func (m *NetParameter) GetDebugInfo() bool
- func (m *NetParameter) GetForceBackward() bool
- func (m *NetParameter) GetInput() []string
- func (m *NetParameter) GetInputDim() []int32
- func (m *NetParameter) GetInputShape() []*BlobShape
- func (m *NetParameter) GetLayer() []*LayerParameter
- func (m *NetParameter) GetLayers() []*V1LayerParameter
- func (m *NetParameter) GetName() string
- func (m *NetParameter) GetState() *NetState
- func (m *NetParameter) Marshal() (dAtA []byte, err error)
- func (m *NetParameter) MarshalTo(dAtA []byte) (int, error)
- func (*NetParameter) ProtoMessage()
- func (m *NetParameter) Reset()
- func (m *NetParameter) Size() (n int)
- func (m *NetParameter) String() string
- func (m *NetParameter) Unmarshal(dAtA []byte) error
- type NetState
- func (*NetState) Descriptor() ([]byte, []int)
- func (m *NetState) GetLevel() int32
- func (m *NetState) GetPhase() Phase
- func (m *NetState) GetStage() []string
- func (m *NetState) Marshal() (dAtA []byte, err error)
- func (m *NetState) MarshalTo(dAtA []byte) (int, error)
- func (*NetState) ProtoMessage()
- func (m *NetState) Reset()
- func (m *NetState) Size() (n int)
- func (m *NetState) String() string
- func (m *NetState) Unmarshal(dAtA []byte) error
- type NetStateRule
- func (*NetStateRule) Descriptor() ([]byte, []int)
- func (m *NetStateRule) GetMaxLevel() int32
- func (m *NetStateRule) GetMinLevel() int32
- func (m *NetStateRule) GetNotStage() []string
- func (m *NetStateRule) GetPhase() Phase
- func (m *NetStateRule) GetStage() []string
- func (m *NetStateRule) Marshal() (dAtA []byte, err error)
- func (m *NetStateRule) MarshalTo(dAtA []byte) (int, error)
- func (*NetStateRule) ProtoMessage()
- func (m *NetStateRule) Reset()
- func (m *NetStateRule) Size() (n int)
- func (m *NetStateRule) String() string
- func (m *NetStateRule) Unmarshal(dAtA []byte) error
- type PReLUParameter
- func (*PReLUParameter) Descriptor() ([]byte, []int)
- func (m *PReLUParameter) GetChannelShared() bool
- func (m *PReLUParameter) GetFiller() *FillerParameter
- func (m *PReLUParameter) Marshal() (dAtA []byte, err error)
- func (m *PReLUParameter) MarshalTo(dAtA []byte) (int, error)
- func (*PReLUParameter) ProtoMessage()
- func (m *PReLUParameter) Reset()
- func (m *PReLUParameter) Size() (n int)
- func (m *PReLUParameter) String() string
- func (m *PReLUParameter) Unmarshal(dAtA []byte) error
- type ParamSpec
- func (*ParamSpec) Descriptor() ([]byte, []int)
- func (m *ParamSpec) GetDecayMult() float32
- func (m *ParamSpec) GetLrMult() float32
- func (m *ParamSpec) GetName() string
- func (m *ParamSpec) GetShareMode() ParamSpec_DimCheckMode
- func (m *ParamSpec) Marshal() (dAtA []byte, err error)
- func (m *ParamSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ParamSpec) ProtoMessage()
- func (m *ParamSpec) Reset()
- func (m *ParamSpec) Size() (n int)
- func (m *ParamSpec) String() string
- func (m *ParamSpec) Unmarshal(dAtA []byte) error
- type ParamSpec_DimCheckMode
- type ParameterParameter
- func (*ParameterParameter) Descriptor() ([]byte, []int)
- func (m *ParameterParameter) GetShape() *BlobShape
- func (m *ParameterParameter) Marshal() (dAtA []byte, err error)
- func (m *ParameterParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ParameterParameter) ProtoMessage()
- func (m *ParameterParameter) Reset()
- func (m *ParameterParameter) Size() (n int)
- func (m *ParameterParameter) String() string
- func (m *ParameterParameter) Unmarshal(dAtA []byte) error
- type Phase
- type PoolingParameter
- func (*PoolingParameter) Descriptor() ([]byte, []int)
- func (m *PoolingParameter) GetEngine() PoolingParameter_Engine
- func (m *PoolingParameter) GetGlobalPooling() bool
- func (m *PoolingParameter) GetKernelH() uint32
- func (m *PoolingParameter) GetKernelSize() uint32
- func (m *PoolingParameter) GetKernelW() uint32
- func (m *PoolingParameter) GetPad() uint32
- func (m *PoolingParameter) GetPadH() uint32
- func (m *PoolingParameter) GetPadW() uint32
- func (m *PoolingParameter) GetPool() PoolingParameter_PoolMethod
- func (m *PoolingParameter) GetStride() uint32
- func (m *PoolingParameter) GetStrideH() uint32
- func (m *PoolingParameter) GetStrideW() uint32
- func (m *PoolingParameter) Marshal() (dAtA []byte, err error)
- func (m *PoolingParameter) MarshalTo(dAtA []byte) (int, error)
- func (*PoolingParameter) ProtoMessage()
- func (m *PoolingParameter) Reset()
- func (m *PoolingParameter) Size() (n int)
- func (m *PoolingParameter) String() string
- func (m *PoolingParameter) Unmarshal(dAtA []byte) error
- type PoolingParameter_Engine
- type PoolingParameter_PoolMethod
- type PowerParameter
- func (*PowerParameter) Descriptor() ([]byte, []int)
- func (m *PowerParameter) GetPower() float32
- func (m *PowerParameter) GetScale() float32
- func (m *PowerParameter) GetShift() float32
- func (m *PowerParameter) Marshal() (dAtA []byte, err error)
- func (m *PowerParameter) MarshalTo(dAtA []byte) (int, error)
- func (*PowerParameter) ProtoMessage()
- func (m *PowerParameter) Reset()
- func (m *PowerParameter) Size() (n int)
- func (m *PowerParameter) String() string
- func (m *PowerParameter) Unmarshal(dAtA []byte) error
- type PythonParameter
- func (*PythonParameter) Descriptor() ([]byte, []int)
- func (m *PythonParameter) GetLayer() string
- func (m *PythonParameter) GetModule() string
- func (m *PythonParameter) GetParamStr() string
- func (m *PythonParameter) GetShareInParallel() bool
- func (m *PythonParameter) Marshal() (dAtA []byte, err error)
- func (m *PythonParameter) MarshalTo(dAtA []byte) (int, error)
- func (*PythonParameter) ProtoMessage()
- func (m *PythonParameter) Reset()
- func (m *PythonParameter) Size() (n int)
- func (m *PythonParameter) String() string
- func (m *PythonParameter) Unmarshal(dAtA []byte) error
- type ReLUParameter
- func (*ReLUParameter) Descriptor() ([]byte, []int)
- func (m *ReLUParameter) GetEngine() ReLUParameter_Engine
- func (m *ReLUParameter) GetNegativeSlope() float32
- func (m *ReLUParameter) Marshal() (dAtA []byte, err error)
- func (m *ReLUParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ReLUParameter) ProtoMessage()
- func (m *ReLUParameter) Reset()
- func (m *ReLUParameter) Size() (n int)
- func (m *ReLUParameter) String() string
- func (m *ReLUParameter) Unmarshal(dAtA []byte) error
- type ReLUParameter_Engine
- type RecurrentParameter
- func (*RecurrentParameter) Descriptor() ([]byte, []int)
- func (m *RecurrentParameter) GetBiasFiller() *FillerParameter
- func (m *RecurrentParameter) GetDebugInfo() bool
- func (m *RecurrentParameter) GetExposeHidden() bool
- func (m *RecurrentParameter) GetNumOutput() uint32
- func (m *RecurrentParameter) GetWeightFiller() *FillerParameter
- func (m *RecurrentParameter) Marshal() (dAtA []byte, err error)
- func (m *RecurrentParameter) MarshalTo(dAtA []byte) (int, error)
- func (*RecurrentParameter) ProtoMessage()
- func (m *RecurrentParameter) Reset()
- func (m *RecurrentParameter) Size() (n int)
- func (m *RecurrentParameter) String() string
- func (m *RecurrentParameter) Unmarshal(dAtA []byte) error
- type ReductionParameter
- func (*ReductionParameter) Descriptor() ([]byte, []int)
- func (m *ReductionParameter) GetAxis() int32
- func (m *ReductionParameter) GetCoeff() float32
- func (m *ReductionParameter) GetOperation() ReductionParameter_ReductionOp
- func (m *ReductionParameter) Marshal() (dAtA []byte, err error)
- func (m *ReductionParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ReductionParameter) ProtoMessage()
- func (m *ReductionParameter) Reset()
- func (m *ReductionParameter) Size() (n int)
- func (m *ReductionParameter) String() string
- func (m *ReductionParameter) Unmarshal(dAtA []byte) error
- type ReductionParameter_ReductionOp
- type ReshapeParameter
- func (*ReshapeParameter) Descriptor() ([]byte, []int)
- func (m *ReshapeParameter) GetAxis() int32
- func (m *ReshapeParameter) GetNumAxes() int32
- func (m *ReshapeParameter) GetShape() *BlobShape
- func (m *ReshapeParameter) Marshal() (dAtA []byte, err error)
- func (m *ReshapeParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ReshapeParameter) ProtoMessage()
- func (m *ReshapeParameter) Reset()
- func (m *ReshapeParameter) Size() (n int)
- func (m *ReshapeParameter) String() string
- func (m *ReshapeParameter) Unmarshal(dAtA []byte) error
- type SPPParameter
- func (*SPPParameter) Descriptor() ([]byte, []int)
- func (m *SPPParameter) GetEngine() SPPParameter_Engine
- func (m *SPPParameter) GetPool() SPPParameter_PoolMethod
- func (m *SPPParameter) GetPyramidHeight() uint32
- func (m *SPPParameter) Marshal() (dAtA []byte, err error)
- func (m *SPPParameter) MarshalTo(dAtA []byte) (int, error)
- func (*SPPParameter) ProtoMessage()
- func (m *SPPParameter) Reset()
- func (m *SPPParameter) Size() (n int)
- func (m *SPPParameter) String() string
- func (m *SPPParameter) Unmarshal(dAtA []byte) error
- type SPPParameter_Engine
- type SPPParameter_PoolMethod
- type ScaleParameter
- func (*ScaleParameter) Descriptor() ([]byte, []int)
- func (m *ScaleParameter) GetAxis() int32
- func (m *ScaleParameter) GetBiasFiller() *FillerParameter
- func (m *ScaleParameter) GetBiasTerm() bool
- func (m *ScaleParameter) GetFiller() *FillerParameter
- func (m *ScaleParameter) GetNumAxes() int32
- func (m *ScaleParameter) Marshal() (dAtA []byte, err error)
- func (m *ScaleParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ScaleParameter) ProtoMessage()
- func (m *ScaleParameter) Reset()
- func (m *ScaleParameter) Size() (n int)
- func (m *ScaleParameter) String() string
- func (m *ScaleParameter) Unmarshal(dAtA []byte) error
- type SigmoidParameter
- func (*SigmoidParameter) Descriptor() ([]byte, []int)
- func (m *SigmoidParameter) GetEngine() SigmoidParameter_Engine
- func (m *SigmoidParameter) Marshal() (dAtA []byte, err error)
- func (m *SigmoidParameter) MarshalTo(dAtA []byte) (int, error)
- func (*SigmoidParameter) ProtoMessage()
- func (m *SigmoidParameter) Reset()
- func (m *SigmoidParameter) Size() (n int)
- func (m *SigmoidParameter) String() string
- func (m *SigmoidParameter) Unmarshal(dAtA []byte) error
- type SigmoidParameter_Engine
- type SliceParameter
- func (*SliceParameter) Descriptor() ([]byte, []int)
- func (m *SliceParameter) GetAxis() int32
- func (m *SliceParameter) GetSliceDim() uint32
- func (m *SliceParameter) GetSlicePoint() []uint32
- func (m *SliceParameter) Marshal() (dAtA []byte, err error)
- func (m *SliceParameter) MarshalTo(dAtA []byte) (int, error)
- func (*SliceParameter) ProtoMessage()
- func (m *SliceParameter) Reset()
- func (m *SliceParameter) Size() (n int)
- func (m *SliceParameter) String() string
- func (m *SliceParameter) Unmarshal(dAtA []byte) error
- type SoftmaxParameter
- func (*SoftmaxParameter) Descriptor() ([]byte, []int)
- func (m *SoftmaxParameter) GetAxis() int32
- func (m *SoftmaxParameter) GetEngine() SoftmaxParameter_Engine
- func (m *SoftmaxParameter) Marshal() (dAtA []byte, err error)
- func (m *SoftmaxParameter) MarshalTo(dAtA []byte) (int, error)
- func (*SoftmaxParameter) ProtoMessage()
- func (m *SoftmaxParameter) Reset()
- func (m *SoftmaxParameter) Size() (n int)
- func (m *SoftmaxParameter) String() string
- func (m *SoftmaxParameter) Unmarshal(dAtA []byte) error
- type SoftmaxParameter_Engine
- type SolverParameter
- func (*SolverParameter) Descriptor() ([]byte, []int)
- func (m *SolverParameter) GetAverageLoss() int32
- func (m *SolverParameter) GetBaseLr() float32
- func (m *SolverParameter) GetClipGradients() float32
- func (m *SolverParameter) GetDebugInfo() bool
- func (m *SolverParameter) GetDelta() float32
- func (m *SolverParameter) GetDeviceId() int32
- func (m *SolverParameter) GetDisplay() int32
- func (m *SolverParameter) GetGamma() float32
- func (m *SolverParameter) GetIterSize() int32
- func (m *SolverParameter) GetLrPolicy() string
- func (m *SolverParameter) GetMaxIter() int32
- func (m *SolverParameter) GetMomentum() float32
- func (m *SolverParameter) GetMomentum2() float32
- func (m *SolverParameter) GetNet() string
- func (m *SolverParameter) GetNetParam() *NetParameter
- func (m *SolverParameter) GetPower() float32
- func (m *SolverParameter) GetRandomSeed() int64
- func (m *SolverParameter) GetRegularizationType() string
- func (m *SolverParameter) GetRmsDecay() float32
- func (m *SolverParameter) GetSnapshot() int32
- func (m *SolverParameter) GetSnapshotAfterTrain() bool
- func (m *SolverParameter) GetSnapshotDiff() bool
- func (m *SolverParameter) GetSnapshotFormat() SolverParameter_SnapshotFormat
- func (m *SolverParameter) GetSnapshotPrefix() string
- func (m *SolverParameter) GetSolverMode() SolverParameter_SolverMode
- func (m *SolverParameter) GetSolverType() SolverParameter_SolverType
- func (m *SolverParameter) GetStepsize() int32
- func (m *SolverParameter) GetStepvalue() []int32
- func (m *SolverParameter) GetTestComputeLoss() bool
- func (m *SolverParameter) GetTestInitialization() bool
- func (m *SolverParameter) GetTestInterval() int32
- func (m *SolverParameter) GetTestIter() []int32
- func (m *SolverParameter) GetTestNet() []string
- func (m *SolverParameter) GetTestNetParam() []*NetParameter
- func (m *SolverParameter) GetTestState() []*NetState
- func (m *SolverParameter) GetTrainNet() string
- func (m *SolverParameter) GetTrainNetParam() *NetParameter
- func (m *SolverParameter) GetTrainState() *NetState
- func (m *SolverParameter) GetType() string
- func (m *SolverParameter) GetWeightDecay() float32
- func (m *SolverParameter) Marshal() (dAtA []byte, err error)
- func (m *SolverParameter) MarshalTo(dAtA []byte) (int, error)
- func (*SolverParameter) ProtoMessage()
- func (m *SolverParameter) Reset()
- func (m *SolverParameter) Size() (n int)
- func (m *SolverParameter) String() string
- func (m *SolverParameter) Unmarshal(dAtA []byte) error
- type SolverParameter_SnapshotFormat
- type SolverParameter_SolverMode
- type SolverParameter_SolverType
- type SolverState
- func (*SolverState) Descriptor() ([]byte, []int)
- func (m *SolverState) GetCurrentStep() int32
- func (m *SolverState) GetHistory() []*BlobProto
- func (m *SolverState) GetIter() int32
- func (m *SolverState) GetLearnedNet() string
- func (m *SolverState) Marshal() (dAtA []byte, err error)
- func (m *SolverState) MarshalTo(dAtA []byte) (int, error)
- func (*SolverState) ProtoMessage()
- func (m *SolverState) Reset()
- func (m *SolverState) Size() (n int)
- func (m *SolverState) String() string
- func (m *SolverState) Unmarshal(dAtA []byte) error
- type TanHParameter
- func (*TanHParameter) Descriptor() ([]byte, []int)
- func (m *TanHParameter) GetEngine() TanHParameter_Engine
- func (m *TanHParameter) Marshal() (dAtA []byte, err error)
- func (m *TanHParameter) MarshalTo(dAtA []byte) (int, error)
- func (*TanHParameter) ProtoMessage()
- func (m *TanHParameter) Reset()
- func (m *TanHParameter) Size() (n int)
- func (m *TanHParameter) String() string
- func (m *TanHParameter) Unmarshal(dAtA []byte) error
- type TanHParameter_Engine
- type ThresholdParameter
- func (*ThresholdParameter) Descriptor() ([]byte, []int)
- func (m *ThresholdParameter) GetThreshold() float32
- func (m *ThresholdParameter) Marshal() (dAtA []byte, err error)
- func (m *ThresholdParameter) MarshalTo(dAtA []byte) (int, error)
- func (*ThresholdParameter) ProtoMessage()
- func (m *ThresholdParameter) Reset()
- func (m *ThresholdParameter) Size() (n int)
- func (m *ThresholdParameter) String() string
- func (m *ThresholdParameter) Unmarshal(dAtA []byte) error
- type TileParameter
- func (*TileParameter) Descriptor() ([]byte, []int)
- func (m *TileParameter) GetAxis() int32
- func (m *TileParameter) GetTiles() int32
- func (m *TileParameter) Marshal() (dAtA []byte, err error)
- func (m *TileParameter) MarshalTo(dAtA []byte) (int, error)
- func (*TileParameter) ProtoMessage()
- func (m *TileParameter) Reset()
- func (m *TileParameter) Size() (n int)
- func (m *TileParameter) String() string
- func (m *TileParameter) Unmarshal(dAtA []byte) error
- type TransformationParameter
- func (*TransformationParameter) Descriptor() ([]byte, []int)
- func (m *TransformationParameter) GetCropSize() uint32
- func (m *TransformationParameter) GetForceColor() bool
- func (m *TransformationParameter) GetForceGray() bool
- func (m *TransformationParameter) GetMeanFile() string
- func (m *TransformationParameter) GetMeanValue() []float32
- func (m *TransformationParameter) GetMirror() bool
- func (m *TransformationParameter) GetScale() float32
- func (m *TransformationParameter) Marshal() (dAtA []byte, err error)
- func (m *TransformationParameter) MarshalTo(dAtA []byte) (int, error)
- func (*TransformationParameter) ProtoMessage()
- func (m *TransformationParameter) Reset()
- func (m *TransformationParameter) Size() (n int)
- func (m *TransformationParameter) String() string
- func (m *TransformationParameter) Unmarshal(dAtA []byte) error
- type V0LayerParameter
- func (*V0LayerParameter) Descriptor() ([]byte, []int)
- func (m *V0LayerParameter) GetAlpha() float32
- func (m *V0LayerParameter) GetBatchsize() uint32
- func (m *V0LayerParameter) GetBeta() float32
- func (m *V0LayerParameter) GetBiasFiller() *FillerParameter
- func (m *V0LayerParameter) GetBiasterm() bool
- func (m *V0LayerParameter) GetBlobs() []*BlobProto
- func (m *V0LayerParameter) GetBlobsLr() []float32
- func (m *V0LayerParameter) GetConcatDim() uint32
- func (m *V0LayerParameter) GetCropsize() uint32
- func (m *V0LayerParameter) GetDetBgThreshold() float32
- func (m *V0LayerParameter) GetDetContextPad() uint32
- func (m *V0LayerParameter) GetDetCropMode() string
- func (m *V0LayerParameter) GetDetFgFraction() float32
- func (m *V0LayerParameter) GetDetFgThreshold() float32
- func (m *V0LayerParameter) GetDropoutRatio() float32
- func (m *V0LayerParameter) GetGroup() uint32
- func (m *V0LayerParameter) GetHdf5OutputParam() *HDF5OutputParameter
- func (m *V0LayerParameter) GetK() float32
- func (m *V0LayerParameter) GetKernelsize() uint32
- func (m *V0LayerParameter) GetLocalSize() uint32
- func (m *V0LayerParameter) GetMeanfile() string
- func (m *V0LayerParameter) GetMirror() bool
- func (m *V0LayerParameter) GetName() string
- func (m *V0LayerParameter) GetNewChannels() int32
- func (m *V0LayerParameter) GetNewHeight() int32
- func (m *V0LayerParameter) GetNewNum() int32
- func (m *V0LayerParameter) GetNewWidth() int32
- func (m *V0LayerParameter) GetNumOutput() uint32
- func (m *V0LayerParameter) GetPad() uint32
- func (m *V0LayerParameter) GetPool() V0LayerParameter_PoolMethod
- func (m *V0LayerParameter) GetRandSkip() uint32
- func (m *V0LayerParameter) GetScale() float32
- func (m *V0LayerParameter) GetShuffleImages() bool
- func (m *V0LayerParameter) GetSource() string
- func (m *V0LayerParameter) GetStride() uint32
- func (m *V0LayerParameter) GetType() string
- func (m *V0LayerParameter) GetWeightDecay() []float32
- func (m *V0LayerParameter) GetWeightFiller() *FillerParameter
- func (m *V0LayerParameter) Marshal() (dAtA []byte, err error)
- func (m *V0LayerParameter) MarshalTo(dAtA []byte) (int, error)
- func (*V0LayerParameter) ProtoMessage()
- func (m *V0LayerParameter) Reset()
- func (m *V0LayerParameter) Size() (n int)
- func (m *V0LayerParameter) String() string
- func (m *V0LayerParameter) Unmarshal(dAtA []byte) error
- type V0LayerParameter_PoolMethod
- type V1LayerParameter
- func (*V1LayerParameter) Descriptor() ([]byte, []int)
- func (m *V1LayerParameter) GetAccuracyParam() *AccuracyParameter
- func (m *V1LayerParameter) GetArgmaxParam() *ArgMaxParameter
- func (m *V1LayerParameter) GetBlobShareMode() []V1LayerParameter_DimCheckMode
- func (m *V1LayerParameter) GetBlobs() []*BlobProto
- func (m *V1LayerParameter) GetBlobsLr() []float32
- func (m *V1LayerParameter) GetBottom() []string
- func (m *V1LayerParameter) GetConcatParam() *ConcatParameter
- func (m *V1LayerParameter) GetContrastiveLossParam() *ContrastiveLossParameter
- func (m *V1LayerParameter) GetConvolutionParam() *ConvolutionParameter
- func (m *V1LayerParameter) GetDataParam() *DataParameter
- func (m *V1LayerParameter) GetDropoutParam() *DropoutParameter
- func (m *V1LayerParameter) GetDummyDataParam() *DummyDataParameter
- func (m *V1LayerParameter) GetEltwiseParam() *EltwiseParameter
- func (m *V1LayerParameter) GetExclude() []*NetStateRule
- func (m *V1LayerParameter) GetExpParam() *ExpParameter
- func (m *V1LayerParameter) GetHdf5DataParam() *HDF5DataParameter
- func (m *V1LayerParameter) GetHdf5OutputParam() *HDF5OutputParameter
- func (m *V1LayerParameter) GetHingeLossParam() *HingeLossParameter
- func (m *V1LayerParameter) GetImageDataParam() *ImageDataParameter
- func (m *V1LayerParameter) GetInclude() []*NetStateRule
- func (m *V1LayerParameter) GetInfogainLossParam() *InfogainLossParameter
- func (m *V1LayerParameter) GetInnerProductParam() *InnerProductParameter
- func (m *V1LayerParameter) GetLayer() *V0LayerParameter
- func (m *V1LayerParameter) GetLossParam() *LossParameter
- func (m *V1LayerParameter) GetLossWeight() []float32
- func (m *V1LayerParameter) GetLrnParam() *LRNParameter
- func (m *V1LayerParameter) GetMemoryDataParam() *MemoryDataParameter
- func (m *V1LayerParameter) GetMvnParam() *MVNParameter
- func (m *V1LayerParameter) GetName() string
- func (m *V1LayerParameter) GetParam() []string
- func (m *V1LayerParameter) GetPoolingParam() *PoolingParameter
- func (m *V1LayerParameter) GetPowerParam() *PowerParameter
- func (m *V1LayerParameter) GetReluParam() *ReLUParameter
- func (m *V1LayerParameter) GetSigmoidParam() *SigmoidParameter
- func (m *V1LayerParameter) GetSliceParam() *SliceParameter
- func (m *V1LayerParameter) GetSoftmaxParam() *SoftmaxParameter
- func (m *V1LayerParameter) GetTanhParam() *TanHParameter
- func (m *V1LayerParameter) GetThresholdParam() *ThresholdParameter
- func (m *V1LayerParameter) GetTop() []string
- func (m *V1LayerParameter) GetTransformParam() *TransformationParameter
- func (m *V1LayerParameter) GetType() V1LayerParameter_LayerType
- func (m *V1LayerParameter) GetWeightDecay() []float32
- func (m *V1LayerParameter) GetWindowDataParam() *WindowDataParameter
- func (m *V1LayerParameter) Marshal() (dAtA []byte, err error)
- func (m *V1LayerParameter) MarshalTo(dAtA []byte) (int, error)
- func (*V1LayerParameter) ProtoMessage()
- func (m *V1LayerParameter) Reset()
- func (m *V1LayerParameter) Size() (n int)
- func (m *V1LayerParameter) String() string
- func (m *V1LayerParameter) Unmarshal(dAtA []byte) error
- type V1LayerParameter_DimCheckMode
- type V1LayerParameter_LayerType
- type WindowDataParameter
- func (*WindowDataParameter) Descriptor() ([]byte, []int)
- func (m *WindowDataParameter) GetBatchSize() uint32
- func (m *WindowDataParameter) GetBgThreshold() float32
- func (m *WindowDataParameter) GetCacheImages() bool
- func (m *WindowDataParameter) GetContextPad() uint32
- func (m *WindowDataParameter) GetCropMode() string
- func (m *WindowDataParameter) GetCropSize() uint32
- func (m *WindowDataParameter) GetFgFraction() float32
- func (m *WindowDataParameter) GetFgThreshold() float32
- func (m *WindowDataParameter) GetMeanFile() string
- func (m *WindowDataParameter) GetMirror() bool
- func (m *WindowDataParameter) GetRootFolder() string
- func (m *WindowDataParameter) GetScale() float32
- func (m *WindowDataParameter) GetSource() string
- func (m *WindowDataParameter) Marshal() (dAtA []byte, err error)
- func (m *WindowDataParameter) MarshalTo(dAtA []byte) (int, error)
- func (*WindowDataParameter) ProtoMessage()
- func (m *WindowDataParameter) Reset()
- func (m *WindowDataParameter) Size() (n int)
- func (m *WindowDataParameter) String() string
- func (m *WindowDataParameter) Unmarshal(dAtA []byte) error
Constants ¶
const Default_AccuracyParameter_Axis int32 = 1
const Default_AccuracyParameter_TopK uint32 = 1
const Default_ArgMaxParameter_OutMaxVal bool = false
const Default_ArgMaxParameter_TopK uint32 = 1
const Default_BatchNormParameter_Eps float32 = 1e-05
const Default_BatchNormParameter_MovingAverageFraction float32 = 0.999
const Default_BiasParameter_Axis int32 = 1
const Default_BiasParameter_NumAxes int32 = 1
const Default_BlobProto_Channels int32 = 0
const Default_BlobProto_Height int32 = 0
const Default_BlobProto_Num int32 = 0
const Default_BlobProto_Width int32 = 0
const Default_ConcatParameter_Axis int32 = 1
const Default_ConcatParameter_ConcatDim uint32 = 1
const Default_ContrastiveLossParameter_LegacyVersion bool = false
const Default_ContrastiveLossParameter_Margin float32 = 1
const Default_ConvolutionParameter_Axis int32 = 1
const Default_ConvolutionParameter_BiasTerm bool = true
const Default_ConvolutionParameter_ForceNdIm2Col bool = false
const Default_ConvolutionParameter_Group uint32 = 1
const Default_ConvolutionParameter_PadH uint32 = 0
const Default_ConvolutionParameter_PadW uint32 = 0
const Default_CropParameter_Axis int32 = 2
const Default_DataParameter_CropSize uint32 = 0
const Default_DataParameter_ForceEncodedColor bool = false
const Default_DataParameter_Mirror bool = false
const Default_DataParameter_Prefetch uint32 = 4
const Default_DataParameter_RandSkip uint32 = 0
const Default_DataParameter_Scale float32 = 1
const Default_Datum_Encoded bool = false
const Default_DropoutParameter_DropoutRatio float32 = 0.5
const Default_ELUParameter_Alpha float32 = 1
const Default_EltwiseParameter_StableProdGrad bool = true
const Default_EmbedParameter_BiasTerm bool = true
const Default_ExpParameter_Base float32 = -1
const Default_ExpParameter_Scale float32 = 1
const Default_ExpParameter_Shift float32 = 0
const Default_FillerParameter_Max float32 = 1
const Default_FillerParameter_Mean float32 = 0
const Default_FillerParameter_Min float32 = 0
const Default_FillerParameter_Sparse int32 = -1
const Default_FillerParameter_Std float32 = 1
const Default_FillerParameter_Type string = "constant"
const Default_FillerParameter_Value float32 = 0
const Default_FlattenParameter_Axis int32 = 1
const Default_FlattenParameter_EndAxis int32 = -1
const Default_HDF5DataParameter_Shuffle bool = false
const Default_ImageDataParameter_BatchSize uint32 = 1
const Default_ImageDataParameter_CropSize uint32 = 0
const Default_ImageDataParameter_IsColor bool = true
const Default_ImageDataParameter_Mirror bool = false
const Default_ImageDataParameter_NewHeight uint32 = 0
const Default_ImageDataParameter_NewWidth uint32 = 0
const Default_ImageDataParameter_RandSkip uint32 = 0
const Default_ImageDataParameter_Scale float32 = 1
const Default_ImageDataParameter_Shuffle bool = false
const Default_InnerProductParameter_Axis int32 = 1
const Default_InnerProductParameter_BiasTerm bool = true
const Default_InnerProductParameter_Transpose bool = false
const Default_LRNParameter_Alpha float32 = 1
const Default_LRNParameter_Beta float32 = 0.75
const Default_LRNParameter_K float32 = 1
const Default_LRNParameter_LocalSize uint32 = 5
const Default_LogParameter_Base float32 = -1
const Default_LogParameter_Scale float32 = 1
const Default_LogParameter_Shift float32 = 0
const Default_MVNParameter_AcrossChannels bool = false
const Default_MVNParameter_Eps float32 = 1e-09
const Default_MVNParameter_NormalizeVariance bool = true
const Default_NetParameter_DebugInfo bool = false
const Default_NetParameter_ForceBackward bool = false
const Default_NetState_Level int32 = 0
const Default_ParamSpec_DecayMult float32 = 1
const Default_ParamSpec_LrMult float32 = 1
const Default_PoolingParameter_GlobalPooling bool = false
const Default_PoolingParameter_Pad uint32 = 0
const Default_PoolingParameter_PadH uint32 = 0
const Default_PoolingParameter_PadW uint32 = 0
const Default_PoolingParameter_Stride uint32 = 1
const Default_PowerParameter_Power float32 = 1
const Default_PowerParameter_Scale float32 = 1
const Default_PowerParameter_Shift float32 = 0
const Default_ReLUParameter_NegativeSlope float32 = 0
const Default_RecurrentParameter_DebugInfo bool = false
const Default_RecurrentParameter_ExposeHidden bool = false
const Default_RecurrentParameter_NumOutput uint32 = 0
const Default_ReductionParameter_Axis int32 = 0
const Default_ReductionParameter_Coeff float32 = 1
const Default_ReshapeParameter_Axis int32 = 0
const Default_ReshapeParameter_NumAxes int32 = -1
const Default_ScaleParameter_Axis int32 = 1
const Default_ScaleParameter_BiasTerm bool = false
const Default_ScaleParameter_NumAxes int32 = 1
const Default_SliceParameter_Axis int32 = 1
const Default_SliceParameter_SliceDim uint32 = 1
const Default_SoftmaxParameter_Axis int32 = 1
const Default_SolverParameter_AverageLoss int32 = 1
const Default_SolverParameter_ClipGradients float32 = -1
const Default_SolverParameter_DebugInfo bool = false
const Default_SolverParameter_Delta float32 = 1e-08
const Default_SolverParameter_DeviceId int32 = 0
const Default_SolverParameter_IterSize int32 = 1
const Default_SolverParameter_Momentum2 float32 = 0.999
const Default_SolverParameter_RandomSeed int64 = -1
const Default_SolverParameter_RegularizationType string = "L2"
const Default_SolverParameter_Snapshot int32 = 0
const Default_SolverParameter_SnapshotAfterTrain bool = true
const Default_SolverParameter_SnapshotDiff bool = false
const Default_SolverParameter_TestComputeLoss bool = false
const Default_SolverParameter_TestInitialization bool = true
const Default_SolverParameter_TestInterval int32 = 0
const Default_SolverParameter_Type string = "SGD"
const Default_SolverState_CurrentStep int32 = 0
const Default_ThresholdParameter_Threshold float32 = 0
const Default_TileParameter_Axis int32 = 1
const Default_TransformationParameter_CropSize uint32 = 0
const Default_TransformationParameter_ForceColor bool = false
const Default_TransformationParameter_ForceGray bool = false
const Default_TransformationParameter_Mirror bool = false
const Default_TransformationParameter_Scale float32 = 1
const Default_V0LayerParameter_Alpha float32 = 1
const Default_V0LayerParameter_Beta float32 = 0.75
const Default_V0LayerParameter_Biasterm bool = true
const Default_V0LayerParameter_ConcatDim uint32 = 1
const Default_V0LayerParameter_Cropsize uint32 = 0
const Default_V0LayerParameter_DetBgThreshold float32 = 0.5
const Default_V0LayerParameter_DetContextPad uint32 = 0
const Default_V0LayerParameter_DetCropMode string = "warp"
const Default_V0LayerParameter_DetFgFraction float32 = 0.25
const Default_V0LayerParameter_DetFgThreshold float32 = 0.5
const Default_V0LayerParameter_DropoutRatio float32 = 0.5
const Default_V0LayerParameter_Group uint32 = 1
const Default_V0LayerParameter_K float32 = 1
const Default_V0LayerParameter_LocalSize uint32 = 5
const Default_V0LayerParameter_Mirror bool = false
const Default_V0LayerParameter_NewChannels int32 = 0
const Default_V0LayerParameter_NewHeight int32 = 0
const Default_V0LayerParameter_NewNum int32 = 0
const Default_V0LayerParameter_NewWidth int32 = 0
const Default_V0LayerParameter_Pad uint32 = 0
const Default_V0LayerParameter_RandSkip uint32 = 0
const Default_V0LayerParameter_Scale float32 = 1
const Default_V0LayerParameter_ShuffleImages bool = false
const Default_V0LayerParameter_Stride uint32 = 1
const Default_WindowDataParameter_BgThreshold float32 = 0.5
const Default_WindowDataParameter_CacheImages bool = false
const Default_WindowDataParameter_ContextPad uint32 = 0
const Default_WindowDataParameter_CropMode string = "warp"
const Default_WindowDataParameter_CropSize uint32 = 0
const Default_WindowDataParameter_FgFraction float32 = 0.25
const Default_WindowDataParameter_FgThreshold float32 = 0.5
const Default_WindowDataParameter_Mirror bool = false
const Default_WindowDataParameter_Scale float32 = 1
Variables ¶
var ( ErrInvalidLengthCaffe = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCaffe = fmt.Errorf("proto: integer overflow") )
var ConvolutionParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var ConvolutionParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var DataParameter_DB_name = map[int32]string{
0: "LEVELDB",
1: "LMDB",
}
var DataParameter_DB_value = map[string]int32{
"LEVELDB": 0,
"LMDB": 1,
}
var EltwiseParameter_EltwiseOp_name = map[int32]string{
0: "PROD",
1: "SUM",
2: "MAX",
}
var EltwiseParameter_EltwiseOp_value = map[string]int32{
"PROD": 0,
"SUM": 1,
"MAX": 2,
}
var FillerParameter_VarianceNorm_name = map[int32]string{
0: "FAN_IN",
1: "FAN_OUT",
2: "AVERAGE",
}
var FillerParameter_VarianceNorm_value = map[string]int32{
"FAN_IN": 0,
"FAN_OUT": 1,
"AVERAGE": 2,
}
var HingeLossParameter_Norm_name = map[int32]string{
1: "L1",
2: "L2",
}
var HingeLossParameter_Norm_value = map[string]int32{
"L1": 1,
"L2": 2,
}
var LRNParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var LRNParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var LRNParameter_NormRegion_name = map[int32]string{
0: "ACROSS_CHANNELS",
1: "WITHIN_CHANNEL",
}
var LRNParameter_NormRegion_value = map[string]int32{
"ACROSS_CHANNELS": 0,
"WITHIN_CHANNEL": 1,
}
var LossParameter_NormalizationMode_name = map[int32]string{
0: "FULL",
1: "VALID",
2: "BATCH_SIZE",
3: "NONE",
}
var LossParameter_NormalizationMode_value = map[string]int32{
"FULL": 0,
"VALID": 1,
"BATCH_SIZE": 2,
"NONE": 3,
}
var ParamSpec_DimCheckMode_name = map[int32]string{
0: "STRICT",
1: "PERMISSIVE",
}
var ParamSpec_DimCheckMode_value = map[string]int32{
"STRICT": 0,
"PERMISSIVE": 1,
}
var Phase_name = map[int32]string{
0: "TRAIN",
1: "TEST",
}
var Phase_value = map[string]int32{
"TRAIN": 0,
"TEST": 1,
}
var PoolingParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var PoolingParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var PoolingParameter_PoolMethod_name = map[int32]string{
0: "MAX",
1: "AVE",
2: "STOCHASTIC",
}
var PoolingParameter_PoolMethod_value = map[string]int32{
"MAX": 0,
"AVE": 1,
"STOCHASTIC": 2,
}
var ReLUParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var ReLUParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var ReductionParameter_ReductionOp_name = map[int32]string{
1: "SUM",
2: "ASUM",
3: "SUMSQ",
4: "MEAN",
}
var ReductionParameter_ReductionOp_value = map[string]int32{
"SUM": 1,
"ASUM": 2,
"SUMSQ": 3,
"MEAN": 4,
}
var SPPParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var SPPParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var SPPParameter_PoolMethod_name = map[int32]string{
0: "MAX",
1: "AVE",
2: "STOCHASTIC",
}
var SPPParameter_PoolMethod_value = map[string]int32{
"MAX": 0,
"AVE": 1,
"STOCHASTIC": 2,
}
var SigmoidParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var SigmoidParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var SoftmaxParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var SoftmaxParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var SolverParameter_SnapshotFormat_name = map[int32]string{
0: "HDF5",
1: "BINARYPROTO",
}
var SolverParameter_SnapshotFormat_value = map[string]int32{
"HDF5": 0,
"BINARYPROTO": 1,
}
var SolverParameter_SolverMode_name = map[int32]string{
0: "CPU",
1: "GPU",
}
var SolverParameter_SolverMode_value = map[string]int32{
"CPU": 0,
"GPU": 1,
}
var SolverParameter_SolverType_name = map[int32]string{
0: "SGD",
1: "NESTEROV",
2: "ADAGRAD",
3: "RMSPROP",
4: "ADADELTA",
5: "ADAM",
}
var SolverParameter_SolverType_value = map[string]int32{
"SGD": 0,
"NESTEROV": 1,
"ADAGRAD": 2,
"RMSPROP": 3,
"ADADELTA": 4,
"ADAM": 5,
}
var TanHParameter_Engine_name = map[int32]string{
0: "DEFAULT",
1: "CAFFE",
2: "CUDNN",
}
var TanHParameter_Engine_value = map[string]int32{
"DEFAULT": 0,
"CAFFE": 1,
"CUDNN": 2,
}
var V0LayerParameter_PoolMethod_name = map[int32]string{
0: "MAX",
1: "AVE",
2: "STOCHASTIC",
}
var V0LayerParameter_PoolMethod_value = map[string]int32{
"MAX": 0,
"AVE": 1,
"STOCHASTIC": 2,
}
var V1LayerParameter_DimCheckMode_name = map[int32]string{
0: "STRICT",
1: "PERMISSIVE",
}
var V1LayerParameter_DimCheckMode_value = map[string]int32{
"STRICT": 0,
"PERMISSIVE": 1,
}
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",
}
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,json=topK,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=ignoreLabel" json:"ignore_label"` }
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) Marshal ¶
func (m *AccuracyParameter) Marshal() (dAtA []byte, err error)
func (*AccuracyParameter) MarshalTo ¶
func (m *AccuracyParameter) MarshalTo(dAtA []byte) (int, error)
func (*AccuracyParameter) ProtoMessage ¶
func (*AccuracyParameter) ProtoMessage()
func (*AccuracyParameter) Reset ¶
func (m *AccuracyParameter) Reset()
func (*AccuracyParameter) Size ¶
func (m *AccuracyParameter) Size() (n int)
func (*AccuracyParameter) String ¶
func (m *AccuracyParameter) String() string
func (*AccuracyParameter) Unmarshal ¶
func (m *AccuracyParameter) Unmarshal(dAtA []byte) error
type ArgMaxParameter ¶
type ArgMaxParameter struct { // If true produce pairs (argmax, maxval) OutMaxVal *bool `protobuf:"varint,1,opt,name=out_max_val,json=outMaxVal,def=0" json:"out_max_val,omitempty"` TopK *uint32 `protobuf:"varint,2,opt,name=top_k,json=topK,def=1" json:"top_k,omitempty"` // The axis along which to maximise -- may be negative to index from the // end (e.g., -1 for the last axis). // By default ArgMaxLayer maximizes over the flattened trailing dimensions // for each index of the first / num dimension. Axis int32 `protobuf:"varint,3,opt,name=axis" json:"axis"` }
func (*ArgMaxParameter) Descriptor ¶
func (*ArgMaxParameter) Descriptor() ([]byte, []int)
func (*ArgMaxParameter) GetAxis ¶
func (m *ArgMaxParameter) GetAxis() int32
func (*ArgMaxParameter) GetOutMaxVal ¶
func (m *ArgMaxParameter) GetOutMaxVal() bool
func (*ArgMaxParameter) GetTopK ¶
func (m *ArgMaxParameter) GetTopK() uint32
func (*ArgMaxParameter) Marshal ¶
func (m *ArgMaxParameter) Marshal() (dAtA []byte, err error)
func (*ArgMaxParameter) ProtoMessage ¶
func (*ArgMaxParameter) ProtoMessage()
func (*ArgMaxParameter) Reset ¶
func (m *ArgMaxParameter) Reset()
func (*ArgMaxParameter) Size ¶
func (m *ArgMaxParameter) Size() (n int)
func (*ArgMaxParameter) String ¶
func (m *ArgMaxParameter) String() string
func (*ArgMaxParameter) Unmarshal ¶
func (m *ArgMaxParameter) Unmarshal(dAtA []byte) error
type BatchNormParameter ¶
type BatchNormParameter struct { // If false, accumulate global mean/variance values via a moving average. If // true, use those accumulated values instead of computing mean/variance // across the batch. UseGlobalStats bool `protobuf:"varint,1,opt,name=use_global_stats,json=useGlobalStats" json:"use_global_stats"` // How much does the moving average decay each iteration? MovingAverageFraction *float32 `` /* 131-byte string literal not displayed */ // Small value to add to the variance estimate so that we don't divide by // zero. Eps *float32 `protobuf:"fixed32,3,opt,name=eps,def=1e-05" json:"eps,omitempty"` }
func (*BatchNormParameter) Descriptor ¶
func (*BatchNormParameter) Descriptor() ([]byte, []int)
func (*BatchNormParameter) GetEps ¶
func (m *BatchNormParameter) GetEps() float32
func (*BatchNormParameter) GetMovingAverageFraction ¶
func (m *BatchNormParameter) GetMovingAverageFraction() float32
func (*BatchNormParameter) GetUseGlobalStats ¶
func (m *BatchNormParameter) GetUseGlobalStats() bool
func (*BatchNormParameter) Marshal ¶
func (m *BatchNormParameter) Marshal() (dAtA []byte, err error)
func (*BatchNormParameter) MarshalTo ¶
func (m *BatchNormParameter) MarshalTo(dAtA []byte) (int, error)
func (*BatchNormParameter) ProtoMessage ¶
func (*BatchNormParameter) ProtoMessage()
func (*BatchNormParameter) Reset ¶
func (m *BatchNormParameter) Reset()
func (*BatchNormParameter) Size ¶
func (m *BatchNormParameter) Size() (n int)
func (*BatchNormParameter) String ¶
func (m *BatchNormParameter) String() string
func (*BatchNormParameter) Unmarshal ¶
func (m *BatchNormParameter) Unmarshal(dAtA []byte) error
type BiasParameter ¶
type BiasParameter struct { // The first axis of bottom[0] (the first input Blob) along which to apply // bottom[1] (the second input Blob). May be negative to index from the end // (e.g., -1 for the last axis). // // For example, if bottom[0] is 4D with shape 100x3x40x60, the output // top[0] will have the same shape, and bottom[1] may have any of the // following shapes (for the given value of axis): // (axis == 0 == -4) 100; 100x3; 100x3x40; 100x3x40x60 // (axis == 1 == -3) 3; 3x40; 3x40x60 // (axis == 2 == -2) 40; 40x60 // (axis == 3 == -1) 60 // Furthermore, bottom[1] may have the empty shape (regardless of the value of // "axis") -- a scalar bias. Axis *int32 `protobuf:"varint,1,opt,name=axis,def=1" json:"axis,omitempty"` // (num_axes is ignored unless just one bottom is given and the bias is // a learned parameter of the layer. Otherwise, num_axes is determined by the // number of axes by the second bottom.) // The number of axes of the input (bottom[0]) covered by the bias // parameter, or -1 to cover all axes of bottom[0] starting from `axis`. // Set num_axes := 0, to add a zero-axis Blob: a scalar. NumAxes *int32 `protobuf:"varint,2,opt,name=num_axes,json=numAxes,def=1" json:"num_axes,omitempty"` // (filler is ignored unless just one bottom is given and the bias is // a learned parameter of the layer.) // The initialization for the learned bias parameter. // Default is the zero (0) initialization, resulting in the BiasLayer // initially performing the identity operation. Filler *FillerParameter `protobuf:"bytes,3,opt,name=filler" json:"filler,omitempty"` }
func (*BiasParameter) Descriptor ¶
func (*BiasParameter) Descriptor() ([]byte, []int)
func (*BiasParameter) GetAxis ¶
func (m *BiasParameter) GetAxis() int32
func (*BiasParameter) GetFiller ¶
func (m *BiasParameter) GetFiller() *FillerParameter
func (*BiasParameter) GetNumAxes ¶
func (m *BiasParameter) GetNumAxes() int32
func (*BiasParameter) Marshal ¶
func (m *BiasParameter) Marshal() (dAtA []byte, err error)
func (*BiasParameter) ProtoMessage ¶
func (*BiasParameter) ProtoMessage()
func (*BiasParameter) Reset ¶
func (m *BiasParameter) Reset()
func (*BiasParameter) Size ¶
func (m *BiasParameter) Size() (n int)
func (*BiasParameter) String ¶
func (m *BiasParameter) String() string
func (*BiasParameter) Unmarshal ¶
func (m *BiasParameter) Unmarshal(dAtA []byte) error
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"` DoubleData []float64 `protobuf:"fixed64,8,rep,packed,name=double_data,json=doubleData" json:"double_data,omitempty"` DoubleDiff []float64 `protobuf:"fixed64,9,rep,packed,name=double_diff,json=doubleDiff" json:"double_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"` }
func (*BlobProto) Descriptor ¶
func (*BlobProto) GetChannels ¶
func (*BlobProto) GetDoubleData ¶
func (*BlobProto) GetDoubleDiff ¶
func (*BlobProto) ProtoMessage ¶
func (*BlobProto) ProtoMessage()
type BlobProtoVector ¶
type BlobProtoVector struct {
Blobs []*BlobProto `protobuf:"bytes,1,rep,name=blobs" json:"blobs,omitempty"`
}
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) Marshal ¶
func (m *BlobProtoVector) Marshal() (dAtA []byte, err error)
func (*BlobProtoVector) ProtoMessage ¶
func (*BlobProtoVector) ProtoMessage()
func (*BlobProtoVector) Reset ¶
func (m *BlobProtoVector) Reset()
func (*BlobProtoVector) Size ¶
func (m *BlobProtoVector) Size() (n int)
func (*BlobProtoVector) String ¶
func (m *BlobProtoVector) String() string
func (*BlobProtoVector) Unmarshal ¶
func (m *BlobProtoVector) Unmarshal(dAtA []byte) error
type BlobShape ¶
type BlobShape struct {
Dim []int64 `protobuf:"varint,1,rep,packed,name=dim" json:"dim,omitempty"`
}
Specifies the shape (dimensions) of a Blob.
func (*BlobShape) Descriptor ¶
func (*BlobShape) ProtoMessage ¶
func (*BlobShape) ProtoMessage()
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,json=concatDim,def=1" json:"concat_dim,omitempty"` }
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) Marshal ¶
func (m *ConcatParameter) Marshal() (dAtA []byte, err error)
func (*ConcatParameter) ProtoMessage ¶
func (*ConcatParameter) ProtoMessage()
func (*ConcatParameter) Reset ¶
func (m *ConcatParameter) Reset()
func (*ConcatParameter) Size ¶
func (m *ConcatParameter) Size() (n int)
func (*ConcatParameter) String ¶
func (m *ConcatParameter) String() string
func (*ConcatParameter) Unmarshal ¶
func (m *ConcatParameter) Unmarshal(dAtA []byte) error
type ContrastiveLossParameter ¶
type ContrastiveLossParameter struct { // margin for dissimilar pair Margin *float32 `protobuf:"fixed32,1,opt,name=margin,def=1" json:"margin,omitempty"` // The first implementation of this cost did not exactly match the cost of // Hadsell et al 2006 -- using (margin - d^2) instead of (margin - d)^2. // legacy_version = false (the default) uses (margin - d)^2 as proposed in the // Hadsell paper. New models should probably use this version. // legacy_version = true uses (margin - d^2). This is kept to support / // reproduce existing models and results LegacyVersion *bool `protobuf:"varint,2,opt,name=legacy_version,json=legacyVersion,def=0" json:"legacy_version,omitempty"` }
func (*ContrastiveLossParameter) Descriptor ¶
func (*ContrastiveLossParameter) Descriptor() ([]byte, []int)
func (*ContrastiveLossParameter) GetLegacyVersion ¶
func (m *ContrastiveLossParameter) GetLegacyVersion() bool
func (*ContrastiveLossParameter) GetMargin ¶
func (m *ContrastiveLossParameter) GetMargin() float32
func (*ContrastiveLossParameter) Marshal ¶
func (m *ContrastiveLossParameter) Marshal() (dAtA []byte, err error)
func (*ContrastiveLossParameter) MarshalTo ¶
func (m *ContrastiveLossParameter) MarshalTo(dAtA []byte) (int, error)
func (*ContrastiveLossParameter) ProtoMessage ¶
func (*ContrastiveLossParameter) ProtoMessage()
func (*ContrastiveLossParameter) Reset ¶
func (m *ContrastiveLossParameter) Reset()
func (*ContrastiveLossParameter) Size ¶
func (m *ContrastiveLossParameter) Size() (n int)
func (*ContrastiveLossParameter) String ¶
func (m *ContrastiveLossParameter) String() string
func (*ContrastiveLossParameter) Unmarshal ¶
func (m *ContrastiveLossParameter) Unmarshal(dAtA []byte) error
type ConvolutionParameter ¶
type ConvolutionParameter struct { NumOutput uint32 `protobuf:"varint,1,opt,name=num_output,json=numOutput" json:"num_output"` BiasTerm *bool `protobuf:"varint,2,opt,name=bias_term,json=biasTerm,def=1" json:"bias_term,omitempty"` // Pad, kernel size, and stride are all given as a single value for equal // dimensions in all spatial dimensions, or once per spatial dimension. Pad []uint32 `protobuf:"varint,3,rep,name=pad" json:"pad,omitempty"` KernelSize []uint32 `protobuf:"varint,4,rep,name=kernel_size,json=kernelSize" json:"kernel_size,omitempty"` Stride []uint32 `protobuf:"varint,6,rep,name=stride" json:"stride,omitempty"` // Factor used to dilate the kernel, (implicitly) zero-filling the resulting // holes. (Kernel dilation is sometimes referred to by its use in the // algorithme à trous from Holschneider et al. 1987.) Dilation []uint32 `protobuf:"varint,18,rep,name=dilation" json:"dilation,omitempty"` // For 2D convolution only, the *_h and *_w versions may also be used to // specify both spatial dimensions. PadH *uint32 `protobuf:"varint,9,opt,name=pad_h,json=padH,def=0" json:"pad_h,omitempty"` PadW *uint32 `protobuf:"varint,10,opt,name=pad_w,json=padW,def=0" json:"pad_w,omitempty"` KernelH uint32 `protobuf:"varint,11,opt,name=kernel_h,json=kernelH" json:"kernel_h"` KernelW uint32 `protobuf:"varint,12,opt,name=kernel_w,json=kernelW" json:"kernel_w"` StrideH uint32 `protobuf:"varint,13,opt,name=stride_h,json=strideH" json:"stride_h"` StrideW uint32 `protobuf:"varint,14,opt,name=stride_w,json=strideW" json:"stride_w"` Group *uint32 `protobuf:"varint,5,opt,name=group,def=1" json:"group,omitempty"` WeightFiller *FillerParameter `protobuf:"bytes,7,opt,name=weight_filler,json=weightFiller" json:"weight_filler,omitempty"` BiasFiller *FillerParameter `protobuf:"bytes,8,opt,name=bias_filler,json=biasFiller" json:"bias_filler,omitempty"` Engine *ConvolutionParameter_Engine `protobuf:"varint,15,opt,name=engine,enum=caffe.ConvolutionParameter_Engine,def=0" json:"engine,omitempty"` // The axis to interpret as "channels" when performing convolution. // Preceding dimensions are treated as independent inputs; // succeeding dimensions are treated as "spatial". // With (N, C, H, W) inputs, and axis == 1 (the default), we perform // N independent 2D convolutions, sliding C-channel (or (C/g)-channels, for // groups g>1) filters across the spatial axes (H, W) of the input. // With (N, C, D, H, W) inputs, and axis == 1, we perform // N independent 3D convolutions, sliding (C/g)-channels // filters across the spatial axes (D, H, W) of the input. Axis *int32 `protobuf:"varint,16,opt,name=axis,def=1" json:"axis,omitempty"` // Whether to force use of the general ND convolution, even if a specific // implementation for blobs of the appropriate number of spatial dimensions // is available. (Currently, there is only a 2D-specific convolution // implementation; for input blobs with num_axes != 2, this option is // ignored and the ND implementation will be used.) ForceNdIm2Col *bool `protobuf:"varint,17,opt,name=force_nd_im2col,json=forceNdIm2col,def=0" json:"force_nd_im2col,omitempty"` }
func (*ConvolutionParameter) Descriptor ¶
func (*ConvolutionParameter) Descriptor() ([]byte, []int)
func (*ConvolutionParameter) GetAxis ¶
func (m *ConvolutionParameter) GetAxis() int32
func (*ConvolutionParameter) GetBiasFiller ¶
func (m *ConvolutionParameter) GetBiasFiller() *FillerParameter
func (*ConvolutionParameter) GetBiasTerm ¶
func (m *ConvolutionParameter) GetBiasTerm() bool
func (*ConvolutionParameter) GetDilation ¶
func (m *ConvolutionParameter) GetDilation() []uint32
func (*ConvolutionParameter) GetEngine ¶
func (m *ConvolutionParameter) GetEngine() ConvolutionParameter_Engine
func (*ConvolutionParameter) GetForceNdIm2Col ¶
func (m *ConvolutionParameter) GetForceNdIm2Col() bool
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) Marshal ¶
func (m *ConvolutionParameter) Marshal() (dAtA []byte, err error)
func (*ConvolutionParameter) MarshalTo ¶
func (m *ConvolutionParameter) MarshalTo(dAtA []byte) (int, error)
func (*ConvolutionParameter) ProtoMessage ¶
func (*ConvolutionParameter) ProtoMessage()
func (*ConvolutionParameter) Reset ¶
func (m *ConvolutionParameter) Reset()
func (*ConvolutionParameter) Size ¶
func (m *ConvolutionParameter) Size() (n int)
func (*ConvolutionParameter) String ¶
func (m *ConvolutionParameter) String() string
func (*ConvolutionParameter) Unmarshal ¶
func (m *ConvolutionParameter) Unmarshal(dAtA []byte) error
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 (x ConvolutionParameter_Engine) Enum() *ConvolutionParameter_Engine
func (ConvolutionParameter_Engine) EnumDescriptor ¶
func (ConvolutionParameter_Engine) EnumDescriptor() ([]byte, []int)
func (ConvolutionParameter_Engine) String ¶
func (x ConvolutionParameter_Engine) String() string
func (*ConvolutionParameter_Engine) UnmarshalJSON ¶
func (x *ConvolutionParameter_Engine) UnmarshalJSON(data []byte) error
type CropParameter ¶
type CropParameter struct { // To crop, elements of the first bottom are selected to fit the dimensions // of the second, reference bottom. The crop is configured by // - the crop `axis` to pick the dimensions for cropping // - the crop `offset` to set the shift for all/each dimension // to align the cropped bottom with the reference bottom. // All dimensions up to but excluding `axis` are preserved, while // the dimensions including and trailing `axis` are cropped. // If only one `offset` is set, then all dimensions are offset by this amount. // Otherwise, the number of offsets must equal the number of cropped axes to // shift the crop in each dimension accordingly. // Note: standard dimensions are N,C,H,W so the default is a spatial crop, // and `axis` may be negative to index from the end (e.g., -1 for the last // axis). Axis *int32 `protobuf:"varint,1,opt,name=axis,def=2" json:"axis,omitempty"` Offset []uint32 `protobuf:"varint,2,rep,name=offset" json:"offset,omitempty"` }
func (*CropParameter) Descriptor ¶
func (*CropParameter) Descriptor() ([]byte, []int)
func (*CropParameter) GetAxis ¶
func (m *CropParameter) GetAxis() int32
func (*CropParameter) GetOffset ¶
func (m *CropParameter) GetOffset() []uint32
func (*CropParameter) Marshal ¶
func (m *CropParameter) Marshal() (dAtA []byte, err error)
func (*CropParameter) ProtoMessage ¶
func (*CropParameter) ProtoMessage()
func (*CropParameter) Reset ¶
func (m *CropParameter) Reset()
func (*CropParameter) Size ¶
func (m *CropParameter) Size() (n int)
func (*CropParameter) String ¶
func (m *CropParameter) String() string
func (*CropParameter) Unmarshal ¶
func (m *CropParameter) Unmarshal(dAtA []byte) error
type DataParameter ¶
type DataParameter struct { // Specify the data source. Source string `protobuf:"bytes,1,opt,name=source" json:"source"` // Specify the batch size. BatchSize uint32 `protobuf:"varint,4,opt,name=batch_size,json=batchSize" json:"batch_size"` // 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. // DEPRECATED. Each solver accesses a different subset of the database. RandSkip *uint32 `protobuf:"varint,7,opt,name=rand_skip,json=randSkip,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=meanFile" json:"mean_file"` // DEPRECATED. See TransformationParameter. Specify if we would like to randomly // crop an image. CropSize *uint32 `protobuf:"varint,5,opt,name=crop_size,json=cropSize,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,json=forceEncodedColor,def=0" json:"force_encoded_color,omitempty"` // Prefetch queue (Number of batches to prefetch to host memory, increase if // data access bandwidth varies). Prefetch *uint32 `protobuf:"varint,10,opt,name=prefetch,def=4" json:"prefetch,omitempty"` }
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) GetPrefetch ¶
func (m *DataParameter) GetPrefetch() uint32
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) Marshal ¶
func (m *DataParameter) Marshal() (dAtA []byte, err error)
func (*DataParameter) ProtoMessage ¶
func (*DataParameter) ProtoMessage()
func (*DataParameter) Reset ¶
func (m *DataParameter) Reset()
func (*DataParameter) Size ¶
func (m *DataParameter) Size() (n int)
func (*DataParameter) String ¶
func (m *DataParameter) String() string
func (*DataParameter) Unmarshal ¶
func (m *DataParameter) Unmarshal(dAtA []byte) error
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 (x DataParameter_DB) Enum() *DataParameter_DB
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"` Height int32 `protobuf:"varint,2,opt,name=height" json:"height"` Width int32 `protobuf:"varint,3,opt,name=width" json:"width"` // the actual image data, in bytes Data []byte `protobuf:"bytes,4,opt,name=data" json:"data"` Label int32 `protobuf:"varint,5,opt,name=label" json:"label"` // Optionally, the datum could also hold float data. FloatData []float32 `protobuf:"fixed32,6,rep,name=float_data,json=floatData" 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"` }
func (*Datum) Descriptor ¶
func (*Datum) GetChannels ¶
func (*Datum) GetEncoded ¶
func (*Datum) GetFloatData ¶
func (*Datum) ProtoMessage ¶
func (*Datum) ProtoMessage()
type DropoutParameter ¶
type DropoutParameter struct {
DropoutRatio *float32 `protobuf:"fixed32,1,opt,name=dropout_ratio,json=dropoutRatio,def=0.5" json:"dropout_ratio,omitempty"`
}
func (*DropoutParameter) Descriptor ¶
func (*DropoutParameter) Descriptor() ([]byte, []int)
func (*DropoutParameter) GetDropoutRatio ¶
func (m *DropoutParameter) GetDropoutRatio() float32
func (*DropoutParameter) Marshal ¶
func (m *DropoutParameter) Marshal() (dAtA []byte, err error)
func (*DropoutParameter) ProtoMessage ¶
func (*DropoutParameter) ProtoMessage()
func (*DropoutParameter) Reset ¶
func (m *DropoutParameter) Reset()
func (*DropoutParameter) Size ¶
func (m *DropoutParameter) Size() (n int)
func (*DropoutParameter) String ¶
func (m *DropoutParameter) String() string
func (*DropoutParameter) Unmarshal ¶
func (m *DropoutParameter) Unmarshal(dAtA []byte) error
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=dataFiller" 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"` }
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) Marshal ¶
func (m *DummyDataParameter) Marshal() (dAtA []byte, err error)
func (*DummyDataParameter) MarshalTo ¶
func (m *DummyDataParameter) MarshalTo(dAtA []byte) (int, error)
func (*DummyDataParameter) ProtoMessage ¶
func (*DummyDataParameter) ProtoMessage()
func (*DummyDataParameter) Reset ¶
func (m *DummyDataParameter) Reset()
func (*DummyDataParameter) Size ¶
func (m *DummyDataParameter) Size() (n int)
func (*DummyDataParameter) String ¶
func (m *DummyDataParameter) String() string
func (*DummyDataParameter) Unmarshal ¶
func (m *DummyDataParameter) Unmarshal(dAtA []byte) error
type ELUParameter ¶
type ELUParameter struct { // Described in: // Clevert, D.-A., Unterthiner, T., & Hochreiter, S. (2015). Fast and Accurate // Deep Network Learning by Exponential Linear Units (ELUs). arXiv Alpha *float32 `protobuf:"fixed32,1,opt,name=alpha,def=1" json:"alpha,omitempty"` }
Message that stores parameters used by ELULayer
func (*ELUParameter) Descriptor ¶
func (*ELUParameter) Descriptor() ([]byte, []int)
func (*ELUParameter) GetAlpha ¶
func (m *ELUParameter) GetAlpha() float32
func (*ELUParameter) Marshal ¶
func (m *ELUParameter) Marshal() (dAtA []byte, err error)
func (*ELUParameter) ProtoMessage ¶
func (*ELUParameter) ProtoMessage()
func (*ELUParameter) Reset ¶
func (m *ELUParameter) Reset()
func (*ELUParameter) Size ¶
func (m *ELUParameter) Size() (n int)
func (*ELUParameter) String ¶
func (m *ELUParameter) String() string
func (*ELUParameter) Unmarshal ¶
func (m *ELUParameter) Unmarshal(dAtA []byte) error
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,json=stableProdGrad,def=1" json:"stable_prod_grad,omitempty"` }
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) Marshal ¶
func (m *EltwiseParameter) Marshal() (dAtA []byte, err error)
func (*EltwiseParameter) ProtoMessage ¶
func (*EltwiseParameter) ProtoMessage()
func (*EltwiseParameter) Reset ¶
func (m *EltwiseParameter) Reset()
func (*EltwiseParameter) Size ¶
func (m *EltwiseParameter) Size() (n int)
func (*EltwiseParameter) String ¶
func (m *EltwiseParameter) String() string
func (*EltwiseParameter) Unmarshal ¶
func (m *EltwiseParameter) Unmarshal(dAtA []byte) error
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 (x EltwiseParameter_EltwiseOp) Enum() *EltwiseParameter_EltwiseOp
func (EltwiseParameter_EltwiseOp) EnumDescriptor ¶
func (EltwiseParameter_EltwiseOp) EnumDescriptor() ([]byte, []int)
func (EltwiseParameter_EltwiseOp) String ¶
func (x EltwiseParameter_EltwiseOp) String() string
func (*EltwiseParameter_EltwiseOp) UnmarshalJSON ¶
func (x *EltwiseParameter_EltwiseOp) UnmarshalJSON(data []byte) error
type EmbedParameter ¶
type EmbedParameter struct { NumOutput uint32 `protobuf:"varint,1,opt,name=num_output,json=numOutput" json:"num_output"` // The input is given as integers to be interpreted as one-hot // vector indices with dimension num_input. Hence num_input should be // 1 greater than the maximum possible input value. InputDim uint32 `protobuf:"varint,2,opt,name=input_dim,json=inputDim" json:"input_dim"` BiasTerm *bool `protobuf:"varint,3,opt,name=bias_term,json=biasTerm,def=1" json:"bias_term,omitempty"` WeightFiller *FillerParameter `protobuf:"bytes,4,opt,name=weight_filler,json=weightFiller" json:"weight_filler,omitempty"` BiasFiller *FillerParameter `protobuf:"bytes,5,opt,name=bias_filler,json=biasFiller" json:"bias_filler,omitempty"` }
Message that stores parameters used by EmbedLayer
func (*EmbedParameter) Descriptor ¶
func (*EmbedParameter) Descriptor() ([]byte, []int)
func (*EmbedParameter) GetBiasFiller ¶
func (m *EmbedParameter) GetBiasFiller() *FillerParameter
func (*EmbedParameter) GetBiasTerm ¶
func (m *EmbedParameter) GetBiasTerm() bool
func (*EmbedParameter) GetInputDim ¶
func (m *EmbedParameter) GetInputDim() uint32
func (*EmbedParameter) GetNumOutput ¶
func (m *EmbedParameter) GetNumOutput() uint32
func (*EmbedParameter) GetWeightFiller ¶
func (m *EmbedParameter) GetWeightFiller() *FillerParameter
func (*EmbedParameter) Marshal ¶
func (m *EmbedParameter) Marshal() (dAtA []byte, err error)
func (*EmbedParameter) ProtoMessage ¶
func (*EmbedParameter) ProtoMessage()
func (*EmbedParameter) Reset ¶
func (m *EmbedParameter) Reset()
func (*EmbedParameter) Size ¶
func (m *EmbedParameter) Size() (n int)
func (*EmbedParameter) String ¶
func (m *EmbedParameter) String() string
func (*EmbedParameter) Unmarshal ¶
func (m *EmbedParameter) Unmarshal(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"` }
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) Marshal ¶
func (m *ExpParameter) Marshal() (dAtA []byte, err error)
func (*ExpParameter) ProtoMessage ¶
func (*ExpParameter) ProtoMessage()
func (*ExpParameter) Reset ¶
func (m *ExpParameter) Reset()
func (*ExpParameter) Size ¶
func (m *ExpParameter) Size() (n int)
func (*ExpParameter) String ¶
func (m *ExpParameter) String() string
func (*ExpParameter) Unmarshal ¶
func (m *ExpParameter) Unmarshal(dAtA []byte) error
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"` VarianceNorm *FillerParameter_VarianceNorm `` /* 137-byte string literal not displayed */ }
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) GetVarianceNorm ¶
func (m *FillerParameter) GetVarianceNorm() FillerParameter_VarianceNorm
func (*FillerParameter) Marshal ¶
func (m *FillerParameter) Marshal() (dAtA []byte, err error)
func (*FillerParameter) ProtoMessage ¶
func (*FillerParameter) ProtoMessage()
func (*FillerParameter) Reset ¶
func (m *FillerParameter) Reset()
func (*FillerParameter) Size ¶
func (m *FillerParameter) Size() (n int)
func (*FillerParameter) String ¶
func (m *FillerParameter) String() string
func (*FillerParameter) Unmarshal ¶
func (m *FillerParameter) Unmarshal(dAtA []byte) error
type FillerParameter_VarianceNorm ¶
type FillerParameter_VarianceNorm int32
Normalize the filler variance by fan_in, fan_out, or their average. Applies to 'xavier' and 'msra' fillers.
const ( FillerParameter_FAN_IN FillerParameter_VarianceNorm = 0 FillerParameter_FAN_OUT FillerParameter_VarianceNorm = 1 FillerParameter_AVERAGE FillerParameter_VarianceNorm = 2 )
const Default_FillerParameter_VarianceNorm FillerParameter_VarianceNorm = FillerParameter_FAN_IN
func (FillerParameter_VarianceNorm) Enum ¶
func (x FillerParameter_VarianceNorm) Enum() *FillerParameter_VarianceNorm
func (FillerParameter_VarianceNorm) EnumDescriptor ¶
func (FillerParameter_VarianceNorm) EnumDescriptor() ([]byte, []int)
func (FillerParameter_VarianceNorm) String ¶
func (x FillerParameter_VarianceNorm) String() string
func (*FillerParameter_VarianceNorm) UnmarshalJSON ¶
func (x *FillerParameter_VarianceNorm) UnmarshalJSON(data []byte) error
type FlattenParameter ¶
type FlattenParameter struct { // The first axis to flatten: 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,1,opt,name=axis,def=1" json:"axis,omitempty"` // The last axis to flatten: all following axes are retained in the output. // May be negative to index from the end (e.g., the default -1 for the last // axis). EndAxis *int32 `protobuf:"varint,2,opt,name=end_axis,json=endAxis,def=-1" json:"end_axis,omitempty"` }
/ Message that stores parameters used by FlattenLayer
func (*FlattenParameter) Descriptor ¶
func (*FlattenParameter) Descriptor() ([]byte, []int)
func (*FlattenParameter) GetAxis ¶
func (m *FlattenParameter) GetAxis() int32
func (*FlattenParameter) GetEndAxis ¶
func (m *FlattenParameter) GetEndAxis() int32
func (*FlattenParameter) Marshal ¶
func (m *FlattenParameter) Marshal() (dAtA []byte, err error)
func (*FlattenParameter) ProtoMessage ¶
func (*FlattenParameter) ProtoMessage()
func (*FlattenParameter) Reset ¶
func (m *FlattenParameter) Reset()
func (*FlattenParameter) Size ¶
func (m *FlattenParameter) Size() (n int)
func (*FlattenParameter) String ¶
func (m *FlattenParameter) String() string
func (*FlattenParameter) Unmarshal ¶
func (m *FlattenParameter) Unmarshal(dAtA []byte) error
type HDF5DataParameter ¶
type HDF5DataParameter struct { // Specify the data source. Source string `protobuf:"bytes,1,opt,name=source" json:"source"` // Specify the batch size. BatchSize uint32 `protobuf:"varint,2,opt,name=batch_size,json=batchSize" json:"batch_size"` // 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"` }
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) Marshal ¶
func (m *HDF5DataParameter) Marshal() (dAtA []byte, err error)
func (*HDF5DataParameter) MarshalTo ¶
func (m *HDF5DataParameter) MarshalTo(dAtA []byte) (int, error)
func (*HDF5DataParameter) ProtoMessage ¶
func (*HDF5DataParameter) ProtoMessage()
func (*HDF5DataParameter) Reset ¶
func (m *HDF5DataParameter) Reset()
func (*HDF5DataParameter) Size ¶
func (m *HDF5DataParameter) Size() (n int)
func (*HDF5DataParameter) String ¶
func (m *HDF5DataParameter) String() string
func (*HDF5DataParameter) Unmarshal ¶
func (m *HDF5DataParameter) Unmarshal(dAtA []byte) error
type HDF5OutputParameter ¶
type HDF5OutputParameter struct {
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName" json:"file_name"`
}
func (*HDF5OutputParameter) Descriptor ¶
func (*HDF5OutputParameter) Descriptor() ([]byte, []int)
func (*HDF5OutputParameter) GetFileName ¶
func (m *HDF5OutputParameter) GetFileName() string
func (*HDF5OutputParameter) Marshal ¶
func (m *HDF5OutputParameter) Marshal() (dAtA []byte, err error)
func (*HDF5OutputParameter) MarshalTo ¶
func (m *HDF5OutputParameter) MarshalTo(dAtA []byte) (int, error)
func (*HDF5OutputParameter) ProtoMessage ¶
func (*HDF5OutputParameter) ProtoMessage()
func (*HDF5OutputParameter) Reset ¶
func (m *HDF5OutputParameter) Reset()
func (*HDF5OutputParameter) Size ¶
func (m *HDF5OutputParameter) Size() (n int)
func (*HDF5OutputParameter) String ¶
func (m *HDF5OutputParameter) String() string
func (*HDF5OutputParameter) Unmarshal ¶
func (m *HDF5OutputParameter) Unmarshal(dAtA []byte) error
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"` }
func (*HingeLossParameter) Descriptor ¶
func (*HingeLossParameter) Descriptor() ([]byte, []int)
func (*HingeLossParameter) GetNorm ¶
func (m *HingeLossParameter) GetNorm() HingeLossParameter_Norm
func (*HingeLossParameter) Marshal ¶
func (m *HingeLossParameter) Marshal() (dAtA []byte, err error)
func (*HingeLossParameter) MarshalTo ¶
func (m *HingeLossParameter) MarshalTo(dAtA []byte) (int, error)
func (*HingeLossParameter) ProtoMessage ¶
func (*HingeLossParameter) ProtoMessage()
func (*HingeLossParameter) Reset ¶
func (m *HingeLossParameter) Reset()
func (*HingeLossParameter) Size ¶
func (m *HingeLossParameter) Size() (n int)
func (*HingeLossParameter) String ¶
func (m *HingeLossParameter) String() string
func (*HingeLossParameter) Unmarshal ¶
func (m *HingeLossParameter) Unmarshal(dAtA []byte) error
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 (x HingeLossParameter_Norm) Enum() *HingeLossParameter_Norm
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"` // Specify the batch size. BatchSize *uint32 `protobuf:"varint,4,opt,name=batch_size,json=batchSize,def=1" 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,json=randSkip,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,json=newHeight,def=0" json:"new_height,omitempty"` NewWidth *uint32 `protobuf:"varint,10,opt,name=new_width,json=newWidth,def=0" json:"new_width,omitempty"` // Specify if the images are color or gray IsColor *bool `protobuf:"varint,11,opt,name=is_color,json=isColor,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=meanFile" json:"mean_file"` // DEPRECATED. See TransformationParameter. Specify if we would like to randomly // crop an image. CropSize *uint32 `protobuf:"varint,5,opt,name=crop_size,json=cropSize,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,json=rootFolder,def=" json:"root_folder,omitempty"` }
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) Marshal ¶
func (m *ImageDataParameter) Marshal() (dAtA []byte, err error)
func (*ImageDataParameter) MarshalTo ¶
func (m *ImageDataParameter) MarshalTo(dAtA []byte) (int, error)
func (*ImageDataParameter) ProtoMessage ¶
func (*ImageDataParameter) ProtoMessage()
func (*ImageDataParameter) Reset ¶
func (m *ImageDataParameter) Reset()
func (*ImageDataParameter) Size ¶
func (m *ImageDataParameter) Size() (n int)
func (*ImageDataParameter) String ¶
func (m *ImageDataParameter) String() string
func (*ImageDataParameter) Unmarshal ¶
func (m *ImageDataParameter) Unmarshal(dAtA []byte) error
type InfogainLossParameter ¶
type InfogainLossParameter struct { // Specify the infogain matrix source. Source string `protobuf:"bytes,1,opt,name=source" json:"source"` }
func (*InfogainLossParameter) Descriptor ¶
func (*InfogainLossParameter) Descriptor() ([]byte, []int)
func (*InfogainLossParameter) GetSource ¶
func (m *InfogainLossParameter) GetSource() string
func (*InfogainLossParameter) Marshal ¶
func (m *InfogainLossParameter) Marshal() (dAtA []byte, err error)
func (*InfogainLossParameter) MarshalTo ¶
func (m *InfogainLossParameter) MarshalTo(dAtA []byte) (int, error)
func (*InfogainLossParameter) ProtoMessage ¶
func (*InfogainLossParameter) ProtoMessage()
func (*InfogainLossParameter) Reset ¶
func (m *InfogainLossParameter) Reset()
func (*InfogainLossParameter) Size ¶
func (m *InfogainLossParameter) Size() (n int)
func (*InfogainLossParameter) String ¶
func (m *InfogainLossParameter) String() string
func (*InfogainLossParameter) Unmarshal ¶
func (m *InfogainLossParameter) Unmarshal(dAtA []byte) error
type InnerProductParameter ¶
type InnerProductParameter struct { NumOutput uint32 `protobuf:"varint,1,opt,name=num_output,json=numOutput" json:"num_output"` BiasTerm *bool `protobuf:"varint,2,opt,name=bias_term,json=biasTerm,def=1" json:"bias_term,omitempty"` WeightFiller *FillerParameter `protobuf:"bytes,3,opt,name=weight_filler,json=weightFiller" json:"weight_filler,omitempty"` BiasFiller *FillerParameter `protobuf:"bytes,4,opt,name=bias_filler,json=biasFiller" 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"` // Specify whether to transpose the weight matrix or not. // If transpose == true, any operations will be performed on the transpose // of the weight matrix. The weight matrix itself is not going to be transposed // but rather the transfer flag of operations will be toggled accordingly. Transpose *bool `protobuf:"varint,6,opt,name=transpose,def=0" json:"transpose,omitempty"` }
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) GetTranspose ¶
func (m *InnerProductParameter) GetTranspose() bool
func (*InnerProductParameter) GetWeightFiller ¶
func (m *InnerProductParameter) GetWeightFiller() *FillerParameter
func (*InnerProductParameter) Marshal ¶
func (m *InnerProductParameter) Marshal() (dAtA []byte, err error)
func (*InnerProductParameter) MarshalTo ¶
func (m *InnerProductParameter) MarshalTo(dAtA []byte) (int, error)
func (*InnerProductParameter) ProtoMessage ¶
func (*InnerProductParameter) ProtoMessage()
func (*InnerProductParameter) Reset ¶
func (m *InnerProductParameter) Reset()
func (*InnerProductParameter) Size ¶
func (m *InnerProductParameter) Size() (n int)
func (*InnerProductParameter) String ¶
func (m *InnerProductParameter) String() string
func (*InnerProductParameter) Unmarshal ¶
func (m *InnerProductParameter) Unmarshal(dAtA []byte) error
type InputParameter ¶
type InputParameter struct { // This layer produces N >= 1 top blob(s) to be assigned manually. // Define N shapes to set a shape for each top. // Define 1 shape to set the same shape for every top. // Define no shape to defer to reshaping manually. Shape []*BlobShape `protobuf:"bytes,1,rep,name=shape" json:"shape,omitempty"` }
func (*InputParameter) Descriptor ¶
func (*InputParameter) Descriptor() ([]byte, []int)
func (*InputParameter) GetShape ¶
func (m *InputParameter) GetShape() []*BlobShape
func (*InputParameter) Marshal ¶
func (m *InputParameter) Marshal() (dAtA []byte, err error)
func (*InputParameter) ProtoMessage ¶
func (*InputParameter) ProtoMessage()
func (*InputParameter) Reset ¶
func (m *InputParameter) Reset()
func (*InputParameter) Size ¶
func (m *InputParameter) Size() (n int)
func (*InputParameter) String ¶
func (m *InputParameter) String() string
func (*InputParameter) Unmarshal ¶
func (m *InputParameter) Unmarshal(dAtA []byte) error
type LRNParameter ¶
type LRNParameter struct { LocalSize *uint32 `protobuf:"varint,1,opt,name=local_size,json=localSize,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 `` /* 126-byte string literal not displayed */ K *float32 `protobuf:"fixed32,5,opt,name=k,def=1" json:"k,omitempty"` Engine *LRNParameter_Engine `protobuf:"varint,6,opt,name=engine,enum=caffe.LRNParameter_Engine,def=0" json:"engine,omitempty"` }
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) GetEngine ¶
func (m *LRNParameter) GetEngine() LRNParameter_Engine
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) Marshal ¶
func (m *LRNParameter) Marshal() (dAtA []byte, err error)
func (*LRNParameter) ProtoMessage ¶
func (*LRNParameter) ProtoMessage()
func (*LRNParameter) Reset ¶
func (m *LRNParameter) Reset()
func (*LRNParameter) Size ¶
func (m *LRNParameter) Size() (n int)
func (*LRNParameter) String ¶
func (m *LRNParameter) String() string
func (*LRNParameter) Unmarshal ¶
func (m *LRNParameter) Unmarshal(dAtA []byte) error
type LRNParameter_Engine ¶
type LRNParameter_Engine int32
const ( LRNParameter_DEFAULT LRNParameter_Engine = 0 LRNParameter_CAFFE LRNParameter_Engine = 1 LRNParameter_CUDNN LRNParameter_Engine = 2 )
const Default_LRNParameter_Engine LRNParameter_Engine = LRNParameter_DEFAULT
func (LRNParameter_Engine) Enum ¶
func (x LRNParameter_Engine) Enum() *LRNParameter_Engine
func (LRNParameter_Engine) EnumDescriptor ¶
func (LRNParameter_Engine) EnumDescriptor() ([]byte, []int)
func (LRNParameter_Engine) String ¶
func (x LRNParameter_Engine) String() string
func (*LRNParameter_Engine) UnmarshalJSON ¶
func (x *LRNParameter_Engine) UnmarshalJSON(data []byte) error
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 (x LRNParameter_NormRegion) Enum() *LRNParameter_NormRegion
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"` Type string `protobuf:"bytes,2,opt,name=type" json:"type"` 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"` // 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=lossWeight" 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"` // Specifies whether to backpropagate to each bottom. If unspecified, // Caffe will automatically infer whether each input needs backpropagation // to compute parameter gradients. If set to true for some inputs, // backpropagation to those inputs is forced; if set false for some inputs, // backpropagation to those inputs is skipped. // // The size must be either 0 or equal to the number of bottoms. PropagateDown []bool `protobuf:"varint,11,rep,name=propagate_down,json=propagateDown" json:"propagate_down,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=transformParam" json:"transform_param,omitempty"` // Parameters shared by loss layers. LossParam *LossParameter `protobuf:"bytes,101,opt,name=loss_param,json=lossParam" 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=accuracyParam" json:"accuracy_param,omitempty"` ArgmaxParam *ArgMaxParameter `protobuf:"bytes,103,opt,name=argmax_param,json=argmaxParam" json:"argmax_param,omitempty"` BatchNormParam *BatchNormParameter `protobuf:"bytes,139,opt,name=batch_norm_param,json=batchNormParam" json:"batch_norm_param,omitempty"` BiasParam *BiasParameter `protobuf:"bytes,141,opt,name=bias_param,json=biasParam" json:"bias_param,omitempty"` ConcatParam *ConcatParameter `protobuf:"bytes,104,opt,name=concat_param,json=concatParam" json:"concat_param,omitempty"` ContrastiveLossParam *ContrastiveLossParameter `protobuf:"bytes,105,opt,name=contrastive_loss_param,json=contrastiveLossParam" json:"contrastive_loss_param,omitempty"` ConvolutionParam *ConvolutionParameter `protobuf:"bytes,106,opt,name=convolution_param,json=convolutionParam" json:"convolution_param,omitempty"` CropParam *CropParameter `protobuf:"bytes,144,opt,name=crop_param,json=cropParam" json:"crop_param,omitempty"` DataParam *DataParameter `protobuf:"bytes,107,opt,name=data_param,json=dataParam" json:"data_param,omitempty"` DropoutParam *DropoutParameter `protobuf:"bytes,108,opt,name=dropout_param,json=dropoutParam" json:"dropout_param,omitempty"` DummyDataParam *DummyDataParameter `protobuf:"bytes,109,opt,name=dummy_data_param,json=dummyDataParam" json:"dummy_data_param,omitempty"` EltwiseParam *EltwiseParameter `protobuf:"bytes,110,opt,name=eltwise_param,json=eltwiseParam" json:"eltwise_param,omitempty"` EluParam *ELUParameter `protobuf:"bytes,140,opt,name=elu_param,json=eluParam" json:"elu_param,omitempty"` EmbedParam *EmbedParameter `protobuf:"bytes,137,opt,name=embed_param,json=embedParam" json:"embed_param,omitempty"` ExpParam *ExpParameter `protobuf:"bytes,111,opt,name=exp_param,json=expParam" json:"exp_param,omitempty"` FlattenParam *FlattenParameter `protobuf:"bytes,135,opt,name=flatten_param,json=flattenParam" json:"flatten_param,omitempty"` Hdf5DataParam *HDF5DataParameter `protobuf:"bytes,112,opt,name=hdf5_data_param,json=hdf5DataParam" json:"hdf5_data_param,omitempty"` Hdf5OutputParam *HDF5OutputParameter `protobuf:"bytes,113,opt,name=hdf5_output_param,json=hdf5OutputParam" json:"hdf5_output_param,omitempty"` HingeLossParam *HingeLossParameter `protobuf:"bytes,114,opt,name=hinge_loss_param,json=hingeLossParam" json:"hinge_loss_param,omitempty"` ImageDataParam *ImageDataParameter `protobuf:"bytes,115,opt,name=image_data_param,json=imageDataParam" json:"image_data_param,omitempty"` InfogainLossParam *InfogainLossParameter `protobuf:"bytes,116,opt,name=infogain_loss_param,json=infogainLossParam" json:"infogain_loss_param,omitempty"` InnerProductParam *InnerProductParameter `protobuf:"bytes,117,opt,name=inner_product_param,json=innerProductParam" json:"inner_product_param,omitempty"` InputParam *InputParameter `protobuf:"bytes,143,opt,name=input_param,json=inputParam" json:"input_param,omitempty"` LogParam *LogParameter `protobuf:"bytes,134,opt,name=log_param,json=logParam" json:"log_param,omitempty"` LrnParam *LRNParameter `protobuf:"bytes,118,opt,name=lrn_param,json=lrnParam" json:"lrn_param,omitempty"` MemoryDataParam *MemoryDataParameter `protobuf:"bytes,119,opt,name=memory_data_param,json=memoryDataParam" json:"memory_data_param,omitempty"` MvnParam *MVNParameter `protobuf:"bytes,120,opt,name=mvn_param,json=mvnParam" json:"mvn_param,omitempty"` ParameterParam *ParameterParameter `protobuf:"bytes,145,opt,name=parameter_param,json=parameterParam" json:"parameter_param,omitempty"` PoolingParam *PoolingParameter `protobuf:"bytes,121,opt,name=pooling_param,json=poolingParam" json:"pooling_param,omitempty"` PowerParam *PowerParameter `protobuf:"bytes,122,opt,name=power_param,json=powerParam" json:"power_param,omitempty"` PreluParam *PReLUParameter `protobuf:"bytes,131,opt,name=prelu_param,json=preluParam" json:"prelu_param,omitempty"` PythonParam *PythonParameter `protobuf:"bytes,130,opt,name=python_param,json=pythonParam" json:"python_param,omitempty"` RecurrentParam *RecurrentParameter `protobuf:"bytes,146,opt,name=recurrent_param,json=recurrentParam" json:"recurrent_param,omitempty"` ReductionParam *ReductionParameter `protobuf:"bytes,136,opt,name=reduction_param,json=reductionParam" json:"reduction_param,omitempty"` ReluParam *ReLUParameter `protobuf:"bytes,123,opt,name=relu_param,json=reluParam" json:"relu_param,omitempty"` ReshapeParam *ReshapeParameter `protobuf:"bytes,133,opt,name=reshape_param,json=reshapeParam" json:"reshape_param,omitempty"` ScaleParam *ScaleParameter `protobuf:"bytes,142,opt,name=scale_param,json=scaleParam" json:"scale_param,omitempty"` SigmoidParam *SigmoidParameter `protobuf:"bytes,124,opt,name=sigmoid_param,json=sigmoidParam" json:"sigmoid_param,omitempty"` SoftmaxParam *SoftmaxParameter `protobuf:"bytes,125,opt,name=softmax_param,json=softmaxParam" json:"softmax_param,omitempty"` SppParam *SPPParameter `protobuf:"bytes,132,opt,name=spp_param,json=sppParam" json:"spp_param,omitempty"` SliceParam *SliceParameter `protobuf:"bytes,126,opt,name=slice_param,json=sliceParam" json:"slice_param,omitempty"` TanhParam *TanHParameter `protobuf:"bytes,127,opt,name=tanh_param,json=tanhParam" json:"tanh_param,omitempty"` ThresholdParam *ThresholdParameter `protobuf:"bytes,128,opt,name=threshold_param,json=thresholdParam" json:"threshold_param,omitempty"` TileParam *TileParameter `protobuf:"bytes,138,opt,name=tile_param,json=tileParam" json:"tile_param,omitempty"` WindowDataParam *WindowDataParameter `protobuf:"bytes,129,opt,name=window_data_param,json=windowDataParam" json:"window_data_param,omitempty"` }
NOTE Update the next available ID when you add a new LayerParameter field.
LayerParameter next available layer-specific ID: 147 (last added: recurrent_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) GetBatchNormParam ¶
func (m *LayerParameter) GetBatchNormParam() *BatchNormParameter
func (*LayerParameter) GetBiasParam ¶
func (m *LayerParameter) GetBiasParam() *BiasParameter
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) GetCropParam ¶
func (m *LayerParameter) GetCropParam() *CropParameter
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) GetEluParam ¶
func (m *LayerParameter) GetEluParam() *ELUParameter
func (*LayerParameter) GetEmbedParam ¶
func (m *LayerParameter) GetEmbedParam() *EmbedParameter
func (*LayerParameter) GetExclude ¶
func (m *LayerParameter) GetExclude() []*NetStateRule
func (*LayerParameter) GetExpParam ¶
func (m *LayerParameter) GetExpParam() *ExpParameter
func (*LayerParameter) GetFlattenParam ¶
func (m *LayerParameter) GetFlattenParam() *FlattenParameter
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) GetInputParam ¶
func (m *LayerParameter) GetInputParam() *InputParameter
func (*LayerParameter) GetLogParam ¶
func (m *LayerParameter) GetLogParam() *LogParameter
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) GetParameterParam ¶
func (m *LayerParameter) GetParameterParam() *ParameterParameter
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) GetPropagateDown ¶
func (m *LayerParameter) GetPropagateDown() []bool
func (*LayerParameter) GetPythonParam ¶
func (m *LayerParameter) GetPythonParam() *PythonParameter
func (*LayerParameter) GetRecurrentParam ¶
func (m *LayerParameter) GetRecurrentParam() *RecurrentParameter
func (*LayerParameter) GetReductionParam ¶
func (m *LayerParameter) GetReductionParam() *ReductionParameter
func (*LayerParameter) GetReluParam ¶
func (m *LayerParameter) GetReluParam() *ReLUParameter
func (*LayerParameter) GetReshapeParam ¶
func (m *LayerParameter) GetReshapeParam() *ReshapeParameter
func (*LayerParameter) GetScaleParam ¶
func (m *LayerParameter) GetScaleParam() *ScaleParameter
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) GetSppParam ¶
func (m *LayerParameter) GetSppParam() *SPPParameter
func (*LayerParameter) GetTanhParam ¶
func (m *LayerParameter) GetTanhParam() *TanHParameter
func (*LayerParameter) GetThresholdParam ¶
func (m *LayerParameter) GetThresholdParam() *ThresholdParameter
func (*LayerParameter) GetTileParam ¶
func (m *LayerParameter) GetTileParam() *TileParameter
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) Marshal ¶
func (m *LayerParameter) Marshal() (dAtA []byte, err error)
func (*LayerParameter) ProtoMessage ¶
func (*LayerParameter) ProtoMessage()
func (*LayerParameter) Reset ¶
func (m *LayerParameter) Reset()
func (*LayerParameter) Size ¶
func (m *LayerParameter) Size() (n int)
func (*LayerParameter) String ¶
func (m *LayerParameter) String() string
func (*LayerParameter) Unmarshal ¶
func (m *LayerParameter) Unmarshal(dAtA []byte) error
type LogParameter ¶
type LogParameter struct { // LogLayer computes outputs y = log_base(shift + scale * x), for base > 0. // Or if base is set to the default (-1), base is set to e, // so y = ln(shift + scale * x) = log_e(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"` }
Message that stores parameters used by LogLayer
func (*LogParameter) Descriptor ¶
func (*LogParameter) Descriptor() ([]byte, []int)
func (*LogParameter) GetBase ¶
func (m *LogParameter) GetBase() float32
func (*LogParameter) GetScale ¶
func (m *LogParameter) GetScale() float32
func (*LogParameter) GetShift ¶
func (m *LogParameter) GetShift() float32
func (*LogParameter) Marshal ¶
func (m *LogParameter) Marshal() (dAtA []byte, err error)
func (*LogParameter) ProtoMessage ¶
func (*LogParameter) ProtoMessage()
func (*LogParameter) Reset ¶
func (m *LogParameter) Reset()
func (*LogParameter) Size ¶
func (m *LogParameter) Size() (n int)
func (*LogParameter) String ¶
func (m *LogParameter) String() string
func (*LogParameter) Unmarshal ¶
func (m *LogParameter) Unmarshal(dAtA []byte) error
type LossParameter ¶
type LossParameter struct { // If specified, ignore instances with the given label. IgnoreLabel int32 `protobuf:"varint,1,opt,name=ignore_label,json=ignoreLabel" json:"ignore_label"` Normalization *LossParameter_NormalizationMode `protobuf:"varint,3,opt,name=normalization,enum=caffe.LossParameter_NormalizationMode,def=1" json:"normalization,omitempty"` // Deprecated. Ignored if normalization is specified. If normalization // is not specified, then setting this to false will be equivalent to // normalization = BATCH_SIZE to be consistent with previous behavior. Normalize bool `protobuf:"varint,2,opt,name=normalize" json:"normalize"` }
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) GetNormalization ¶
func (m *LossParameter) GetNormalization() LossParameter_NormalizationMode
func (*LossParameter) GetNormalize ¶
func (m *LossParameter) GetNormalize() bool
func (*LossParameter) Marshal ¶
func (m *LossParameter) Marshal() (dAtA []byte, err error)
func (*LossParameter) ProtoMessage ¶
func (*LossParameter) ProtoMessage()
func (*LossParameter) Reset ¶
func (m *LossParameter) Reset()
func (*LossParameter) Size ¶
func (m *LossParameter) Size() (n int)
func (*LossParameter) String ¶
func (m *LossParameter) String() string
func (*LossParameter) Unmarshal ¶
func (m *LossParameter) Unmarshal(dAtA []byte) error
type LossParameter_NormalizationMode ¶
type LossParameter_NormalizationMode int32
How to normalize the loss for loss layers that aggregate across batches, spatial dimensions, or other dimensions. Currently only implemented in SoftmaxWithLoss layer.
const ( // Divide by the number of examples in the batch times spatial dimensions. // Outputs that receive the ignore label will NOT be ignored in computing // the normalization factor. LossParameter_FULL LossParameter_NormalizationMode = 0 // Divide by the total number of output locations that do not take the // ignore_label. If ignore_label is not set, this behaves like FULL. LossParameter_VALID LossParameter_NormalizationMode = 1 // Divide by the batch size. LossParameter_BATCH_SIZE LossParameter_NormalizationMode = 2 // Do not normalize the loss. LossParameter_NONE LossParameter_NormalizationMode = 3 )
const Default_LossParameter_Normalization LossParameter_NormalizationMode = LossParameter_VALID
func (LossParameter_NormalizationMode) Enum ¶
func (x LossParameter_NormalizationMode) Enum() *LossParameter_NormalizationMode
func (LossParameter_NormalizationMode) EnumDescriptor ¶
func (LossParameter_NormalizationMode) EnumDescriptor() ([]byte, []int)
func (LossParameter_NormalizationMode) String ¶
func (x LossParameter_NormalizationMode) String() string
func (*LossParameter_NormalizationMode) UnmarshalJSON ¶
func (x *LossParameter_NormalizationMode) UnmarshalJSON(data []byte) error
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,json=normalizeVariance,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,json=acrossChannels,def=0" json:"across_channels,omitempty"` // Epsilon for not dividing by zero while normalizing variance Eps *float32 `protobuf:"fixed32,3,opt,name=eps,def=1e-09" json:"eps,omitempty"` }
func (*MVNParameter) Descriptor ¶
func (*MVNParameter) Descriptor() ([]byte, []int)
func (*MVNParameter) GetAcrossChannels ¶
func (m *MVNParameter) GetAcrossChannels() bool
func (*MVNParameter) GetEps ¶
func (m *MVNParameter) GetEps() float32
func (*MVNParameter) GetNormalizeVariance ¶
func (m *MVNParameter) GetNormalizeVariance() bool
func (*MVNParameter) Marshal ¶
func (m *MVNParameter) Marshal() (dAtA []byte, err error)
func (*MVNParameter) ProtoMessage ¶
func (*MVNParameter) ProtoMessage()
func (*MVNParameter) Reset ¶
func (m *MVNParameter) Reset()
func (*MVNParameter) Size ¶
func (m *MVNParameter) Size() (n int)
func (*MVNParameter) String ¶
func (m *MVNParameter) String() string
func (*MVNParameter) Unmarshal ¶
func (m *MVNParameter) Unmarshal(dAtA []byte) error
type MemoryDataParameter ¶
type MemoryDataParameter struct { BatchSize uint32 `protobuf:"varint,1,opt,name=batch_size,json=batchSize" json:"batch_size"` Channels uint32 `protobuf:"varint,2,opt,name=channels" json:"channels"` Height uint32 `protobuf:"varint,3,opt,name=height" json:"height"` Width uint32 `protobuf:"varint,4,opt,name=width" json:"width"` }
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) Marshal ¶
func (m *MemoryDataParameter) Marshal() (dAtA []byte, err error)
func (*MemoryDataParameter) MarshalTo ¶
func (m *MemoryDataParameter) MarshalTo(dAtA []byte) (int, error)
func (*MemoryDataParameter) ProtoMessage ¶
func (*MemoryDataParameter) ProtoMessage()
func (*MemoryDataParameter) Reset ¶
func (m *MemoryDataParameter) Reset()
func (*MemoryDataParameter) Size ¶
func (m *MemoryDataParameter) Size() (n int)
func (*MemoryDataParameter) String ¶
func (m *MemoryDataParameter) String() string
func (*MemoryDataParameter) Unmarshal ¶
func (m *MemoryDataParameter) Unmarshal(dAtA []byte) error
type NetParameter ¶
type NetParameter struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name"` // DEPRECATED. See InputParameter. The input blobs to the network. Input []string `protobuf:"bytes,3,rep,name=input" json:"input,omitempty"` // DEPRECATED. See InputParameter. The shape of the input blobs. InputShape []*BlobShape `protobuf:"bytes,8,rep,name=input_shape,json=inputShape" json:"input_shape,omitempty"` // 4D input dimensions -- deprecated. Use "input_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=inputDim" 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,json=forceBackward,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,json=debugInfo,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"` }
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) Marshal ¶
func (m *NetParameter) Marshal() (dAtA []byte, err error)
func (*NetParameter) ProtoMessage ¶
func (*NetParameter) ProtoMessage()
func (*NetParameter) Reset ¶
func (m *NetParameter) Reset()
func (*NetParameter) Size ¶
func (m *NetParameter) Size() (n int)
func (*NetParameter) String ¶
func (m *NetParameter) String() string
func (*NetParameter) Unmarshal ¶
func (m *NetParameter) Unmarshal(dAtA []byte) error
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"` }
func (*NetState) Descriptor ¶
func (*NetState) ProtoMessage ¶
func (*NetState) ProtoMessage()
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"` // 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=minLevel" json:"min_level"` MaxLevel int32 `protobuf:"varint,3,opt,name=max_level,json=maxLevel" json:"max_level"` // 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=notStage" json:"not_stage,omitempty"` }
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) Marshal ¶
func (m *NetStateRule) Marshal() (dAtA []byte, err error)
func (*NetStateRule) ProtoMessage ¶
func (*NetStateRule) ProtoMessage()
func (*NetStateRule) Reset ¶
func (m *NetStateRule) Reset()
func (*NetStateRule) Size ¶
func (m *NetStateRule) Size() (n int)
func (*NetStateRule) String ¶
func (m *NetStateRule) String() string
func (*NetStateRule) Unmarshal ¶
func (m *NetStateRule) Unmarshal(dAtA []byte) error
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"` ChannelShared *bool `protobuf:"varint,2,opt,name=channel_shared,json=channelShared,def=0" json:"channel_shared,omitempty"` }
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) Marshal ¶
func (m *PReLUParameter) Marshal() (dAtA []byte, err error)
func (*PReLUParameter) ProtoMessage ¶
func (*PReLUParameter) ProtoMessage()
func (*PReLUParameter) Reset ¶
func (m *PReLUParameter) Reset()
func (*PReLUParameter) Size ¶
func (m *PReLUParameter) Size() (n int)
func (*PReLUParameter) String ¶
func (m *PReLUParameter) String() string
func (*PReLUParameter) Unmarshal ¶
func (m *PReLUParameter) Unmarshal(dAtA []byte) error
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"` // count -- defaults to STRICT if unspecified. ShareMode ParamSpec_DimCheckMode `protobuf:"varint,2,opt,name=share_mode,json=shareMode,enum=caffe.ParamSpec_DimCheckMode" json:"share_mode"` // The multiplier on the global learning rate for this parameter. LrMult *float32 `protobuf:"fixed32,3,opt,name=lr_mult,json=lrMult,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,json=decayMult,def=1" json:"decay_mult,omitempty"` }
Specifies training parameters (multipliers on global learning constants, and the name and other settings used for weight sharing).
func (*ParamSpec) Descriptor ¶
func (*ParamSpec) GetDecayMult ¶
func (*ParamSpec) GetShareMode ¶
func (m *ParamSpec) GetShareMode() ParamSpec_DimCheckMode
func (*ParamSpec) ProtoMessage ¶
func (*ParamSpec) ProtoMessage()
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 (x ParamSpec_DimCheckMode) Enum() *ParamSpec_DimCheckMode
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 ParameterParameter ¶
type ParameterParameter struct {
Shape *BlobShape `protobuf:"bytes,1,opt,name=shape" json:"shape,omitempty"`
}
func (*ParameterParameter) Descriptor ¶
func (*ParameterParameter) Descriptor() ([]byte, []int)
func (*ParameterParameter) GetShape ¶
func (m *ParameterParameter) GetShape() *BlobShape
func (*ParameterParameter) Marshal ¶
func (m *ParameterParameter) Marshal() (dAtA []byte, err error)
func (*ParameterParameter) MarshalTo ¶
func (m *ParameterParameter) MarshalTo(dAtA []byte) (int, error)
func (*ParameterParameter) ProtoMessage ¶
func (*ParameterParameter) ProtoMessage()
func (*ParameterParameter) Reset ¶
func (m *ParameterParameter) Reset()
func (*ParameterParameter) Size ¶
func (m *ParameterParameter) Size() (n int)
func (*ParameterParameter) String ¶
func (m *ParameterParameter) String() string
func (*ParameterParameter) Unmarshal ¶
func (m *ParameterParameter) Unmarshal(dAtA []byte) error
type Phase ¶
type Phase int32
const Default_NetState_Phase Phase = Phase_TEST
func (Phase) EnumDescriptor ¶
func (*Phase) UnmarshalJSON ¶
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,json=padH,def=0" json:"pad_h,omitempty"` PadW *uint32 `protobuf:"varint,10,opt,name=pad_w,json=padW,def=0" json:"pad_w,omitempty"` KernelSize uint32 `protobuf:"varint,2,opt,name=kernel_size,json=kernelSize" json:"kernel_size"` KernelH uint32 `protobuf:"varint,5,opt,name=kernel_h,json=kernelH" json:"kernel_h"` KernelW uint32 `protobuf:"varint,6,opt,name=kernel_w,json=kernelW" json:"kernel_w"` Stride *uint32 `protobuf:"varint,3,opt,name=stride,def=1" json:"stride,omitempty"` StrideH uint32 `protobuf:"varint,7,opt,name=stride_h,json=strideH" json:"stride_h"` StrideW uint32 `protobuf:"varint,8,opt,name=stride_w,json=strideW" json:"stride_w"` 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,json=globalPooling,def=0" json:"global_pooling,omitempty"` }
func (*PoolingParameter) Descriptor ¶
func (*PoolingParameter) Descriptor() ([]byte, []int)
func (*PoolingParameter) GetEngine ¶
func (m *PoolingParameter) GetEngine() PoolingParameter_Engine
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 (m *PoolingParameter) GetPool() PoolingParameter_PoolMethod
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) Marshal ¶
func (m *PoolingParameter) Marshal() (dAtA []byte, err error)
func (*PoolingParameter) ProtoMessage ¶
func (*PoolingParameter) ProtoMessage()
func (*PoolingParameter) Reset ¶
func (m *PoolingParameter) Reset()
func (*PoolingParameter) Size ¶
func (m *PoolingParameter) Size() (n int)
func (*PoolingParameter) String ¶
func (m *PoolingParameter) String() string
func (*PoolingParameter) Unmarshal ¶
func (m *PoolingParameter) Unmarshal(dAtA []byte) error
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 (x PoolingParameter_Engine) Enum() *PoolingParameter_Engine
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 (x PoolingParameter_PoolMethod) Enum() *PoolingParameter_PoolMethod
func (PoolingParameter_PoolMethod) EnumDescriptor ¶
func (PoolingParameter_PoolMethod) EnumDescriptor() ([]byte, []int)
func (PoolingParameter_PoolMethod) String ¶
func (x PoolingParameter_PoolMethod) String() 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"` }
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) Marshal ¶
func (m *PowerParameter) Marshal() (dAtA []byte, err error)
func (*PowerParameter) ProtoMessage ¶
func (*PowerParameter) ProtoMessage()
func (*PowerParameter) Reset ¶
func (m *PowerParameter) Reset()
func (*PowerParameter) Size ¶
func (m *PowerParameter) Size() (n int)
func (*PowerParameter) String ¶
func (m *PowerParameter) String() string
func (*PowerParameter) Unmarshal ¶
func (m *PowerParameter) Unmarshal(dAtA []byte) error
type PythonParameter ¶
type PythonParameter struct { Module string `protobuf:"bytes,1,opt,name=module" json:"module"` Layer string `protobuf:"bytes,2,opt,name=layer" json:"layer"` // This value is set to the attribute `param_str` of the `PythonLayer` object // in Python before calling the `setup()` method. This could be a number, // string, dictionary in Python dict format, JSON, etc. You may parse this // string in `setup` method and use it in `forward` and `backward`. ParamStr *string `protobuf:"bytes,3,opt,name=param_str,json=paramStr,def=" json:"param_str,omitempty"` // If true, each worker solver sequentially run forward from this layer. // This value should be set true if you are using it as a data layer. ShareInParallel *bool `protobuf:"varint,4,opt,name=share_in_parallel,json=shareInParallel,def=0" json:"share_in_parallel,omitempty"` }
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) GetParamStr ¶
func (m *PythonParameter) GetParamStr() string
func (*PythonParameter) GetShareInParallel ¶
func (m *PythonParameter) GetShareInParallel() bool
func (*PythonParameter) Marshal ¶
func (m *PythonParameter) Marshal() (dAtA []byte, err error)
func (*PythonParameter) ProtoMessage ¶
func (*PythonParameter) ProtoMessage()
func (*PythonParameter) Reset ¶
func (m *PythonParameter) Reset()
func (*PythonParameter) Size ¶
func (m *PythonParameter) Size() (n int)
func (*PythonParameter) String ¶
func (m *PythonParameter) String() string
func (*PythonParameter) Unmarshal ¶
func (m *PythonParameter) Unmarshal(dAtA []byte) error
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,json=negativeSlope,def=0" json:"negative_slope,omitempty"` Engine *ReLUParameter_Engine `protobuf:"varint,2,opt,name=engine,enum=caffe.ReLUParameter_Engine,def=0" json:"engine,omitempty"` }
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) Marshal ¶
func (m *ReLUParameter) Marshal() (dAtA []byte, err error)
func (*ReLUParameter) ProtoMessage ¶
func (*ReLUParameter) ProtoMessage()
func (*ReLUParameter) Reset ¶
func (m *ReLUParameter) Reset()
func (*ReLUParameter) Size ¶
func (m *ReLUParameter) Size() (n int)
func (*ReLUParameter) String ¶
func (m *ReLUParameter) String() string
func (*ReLUParameter) Unmarshal ¶
func (m *ReLUParameter) Unmarshal(dAtA []byte) error
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 (x ReLUParameter_Engine) Enum() *ReLUParameter_Engine
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 RecurrentParameter ¶
type RecurrentParameter struct { // The dimension of the output (and usually hidden state) representation -- // must be explicitly set to non-zero. NumOutput *uint32 `protobuf:"varint,1,opt,name=num_output,json=numOutput,def=0" json:"num_output,omitempty"` WeightFiller *FillerParameter `protobuf:"bytes,2,opt,name=weight_filler,json=weightFiller" json:"weight_filler,omitempty"` BiasFiller *FillerParameter `protobuf:"bytes,3,opt,name=bias_filler,json=biasFiller" json:"bias_filler,omitempty"` // Whether to enable displaying debug_info in the unrolled recurrent net. DebugInfo *bool `protobuf:"varint,4,opt,name=debug_info,json=debugInfo,def=0" json:"debug_info,omitempty"` // Whether to add as additional inputs (bottoms) the initial hidden state // blobs, and add as additional outputs (tops) the final timestep hidden state // blobs. The number of additional bottom/top blobs required depends on the // recurrent architecture -- e.g., 1 for RNNs, 2 for LSTMs. ExposeHidden *bool `protobuf:"varint,5,opt,name=expose_hidden,json=exposeHidden,def=0" json:"expose_hidden,omitempty"` }
Message that stores parameters used by RecurrentLayer
func (*RecurrentParameter) Descriptor ¶
func (*RecurrentParameter) Descriptor() ([]byte, []int)
func (*RecurrentParameter) GetBiasFiller ¶
func (m *RecurrentParameter) GetBiasFiller() *FillerParameter
func (*RecurrentParameter) GetDebugInfo ¶
func (m *RecurrentParameter) GetDebugInfo() bool
func (*RecurrentParameter) GetExposeHidden ¶
func (m *RecurrentParameter) GetExposeHidden() bool
func (*RecurrentParameter) GetNumOutput ¶
func (m *RecurrentParameter) GetNumOutput() uint32
func (*RecurrentParameter) GetWeightFiller ¶
func (m *RecurrentParameter) GetWeightFiller() *FillerParameter
func (*RecurrentParameter) Marshal ¶
func (m *RecurrentParameter) Marshal() (dAtA []byte, err error)
func (*RecurrentParameter) MarshalTo ¶
func (m *RecurrentParameter) MarshalTo(dAtA []byte) (int, error)
func (*RecurrentParameter) ProtoMessage ¶
func (*RecurrentParameter) ProtoMessage()
func (*RecurrentParameter) Reset ¶
func (m *RecurrentParameter) Reset()
func (*RecurrentParameter) Size ¶
func (m *RecurrentParameter) Size() (n int)
func (*RecurrentParameter) String ¶
func (m *RecurrentParameter) String() string
func (*RecurrentParameter) Unmarshal ¶
func (m *RecurrentParameter) Unmarshal(dAtA []byte) error
type ReductionParameter ¶
type ReductionParameter struct { Operation *ReductionParameter_ReductionOp `protobuf:"varint,1,opt,name=operation,enum=caffe.ReductionParameter_ReductionOp,def=1" json:"operation,omitempty"` // The first axis to reduce to a scalar -- may be negative to index from the // end (e.g., -1 for the last axis). // (Currently, only reduction along ALL "tail" axes is supported; reduction // of axis M through N, where N < num_axes - 1, is unsupported.) // Suppose we have an n-axis bottom Blob with shape: // (d0, d1, d2, ..., d(m-1), dm, d(m+1), ..., d(n-1)). // If axis == m, the output Blob will have shape // (d0, d1, d2, ..., d(m-1)), // and the ReductionOp operation is performed (d0 * d1 * d2 * ... * d(m-1)) // times, each including (dm * d(m+1) * ... * d(n-1)) individual data. // If axis == 0 (the default), the output Blob always has the empty shape // (count 1), performing reduction across the entire input -- // often useful for creating new loss functions. Axis *int32 `protobuf:"varint,2,opt,name=axis,def=0" json:"axis,omitempty"` Coeff *float32 `protobuf:"fixed32,3,opt,name=coeff,def=1" json:"coeff,omitempty"` }
Message that stores parameters used by ReductionLayer
func (*ReductionParameter) Descriptor ¶
func (*ReductionParameter) Descriptor() ([]byte, []int)
func (*ReductionParameter) GetAxis ¶
func (m *ReductionParameter) GetAxis() int32
func (*ReductionParameter) GetCoeff ¶
func (m *ReductionParameter) GetCoeff() float32
func (*ReductionParameter) GetOperation ¶
func (m *ReductionParameter) GetOperation() ReductionParameter_ReductionOp
func (*ReductionParameter) Marshal ¶
func (m *ReductionParameter) Marshal() (dAtA []byte, err error)
func (*ReductionParameter) MarshalTo ¶
func (m *ReductionParameter) MarshalTo(dAtA []byte) (int, error)
func (*ReductionParameter) ProtoMessage ¶
func (*ReductionParameter) ProtoMessage()
func (*ReductionParameter) Reset ¶
func (m *ReductionParameter) Reset()
func (*ReductionParameter) Size ¶
func (m *ReductionParameter) Size() (n int)
func (*ReductionParameter) String ¶
func (m *ReductionParameter) String() string
func (*ReductionParameter) Unmarshal ¶
func (m *ReductionParameter) Unmarshal(dAtA []byte) error
type ReductionParameter_ReductionOp ¶
type ReductionParameter_ReductionOp int32
const ( ReductionParameter_SUM ReductionParameter_ReductionOp = 1 ReductionParameter_ASUM ReductionParameter_ReductionOp = 2 ReductionParameter_SUMSQ ReductionParameter_ReductionOp = 3 ReductionParameter_MEAN ReductionParameter_ReductionOp = 4 )
const Default_ReductionParameter_Operation ReductionParameter_ReductionOp = ReductionParameter_SUM
func (ReductionParameter_ReductionOp) Enum ¶
func (x ReductionParameter_ReductionOp) Enum() *ReductionParameter_ReductionOp
func (ReductionParameter_ReductionOp) EnumDescriptor ¶
func (ReductionParameter_ReductionOp) EnumDescriptor() ([]byte, []int)
func (ReductionParameter_ReductionOp) String ¶
func (x ReductionParameter_ReductionOp) String() string
func (*ReductionParameter_ReductionOp) UnmarshalJSON ¶
func (x *ReductionParameter_ReductionOp) UnmarshalJSON(data []byte) error
type ReshapeParameter ¶
type ReshapeParameter struct { // Specify the output dimensions. If some of the dimensions are set to 0, // the corresponding dimension from the bottom layer is used (unchanged). // Exactly one dimension may be set to -1, in which case its value is // inferred from the count of the bottom blob and the remaining dimensions. // For example, suppose we want to reshape a 2D blob "input" with shape 2 x 8: // // layer { // type: "Reshape" bottom: "input" top: "output" // reshape_param { ... } // } // // If "input" is 2D with shape 2 x 8, then the following reshape_param // specifications are all equivalent, producing a 3D blob "output" with shape // 2 x 2 x 4: // // reshape_param { shape { dim: 2 dim: 2 dim: 4 } } // reshape_param { shape { dim: 0 dim: 2 dim: 4 } } // reshape_param { shape { dim: 0 dim: 2 dim: -1 } } // reshape_param { shape { dim: 0 dim:-1 dim: 4 } } // Shape *BlobShape `protobuf:"bytes,1,opt,name=shape" json:"shape,omitempty"` // axis and num_axes control the portion of the bottom blob's shape that are // replaced by (included in) the reshape. By default (axis == 0 and // num_axes == -1), the entire bottom blob shape is included in the reshape, // and hence the shape field must specify the entire output shape. // // axis may be non-zero to retain some portion of the beginning of the input // shape (and may be negative to index from the end; e.g., -1 to begin the // reshape after the last axis, including nothing in the reshape, // -2 to include only the last axis, etc.). // // For example, suppose "input" is a 2D blob with shape 2 x 8. // Then the following ReshapeLayer specifications are all equivalent, // producing a blob "output" with shape 2 x 2 x 4: // // reshape_param { shape { dim: 2 dim: 2 dim: 4 } } // reshape_param { shape { dim: 2 dim: 4 } axis: 1 } // reshape_param { shape { dim: 2 dim: 4 } axis: -3 } // // num_axes specifies the extent of the reshape. // If num_axes >= 0 (and axis >= 0), the reshape will be performed only on // input axes in the range [axis, axis+num_axes]. // num_axes may also be -1, the default, to include all remaining axes // (starting from axis). // // For example, suppose "input" is a 2D blob with shape 2 x 8. // Then the following ReshapeLayer specifications are equivalent, // producing a blob "output" with shape 1 x 2 x 8. // // reshape_param { shape { dim: 1 dim: 2 dim: 8 } } // reshape_param { shape { dim: 1 dim: 2 } num_axes: 1 } // reshape_param { shape { dim: 1 } num_axes: 0 } // // On the other hand, these would produce output blob shape 2 x 1 x 8: // // reshape_param { shape { dim: 2 dim: 1 dim: 8 } } // reshape_param { shape { dim: 1 } axis: 1 num_axes: 0 } // Axis *int32 `protobuf:"varint,2,opt,name=axis,def=0" json:"axis,omitempty"` NumAxes *int32 `protobuf:"varint,3,opt,name=num_axes,json=numAxes,def=-1" json:"num_axes,omitempty"` }
func (*ReshapeParameter) Descriptor ¶
func (*ReshapeParameter) Descriptor() ([]byte, []int)
func (*ReshapeParameter) GetAxis ¶
func (m *ReshapeParameter) GetAxis() int32
func (*ReshapeParameter) GetNumAxes ¶
func (m *ReshapeParameter) GetNumAxes() int32
func (*ReshapeParameter) GetShape ¶
func (m *ReshapeParameter) GetShape() *BlobShape
func (*ReshapeParameter) Marshal ¶
func (m *ReshapeParameter) Marshal() (dAtA []byte, err error)
func (*ReshapeParameter) ProtoMessage ¶
func (*ReshapeParameter) ProtoMessage()
func (*ReshapeParameter) Reset ¶
func (m *ReshapeParameter) Reset()
func (*ReshapeParameter) Size ¶
func (m *ReshapeParameter) Size() (n int)
func (*ReshapeParameter) String ¶
func (m *ReshapeParameter) String() string
func (*ReshapeParameter) Unmarshal ¶
func (m *ReshapeParameter) Unmarshal(dAtA []byte) error
type SPPParameter ¶
type SPPParameter struct { PyramidHeight uint32 `protobuf:"varint,1,opt,name=pyramid_height,json=pyramidHeight" json:"pyramid_height"` Pool *SPPParameter_PoolMethod `protobuf:"varint,2,opt,name=pool,enum=caffe.SPPParameter_PoolMethod,def=0" json:"pool,omitempty"` Engine *SPPParameter_Engine `protobuf:"varint,6,opt,name=engine,enum=caffe.SPPParameter_Engine,def=0" json:"engine,omitempty"` }
func (*SPPParameter) Descriptor ¶
func (*SPPParameter) Descriptor() ([]byte, []int)
func (*SPPParameter) GetEngine ¶
func (m *SPPParameter) GetEngine() SPPParameter_Engine
func (*SPPParameter) GetPool ¶
func (m *SPPParameter) GetPool() SPPParameter_PoolMethod
func (*SPPParameter) GetPyramidHeight ¶
func (m *SPPParameter) GetPyramidHeight() uint32
func (*SPPParameter) Marshal ¶
func (m *SPPParameter) Marshal() (dAtA []byte, err error)
func (*SPPParameter) ProtoMessage ¶
func (*SPPParameter) ProtoMessage()
func (*SPPParameter) Reset ¶
func (m *SPPParameter) Reset()
func (*SPPParameter) Size ¶
func (m *SPPParameter) Size() (n int)
func (*SPPParameter) String ¶
func (m *SPPParameter) String() string
func (*SPPParameter) Unmarshal ¶
func (m *SPPParameter) Unmarshal(dAtA []byte) error
type SPPParameter_Engine ¶
type SPPParameter_Engine int32
const ( SPPParameter_DEFAULT SPPParameter_Engine = 0 SPPParameter_CAFFE SPPParameter_Engine = 1 SPPParameter_CUDNN SPPParameter_Engine = 2 )
const Default_SPPParameter_Engine SPPParameter_Engine = SPPParameter_DEFAULT
func (SPPParameter_Engine) Enum ¶
func (x SPPParameter_Engine) Enum() *SPPParameter_Engine
func (SPPParameter_Engine) EnumDescriptor ¶
func (SPPParameter_Engine) EnumDescriptor() ([]byte, []int)
func (SPPParameter_Engine) String ¶
func (x SPPParameter_Engine) String() string
func (*SPPParameter_Engine) UnmarshalJSON ¶
func (x *SPPParameter_Engine) UnmarshalJSON(data []byte) error
type SPPParameter_PoolMethod ¶
type SPPParameter_PoolMethod int32
const ( SPPParameter_MAX SPPParameter_PoolMethod = 0 SPPParameter_AVE SPPParameter_PoolMethod = 1 SPPParameter_STOCHASTIC SPPParameter_PoolMethod = 2 )
const Default_SPPParameter_Pool SPPParameter_PoolMethod = SPPParameter_MAX
func (SPPParameter_PoolMethod) Enum ¶
func (x SPPParameter_PoolMethod) Enum() *SPPParameter_PoolMethod
func (SPPParameter_PoolMethod) EnumDescriptor ¶
func (SPPParameter_PoolMethod) EnumDescriptor() ([]byte, []int)
func (SPPParameter_PoolMethod) String ¶
func (x SPPParameter_PoolMethod) String() string
func (*SPPParameter_PoolMethod) UnmarshalJSON ¶
func (x *SPPParameter_PoolMethod) UnmarshalJSON(data []byte) error
type ScaleParameter ¶
type ScaleParameter struct { // The first axis of bottom[0] (the first input Blob) along which to apply // bottom[1] (the second input Blob). May be negative to index from the end // (e.g., -1 for the last axis). // // For example, if bottom[0] is 4D with shape 100x3x40x60, the output // top[0] will have the same shape, and bottom[1] may have any of the // following shapes (for the given value of axis): // (axis == 0 == -4) 100; 100x3; 100x3x40; 100x3x40x60 // (axis == 1 == -3) 3; 3x40; 3x40x60 // (axis == 2 == -2) 40; 40x60 // (axis == 3 == -1) 60 // Furthermore, bottom[1] may have the empty shape (regardless of the value of // "axis") -- a scalar multiplier. Axis *int32 `protobuf:"varint,1,opt,name=axis,def=1" json:"axis,omitempty"` // (num_axes is ignored unless just one bottom is given and the scale is // a learned parameter of the layer. Otherwise, num_axes is determined by the // number of axes by the second bottom.) // The number of axes of the input (bottom[0]) covered by the scale // parameter, or -1 to cover all axes of bottom[0] starting from `axis`. // Set num_axes := 0, to multiply with a zero-axis Blob: a scalar. NumAxes *int32 `protobuf:"varint,2,opt,name=num_axes,json=numAxes,def=1" json:"num_axes,omitempty"` // (filler is ignored unless just one bottom is given and the scale is // a learned parameter of the layer.) // The initialization for the learned scale parameter. // Default is the unit (1) initialization, resulting in the ScaleLayer // initially performing the identity operation. Filler *FillerParameter `protobuf:"bytes,3,opt,name=filler" json:"filler,omitempty"` // Whether to also learn a bias (equivalent to a ScaleLayer+BiasLayer, but // may be more efficient). Initialized with bias_filler (defaults to 0). BiasTerm *bool `protobuf:"varint,4,opt,name=bias_term,json=biasTerm,def=0" json:"bias_term,omitempty"` BiasFiller *FillerParameter `protobuf:"bytes,5,opt,name=bias_filler,json=biasFiller" json:"bias_filler,omitempty"` }
func (*ScaleParameter) Descriptor ¶
func (*ScaleParameter) Descriptor() ([]byte, []int)
func (*ScaleParameter) GetAxis ¶
func (m *ScaleParameter) GetAxis() int32
func (*ScaleParameter) GetBiasFiller ¶
func (m *ScaleParameter) GetBiasFiller() *FillerParameter
func (*ScaleParameter) GetBiasTerm ¶
func (m *ScaleParameter) GetBiasTerm() bool
func (*ScaleParameter) GetFiller ¶
func (m *ScaleParameter) GetFiller() *FillerParameter
func (*ScaleParameter) GetNumAxes ¶
func (m *ScaleParameter) GetNumAxes() int32
func (*ScaleParameter) Marshal ¶
func (m *ScaleParameter) Marshal() (dAtA []byte, err error)
func (*ScaleParameter) ProtoMessage ¶
func (*ScaleParameter) ProtoMessage()
func (*ScaleParameter) Reset ¶
func (m *ScaleParameter) Reset()
func (*ScaleParameter) Size ¶
func (m *ScaleParameter) Size() (n int)
func (*ScaleParameter) String ¶
func (m *ScaleParameter) String() string
func (*ScaleParameter) Unmarshal ¶
func (m *ScaleParameter) Unmarshal(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"`
}
func (*SigmoidParameter) Descriptor ¶
func (*SigmoidParameter) Descriptor() ([]byte, []int)
func (*SigmoidParameter) GetEngine ¶
func (m *SigmoidParameter) GetEngine() SigmoidParameter_Engine
func (*SigmoidParameter) Marshal ¶
func (m *SigmoidParameter) Marshal() (dAtA []byte, err error)
func (*SigmoidParameter) ProtoMessage ¶
func (*SigmoidParameter) ProtoMessage()
func (*SigmoidParameter) Reset ¶
func (m *SigmoidParameter) Reset()
func (*SigmoidParameter) Size ¶
func (m *SigmoidParameter) Size() (n int)
func (*SigmoidParameter) String ¶
func (m *SigmoidParameter) String() string
func (*SigmoidParameter) Unmarshal ¶
func (m *SigmoidParameter) Unmarshal(dAtA []byte) error
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 (x SigmoidParameter_Engine) Enum() *SigmoidParameter_Engine
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=slicePoint" json:"slice_point,omitempty"` // DEPRECATED: alias for "axis" -- does not support negative indexing. SliceDim *uint32 `protobuf:"varint,1,opt,name=slice_dim,json=sliceDim,def=1" json:"slice_dim,omitempty"` }
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) Marshal ¶
func (m *SliceParameter) Marshal() (dAtA []byte, err error)
func (*SliceParameter) ProtoMessage ¶
func (*SliceParameter) ProtoMessage()
func (*SliceParameter) Reset ¶
func (m *SliceParameter) Reset()
func (*SliceParameter) Size ¶
func (m *SliceParameter) Size() (n int)
func (*SliceParameter) String ¶
func (m *SliceParameter) String() string
func (*SliceParameter) Unmarshal ¶
func (m *SliceParameter) Unmarshal(dAtA []byte) error
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"` }
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 (m *SoftmaxParameter) GetEngine() SoftmaxParameter_Engine
func (*SoftmaxParameter) Marshal ¶
func (m *SoftmaxParameter) Marshal() (dAtA []byte, err error)
func (*SoftmaxParameter) ProtoMessage ¶
func (*SoftmaxParameter) ProtoMessage()
func (*SoftmaxParameter) Reset ¶
func (m *SoftmaxParameter) Reset()
func (*SoftmaxParameter) Size ¶
func (m *SoftmaxParameter) Size() (n int)
func (*SoftmaxParameter) String ¶
func (m *SoftmaxParameter) String() string
func (*SoftmaxParameter) Unmarshal ¶
func (m *SoftmaxParameter) Unmarshal(dAtA []byte) error
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 (x SoftmaxParameter_Engine) Enum() *SoftmaxParameter_Engine
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"` // Inline train net param, possibly combined with one or more test nets. NetParam *NetParameter `protobuf:"bytes,25,opt,name=net_param,json=netParam" json:"net_param,omitempty"` TrainNet string `protobuf:"bytes,1,opt,name=train_net,json=trainNet" json:"train_net"` TestNet []string `protobuf:"bytes,2,rep,name=test_net,json=testNet" json:"test_net,omitempty"` TrainNetParam *NetParameter `protobuf:"bytes,21,opt,name=train_net_param,json=trainNetParam" json:"train_net_param,omitempty"` TestNetParam []*NetParameter `protobuf:"bytes,22,rep,name=test_net_param,json=testNetParam" 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=trainState" json:"train_state,omitempty"` TestState []*NetState `protobuf:"bytes,27,rep,name=test_state,json=testState" json:"test_state,omitempty"` // The number of iterations for each test net. TestIter []int32 `protobuf:"varint,3,rep,name=test_iter,json=testIter" json:"test_iter,omitempty"` // The number of iterations between two testing phases. TestInterval *int32 `protobuf:"varint,4,opt,name=test_interval,json=testInterval,def=0" json:"test_interval,omitempty"` TestComputeLoss *bool `protobuf:"varint,19,opt,name=test_compute_loss,json=testComputeLoss,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,json=testInitialization,def=1" json:"test_initialization,omitempty"` BaseLr float32 `protobuf:"fixed32,5,opt,name=base_lr,json=baseLr" json:"base_lr"` // 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"` // Display the loss averaged over the last average_loss iterations AverageLoss *int32 `protobuf:"varint,33,opt,name=average_loss,json=averageLoss,def=1" json:"average_loss,omitempty"` MaxIter int32 `protobuf:"varint,7,opt,name=max_iter,json=maxIter" json:"max_iter"` // accumulate gradients over `iter_size` x `batch_size` instances IterSize *int32 `protobuf:"varint,36,opt,name=iter_size,json=iterSize,def=1" json:"iter_size,omitempty"` // The learning rate decay policy. The currently implemented learning rate // policies are as follows: // - fixed: always return base_lr. // - step: return base_lr * gamma ^ (floor(iter / step)) // - exp: return base_lr * gamma ^ iter // - inv: return base_lr * (1 + gamma * iter) ^ (- power) // - multistep: similar to step but it allows non uniform steps defined by // stepvalue // - poly: the effective learning rate follows a polynomial decay, to be // zero by the max_iter. return base_lr (1 - iter/max_iter) ^ (power) // - sigmoid: the effective learning rate follows a sigmod decay // return base_lr ( 1/(1 + exp(-gamma * (iter - stepsize)))) // // where base_lr, max_iter, gamma, step, stepvalue and power are defined // in the solver parameter protocol buffer, and iter is the current iteration. LrPolicy string `protobuf:"bytes,8,opt,name=lr_policy,json=lrPolicy" json:"lr_policy"` Gamma float32 `protobuf:"fixed32,9,opt,name=gamma" json:"gamma"` Power float32 `protobuf:"fixed32,10,opt,name=power" json:"power"` Momentum float32 `protobuf:"fixed32,11,opt,name=momentum" json:"momentum"` WeightDecay float32 `protobuf:"fixed32,12,opt,name=weight_decay,json=weightDecay" json:"weight_decay"` // regularization types supported: L1 and L2 // controlled by weight_decay RegularizationType *string `protobuf:"bytes,29,opt,name=regularization_type,json=regularizationType,def=L2" json:"regularization_type,omitempty"` // the stepsize for learning rate policy "step" Stepsize int32 `protobuf:"varint,13,opt,name=stepsize" json:"stepsize"` // 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,json=clipGradients,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=snapshotPrefix" json:"snapshot_prefix"` // 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,json=snapshotDiff,def=0" json:"snapshot_diff,omitempty"` SnapshotFormat *SolverParameter_SnapshotFormat `` /* 146-byte string literal not displayed */ SolverMode *SolverParameter_SolverMode `` /* 130-byte string literal not displayed */ // 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,json=deviceId,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,json=randomSeed,def=-1" json:"random_seed,omitempty"` // type of the solver Type *string `protobuf:"bytes,40,opt,name=type,def=SGD" json:"type,omitempty"` // numerical stability for RMSProp, AdaGrad and AdaDelta and Adam Delta *float32 `protobuf:"fixed32,31,opt,name=delta,def=1e-08" json:"delta,omitempty"` // parameters for the Adam solver Momentum2 *float32 `protobuf:"fixed32,39,opt,name=momentum2,def=0.999" json:"momentum2,omitempty"` // RMSProp decay value // MeanSquare(t) = rms_decay*MeanSquare(t-1) + (1-rms_decay)*SquareGradient(t) RmsDecay float32 `protobuf:"fixed32,38,opt,name=rms_decay,json=rmsDecay" json:"rms_decay"` // 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,json=debugInfo,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,json=snapshotAfterTrain,def=1" json:"snapshot_after_train,omitempty"` // DEPRECATED: use type instead of solver_type SolverType *SolverParameter_SolverType `` /* 130-byte string literal not displayed */ }
NOTE Update the next available ID when you add a new SolverParameter field.
SolverParameter next available ID: 41 (last added: type)
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) GetIterSize ¶
func (m *SolverParameter) GetIterSize() int32
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) GetMomentum2 ¶
func (m *SolverParameter) GetMomentum2() 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) GetRmsDecay ¶
func (m *SolverParameter) GetRmsDecay() float32
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) GetSnapshotFormat ¶
func (m *SolverParameter) GetSnapshotFormat() SolverParameter_SnapshotFormat
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) GetType ¶
func (m *SolverParameter) GetType() string
func (*SolverParameter) GetWeightDecay ¶
func (m *SolverParameter) GetWeightDecay() float32
func (*SolverParameter) Marshal ¶
func (m *SolverParameter) Marshal() (dAtA []byte, err error)
func (*SolverParameter) ProtoMessage ¶
func (*SolverParameter) ProtoMessage()
func (*SolverParameter) Reset ¶
func (m *SolverParameter) Reset()
func (*SolverParameter) Size ¶
func (m *SolverParameter) Size() (n int)
func (*SolverParameter) String ¶
func (m *SolverParameter) String() string
func (*SolverParameter) Unmarshal ¶
func (m *SolverParameter) Unmarshal(dAtA []byte) error
type SolverParameter_SnapshotFormat ¶
type SolverParameter_SnapshotFormat int32
const ( SolverParameter_HDF5 SolverParameter_SnapshotFormat = 0 SolverParameter_BINARYPROTO SolverParameter_SnapshotFormat = 1 )
const Default_SolverParameter_SnapshotFormat SolverParameter_SnapshotFormat = SolverParameter_BINARYPROTO
func (SolverParameter_SnapshotFormat) Enum ¶
func (x SolverParameter_SnapshotFormat) Enum() *SolverParameter_SnapshotFormat
func (SolverParameter_SnapshotFormat) EnumDescriptor ¶
func (SolverParameter_SnapshotFormat) EnumDescriptor() ([]byte, []int)
func (SolverParameter_SnapshotFormat) String ¶
func (x SolverParameter_SnapshotFormat) String() string
func (*SolverParameter_SnapshotFormat) UnmarshalJSON ¶
func (x *SolverParameter_SnapshotFormat) UnmarshalJSON(data []byte) error
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 (x SolverParameter_SolverMode) Enum() *SolverParameter_SolverMode
func (SolverParameter_SolverMode) EnumDescriptor ¶
func (SolverParameter_SolverMode) EnumDescriptor() ([]byte, []int)
func (SolverParameter_SolverMode) String ¶
func (x SolverParameter_SolverMode) String() string
func (*SolverParameter_SolverMode) UnmarshalJSON ¶
func (x *SolverParameter_SolverMode) UnmarshalJSON(data []byte) error
type SolverParameter_SolverType ¶
type SolverParameter_SolverType int32
DEPRECATED: old solver enum types, use string instead
const ( SolverParameter_SGD SolverParameter_SolverType = 0 SolverParameter_NESTEROV SolverParameter_SolverType = 1 SolverParameter_ADAGRAD SolverParameter_SolverType = 2 SolverParameter_RMSPROP SolverParameter_SolverType = 3 SolverParameter_ADADELTA SolverParameter_SolverType = 4 SolverParameter_ADAM SolverParameter_SolverType = 5 )
const Default_SolverParameter_SolverType SolverParameter_SolverType = SolverParameter_SGD
func (SolverParameter_SolverType) Enum ¶
func (x SolverParameter_SolverType) Enum() *SolverParameter_SolverType
func (SolverParameter_SolverType) EnumDescriptor ¶
func (SolverParameter_SolverType) EnumDescriptor() ([]byte, []int)
func (SolverParameter_SolverType) String ¶
func (x SolverParameter_SolverType) String() 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"` LearnedNet string `protobuf:"bytes,2,opt,name=learned_net,json=learnedNet" json:"learned_net"` History []*BlobProto `protobuf:"bytes,3,rep,name=history" json:"history,omitempty"` CurrentStep *int32 `protobuf:"varint,4,opt,name=current_step,json=currentStep,def=0" json:"current_step,omitempty"` }
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) Marshal ¶
func (m *SolverState) Marshal() (dAtA []byte, err error)
func (*SolverState) ProtoMessage ¶
func (*SolverState) ProtoMessage()
func (*SolverState) Reset ¶
func (m *SolverState) Reset()
func (*SolverState) Size ¶
func (m *SolverState) Size() (n int)
func (*SolverState) String ¶
func (m *SolverState) String() string
func (*SolverState) Unmarshal ¶
func (m *SolverState) Unmarshal(dAtA []byte) error
type TanHParameter ¶
type TanHParameter struct {
Engine *TanHParameter_Engine `protobuf:"varint,1,opt,name=engine,enum=caffe.TanHParameter_Engine,def=0" json:"engine,omitempty"`
}
func (*TanHParameter) Descriptor ¶
func (*TanHParameter) Descriptor() ([]byte, []int)
func (*TanHParameter) GetEngine ¶
func (m *TanHParameter) GetEngine() TanHParameter_Engine
func (*TanHParameter) Marshal ¶
func (m *TanHParameter) Marshal() (dAtA []byte, err error)
func (*TanHParameter) ProtoMessage ¶
func (*TanHParameter) ProtoMessage()
func (*TanHParameter) Reset ¶
func (m *TanHParameter) Reset()
func (*TanHParameter) Size ¶
func (m *TanHParameter) Size() (n int)
func (*TanHParameter) String ¶
func (m *TanHParameter) String() string
func (*TanHParameter) Unmarshal ¶
func (m *TanHParameter) Unmarshal(dAtA []byte) error
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 (x TanHParameter_Engine) Enum() *TanHParameter_Engine
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"`
}
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) Marshal ¶
func (m *ThresholdParameter) Marshal() (dAtA []byte, err error)
func (*ThresholdParameter) MarshalTo ¶
func (m *ThresholdParameter) MarshalTo(dAtA []byte) (int, error)
func (*ThresholdParameter) ProtoMessage ¶
func (*ThresholdParameter) ProtoMessage()
func (*ThresholdParameter) Reset ¶
func (m *ThresholdParameter) Reset()
func (*ThresholdParameter) Size ¶
func (m *ThresholdParameter) Size() (n int)
func (*ThresholdParameter) String ¶
func (m *ThresholdParameter) String() string
func (*ThresholdParameter) Unmarshal ¶
func (m *ThresholdParameter) Unmarshal(dAtA []byte) error
type TileParameter ¶
type TileParameter struct { // The index of the axis to tile. Axis *int32 `protobuf:"varint,1,opt,name=axis,def=1" json:"axis,omitempty"` // The number of copies (tiles) of the blob to output. Tiles int32 `protobuf:"varint,2,opt,name=tiles" json:"tiles"` }
Message that stores parameters used by TileLayer
func (*TileParameter) Descriptor ¶
func (*TileParameter) Descriptor() ([]byte, []int)
func (*TileParameter) GetAxis ¶
func (m *TileParameter) GetAxis() int32
func (*TileParameter) GetTiles ¶
func (m *TileParameter) GetTiles() int32
func (*TileParameter) Marshal ¶
func (m *TileParameter) Marshal() (dAtA []byte, err error)
func (*TileParameter) ProtoMessage ¶
func (*TileParameter) ProtoMessage()
func (*TileParameter) Reset ¶
func (m *TileParameter) Reset()
func (*TileParameter) Size ¶
func (m *TileParameter) Size() (n int)
func (*TileParameter) String ¶
func (m *TileParameter) String() string
func (*TileParameter) Unmarshal ¶
func (m *TileParameter) Unmarshal(dAtA []byte) error
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,json=cropSize,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=meanFile" json:"mean_file"` // if specified can be repeated once (would subtract 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=meanValue" json:"mean_value,omitempty"` // Force the decoded image to have 3 color channels. ForceColor *bool `protobuf:"varint,6,opt,name=force_color,json=forceColor,def=0" json:"force_color,omitempty"` // Force the decoded image to have 1 color channels. ForceGray *bool `protobuf:"varint,7,opt,name=force_gray,json=forceGray,def=0" json:"force_gray,omitempty"` }
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) GetForceColor ¶
func (m *TransformationParameter) GetForceColor() bool
func (*TransformationParameter) GetForceGray ¶
func (m *TransformationParameter) GetForceGray() bool
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) Marshal ¶
func (m *TransformationParameter) Marshal() (dAtA []byte, err error)
func (*TransformationParameter) MarshalTo ¶
func (m *TransformationParameter) MarshalTo(dAtA []byte) (int, error)
func (*TransformationParameter) ProtoMessage ¶
func (*TransformationParameter) ProtoMessage()
func (*TransformationParameter) Reset ¶
func (m *TransformationParameter) Reset()
func (*TransformationParameter) Size ¶
func (m *TransformationParameter) Size() (n int)
func (*TransformationParameter) String ¶
func (m *TransformationParameter) String() string
func (*TransformationParameter) Unmarshal ¶
func (m *TransformationParameter) Unmarshal(dAtA []byte) error
type V0LayerParameter ¶
type V0LayerParameter struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name"` Type string `protobuf:"bytes,2,opt,name=type" json:"type"` // Parameters to specify layers with inner products. NumOutput uint32 `protobuf:"varint,3,opt,name=num_output,json=numOutput" json:"num_output"` Biasterm *bool `protobuf:"varint,4,opt,name=biasterm,def=1" json:"biasterm,omitempty"` WeightFiller *FillerParameter `protobuf:"bytes,5,opt,name=weight_filler,json=weightFiller" json:"weight_filler,omitempty"` BiasFiller *FillerParameter `protobuf:"bytes,6,opt,name=bias_filler,json=biasFiller" 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"` 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,json=dropoutRatio,def=0.5" json:"dropout_ratio,omitempty"` LocalSize *uint32 `protobuf:"varint,13,opt,name=local_size,json=localSize,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"` // 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"` // For data layers, specify the batch size. Batchsize uint32 `protobuf:"varint,19,opt,name=batchsize" json:"batchsize"` // 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=blobsLr" 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=weightDecay" 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,json=randSkip,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,json=detFgThreshold,def=0.5" json:"det_fg_threshold,omitempty"` // background (non-object) overlap threshold DetBgThreshold *float32 `protobuf:"fixed32,55,opt,name=det_bg_threshold,json=detBgThreshold,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,json=detFgFraction,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,json=detContextPad,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,json=detCropMode,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,json=newNum,def=0" json:"new_num,omitempty"` NewChannels *int32 `protobuf:"varint,61,opt,name=new_channels,json=newChannels,def=0" json:"new_channels,omitempty"` NewHeight *int32 `protobuf:"varint,62,opt,name=new_height,json=newHeight,def=0" json:"new_height,omitempty"` NewWidth *int32 `protobuf:"varint,63,opt,name=new_width,json=newWidth,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,json=shuffleImages,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,json=concatDim,def=1" json:"concat_dim,omitempty"` Hdf5OutputParam *HDF5OutputParameter `protobuf:"bytes,1001,opt,name=hdf5_output_param,json=hdf5OutputParam" json:"hdf5_output_param,omitempty"` }
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 (m *V0LayerParameter) GetPool() V0LayerParameter_PoolMethod
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) Marshal ¶
func (m *V0LayerParameter) Marshal() (dAtA []byte, err error)
func (*V0LayerParameter) ProtoMessage ¶
func (*V0LayerParameter) ProtoMessage()
func (*V0LayerParameter) Reset ¶
func (m *V0LayerParameter) Reset()
func (*V0LayerParameter) Size ¶
func (m *V0LayerParameter) Size() (n int)
func (*V0LayerParameter) String ¶
func (m *V0LayerParameter) String() string
func (*V0LayerParameter) Unmarshal ¶
func (m *V0LayerParameter) Unmarshal(dAtA []byte) error
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 (x V0LayerParameter_PoolMethod) Enum() *V0LayerParameter_PoolMethod
func (V0LayerParameter_PoolMethod) EnumDescriptor ¶
func (V0LayerParameter_PoolMethod) EnumDescriptor() ([]byte, []int)
func (V0LayerParameter_PoolMethod) String ¶
func (x V0LayerParameter_PoolMethod) String() 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"` 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"` Blobs []*BlobProto `protobuf:"bytes,6,rep,name=blobs" json:"blobs,omitempty"` Param []string `protobuf:"bytes,1001,rep,name=param" json:"param,omitempty"` BlobsLr []float32 `protobuf:"fixed32,7,rep,name=blobs_lr,json=blobsLr" json:"blobs_lr,omitempty"` WeightDecay []float32 `protobuf:"fixed32,8,rep,name=weight_decay,json=weightDecay" json:"weight_decay,omitempty"` LossWeight []float32 `protobuf:"fixed32,35,rep,name=loss_weight,json=lossWeight" json:"loss_weight,omitempty"` AccuracyParam *AccuracyParameter `protobuf:"bytes,27,opt,name=accuracy_param,json=accuracyParam" json:"accuracy_param,omitempty"` ArgmaxParam *ArgMaxParameter `protobuf:"bytes,23,opt,name=argmax_param,json=argmaxParam" json:"argmax_param,omitempty"` ConcatParam *ConcatParameter `protobuf:"bytes,9,opt,name=concat_param,json=concatParam" json:"concat_param,omitempty"` ContrastiveLossParam *ContrastiveLossParameter `protobuf:"bytes,40,opt,name=contrastive_loss_param,json=contrastiveLossParam" json:"contrastive_loss_param,omitempty"` ConvolutionParam *ConvolutionParameter `protobuf:"bytes,10,opt,name=convolution_param,json=convolutionParam" json:"convolution_param,omitempty"` DataParam *DataParameter `protobuf:"bytes,11,opt,name=data_param,json=dataParam" json:"data_param,omitempty"` DropoutParam *DropoutParameter `protobuf:"bytes,12,opt,name=dropout_param,json=dropoutParam" json:"dropout_param,omitempty"` DummyDataParam *DummyDataParameter `protobuf:"bytes,26,opt,name=dummy_data_param,json=dummyDataParam" json:"dummy_data_param,omitempty"` EltwiseParam *EltwiseParameter `protobuf:"bytes,24,opt,name=eltwise_param,json=eltwiseParam" json:"eltwise_param,omitempty"` ExpParam *ExpParameter `protobuf:"bytes,41,opt,name=exp_param,json=expParam" json:"exp_param,omitempty"` Hdf5DataParam *HDF5DataParameter `protobuf:"bytes,13,opt,name=hdf5_data_param,json=hdf5DataParam" json:"hdf5_data_param,omitempty"` Hdf5OutputParam *HDF5OutputParameter `protobuf:"bytes,14,opt,name=hdf5_output_param,json=hdf5OutputParam" json:"hdf5_output_param,omitempty"` HingeLossParam *HingeLossParameter `protobuf:"bytes,29,opt,name=hinge_loss_param,json=hingeLossParam" json:"hinge_loss_param,omitempty"` ImageDataParam *ImageDataParameter `protobuf:"bytes,15,opt,name=image_data_param,json=imageDataParam" json:"image_data_param,omitempty"` InfogainLossParam *InfogainLossParameter `protobuf:"bytes,16,opt,name=infogain_loss_param,json=infogainLossParam" json:"infogain_loss_param,omitempty"` InnerProductParam *InnerProductParameter `protobuf:"bytes,17,opt,name=inner_product_param,json=innerProductParam" json:"inner_product_param,omitempty"` LrnParam *LRNParameter `protobuf:"bytes,18,opt,name=lrn_param,json=lrnParam" json:"lrn_param,omitempty"` MemoryDataParam *MemoryDataParameter `protobuf:"bytes,22,opt,name=memory_data_param,json=memoryDataParam" json:"memory_data_param,omitempty"` MvnParam *MVNParameter `protobuf:"bytes,34,opt,name=mvn_param,json=mvnParam" json:"mvn_param,omitempty"` PoolingParam *PoolingParameter `protobuf:"bytes,19,opt,name=pooling_param,json=poolingParam" json:"pooling_param,omitempty"` PowerParam *PowerParameter `protobuf:"bytes,21,opt,name=power_param,json=powerParam" json:"power_param,omitempty"` ReluParam *ReLUParameter `protobuf:"bytes,30,opt,name=relu_param,json=reluParam" json:"relu_param,omitempty"` SigmoidParam *SigmoidParameter `protobuf:"bytes,38,opt,name=sigmoid_param,json=sigmoidParam" json:"sigmoid_param,omitempty"` SoftmaxParam *SoftmaxParameter `protobuf:"bytes,39,opt,name=softmax_param,json=softmaxParam" json:"softmax_param,omitempty"` SliceParam *SliceParameter `protobuf:"bytes,31,opt,name=slice_param,json=sliceParam" json:"slice_param,omitempty"` TanhParam *TanHParameter `protobuf:"bytes,37,opt,name=tanh_param,json=tanhParam" json:"tanh_param,omitempty"` ThresholdParam *ThresholdParameter `protobuf:"bytes,25,opt,name=threshold_param,json=thresholdParam" json:"threshold_param,omitempty"` WindowDataParam *WindowDataParameter `protobuf:"bytes,20,opt,name=window_data_param,json=windowDataParam" json:"window_data_param,omitempty"` TransformParam *TransformationParameter `protobuf:"bytes,36,opt,name=transform_param,json=transformParam" json:"transform_param,omitempty"` LossParam *LossParameter `protobuf:"bytes,42,opt,name=loss_param,json=lossParam" json:"loss_param,omitempty"` Layer *V0LayerParameter `protobuf:"bytes,1,opt,name=layer" json:"layer,omitempty"` }
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 (m *V1LayerParameter) GetType() V1LayerParameter_LayerType
func (*V1LayerParameter) GetWeightDecay ¶
func (m *V1LayerParameter) GetWeightDecay() []float32
func (*V1LayerParameter) GetWindowDataParam ¶
func (m *V1LayerParameter) GetWindowDataParam() *WindowDataParameter
func (*V1LayerParameter) Marshal ¶
func (m *V1LayerParameter) Marshal() (dAtA []byte, err error)
func (*V1LayerParameter) ProtoMessage ¶
func (*V1LayerParameter) ProtoMessage()
func (*V1LayerParameter) Reset ¶
func (m *V1LayerParameter) Reset()
func (*V1LayerParameter) Size ¶
func (m *V1LayerParameter) Size() (n int)
func (*V1LayerParameter) String ¶
func (m *V1LayerParameter) String() string
func (*V1LayerParameter) Unmarshal ¶
func (m *V1LayerParameter) Unmarshal(dAtA []byte) error
type V1LayerParameter_DimCheckMode ¶
type V1LayerParameter_DimCheckMode int32
const ( V1LayerParameter_STRICT V1LayerParameter_DimCheckMode = 0 V1LayerParameter_PERMISSIVE V1LayerParameter_DimCheckMode = 1 )
func (V1LayerParameter_DimCheckMode) Enum ¶
func (x V1LayerParameter_DimCheckMode) Enum() *V1LayerParameter_DimCheckMode
func (V1LayerParameter_DimCheckMode) EnumDescriptor ¶
func (V1LayerParameter_DimCheckMode) EnumDescriptor() ([]byte, []int)
func (V1LayerParameter_DimCheckMode) String ¶
func (x V1LayerParameter_DimCheckMode) String() 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 (x V1LayerParameter_LayerType) Enum() *V1LayerParameter_LayerType
func (V1LayerParameter_LayerType) EnumDescriptor ¶
func (V1LayerParameter_LayerType) EnumDescriptor() ([]byte, []int)
func (V1LayerParameter_LayerType) String ¶
func (x V1LayerParameter_LayerType) String() 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"` // 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=meanFile" json:"mean_file"` // Specify the batch size. BatchSize uint32 `protobuf:"varint,4,opt,name=batch_size,json=batchSize" json:"batch_size"` // Specify if we would like to randomly crop an image. CropSize *uint32 `protobuf:"varint,5,opt,name=crop_size,json=cropSize,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,json=fgThreshold,def=0.5" json:"fg_threshold,omitempty"` // Background (non-object) overlap threshold BgThreshold *float32 `protobuf:"fixed32,8,opt,name=bg_threshold,json=bgThreshold,def=0.5" json:"bg_threshold,omitempty"` // Fraction of batch that should be foreground objects FgFraction *float32 `protobuf:"fixed32,9,opt,name=fg_fraction,json=fgFraction,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,json=contextPad,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,json=cropMode,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,json=cacheImages,def=0" json:"cache_images,omitempty"` // append root_folder to locate images RootFolder *string `protobuf:"bytes,13,opt,name=root_folder,json=rootFolder,def=" json:"root_folder,omitempty"` }
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) Marshal ¶
func (m *WindowDataParameter) Marshal() (dAtA []byte, err error)
func (*WindowDataParameter) MarshalTo ¶
func (m *WindowDataParameter) MarshalTo(dAtA []byte) (int, error)
func (*WindowDataParameter) ProtoMessage ¶
func (*WindowDataParameter) ProtoMessage()
func (*WindowDataParameter) Reset ¶
func (m *WindowDataParameter) Reset()
func (*WindowDataParameter) Size ¶
func (m *WindowDataParameter) Size() (n int)
func (*WindowDataParameter) String ¶
func (m *WindowDataParameter) String() string
func (*WindowDataParameter) Unmarshal ¶
func (m *WindowDataParameter) Unmarshal(dAtA []byte) error