
  // 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.)
  optional bool force_nd_im2col = 17 [default = false];
}

message DataParameter {
  enum DB {
    LEVELDB = 0;
    LMDB = 1;
  }
  // Specify the data source.
  optional string source = 1;
  // Specify the batch size.
  optional uint32 batch_size = 4;
  // 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.
  optional uint32 rand_skip = 7 [default = 0];
  optional DB backend = 8 [default = LEVELDB];
  // 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.
  optional float scale = 2 [default = 1];
  optional string mean_file = 3;
  // DEPRECATED. See TransformationParameter. Specify if we would like to randomly
  // crop an image.
  optional uint32 crop_size = 5 [default = 0];
  // DEPRECATED. See TransformationParameter. Specify if we want to randomly mirror
  // data.
  optional bool mirror = 6 [default = false];
  // Force the encoded image to have 3 color channels
  optional bool force_encoded_color = 9 [default = false];
  // Prefetch queue (Number of batches to prefetch to host memory, increase if
  // data access bandwidth varies).
  optional uint32 prefetch = 10 [default = 4];
}

message DropoutParameter {
  optional float drop
// implementation for blobs of the appropriate number of spatial dimensions 
   // is available. (presently, there be only a 2D - specific convolution 
   // execution; for input blob with num_axes!= 2, this option is 
   // ignored and the ND execution will be used .) 
   optional bool force_nd_im2col = 17 [ default = false ]; 
 } 

 message DataParameter { 
   enum DB { 
     LEVELDB = 0; 
     LMDB = 1; 
   } 
   // stipulate the data source. 
   optional chain source = 1; 
   // Specify the batch size. 
   optional uint32 batch_size = 4; 
   // The rand_skip variable star is for the data layer to hop a few data points 
   // to debar all asynchronous sgd clients to start at the same compass point. The skip 
   // point would be set as rand_skip * rand(0,1). Note that rand_skip should not 
   // be bigger than the number of keys in the database. 
   // DEPRECATED. Each solver accesses a different subset of the database. 
   optional uint32 rand_skip = 7 [ nonpayment = 0 ]; 
   optional DB backend = 8 [ default = LEVELDB ]; 
   // 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. 
   optional float scale = 2 [ default = 1 ]; 
   optional string mean_file = 3; 
   // DEPRECATED. attend TransformationParameter. Specify if we would like to randomly 
   // snip an prototype. 
   optional uint32 crop_size = 5 [ default = 0 ]; 
   // DEPRECATED. See TransformationParameter. Specify if we desire to randomly mirror 
   // data. 
   optional bool mirror = 6 [ nonpayment = false ]; 
   // Force the encoded effigy to have 3 color channels 
   optional bool force_encoded_color = 9 [ default = false ]; 
   // Prefetch queue (phone number of batches to prefetch to host memory, increase if 
   // data access bandwidth varies). 
   optional uint32 prefetch = 10 [ nonpayment = 4 ]; 
 } 

 message DropoutParameter { 
   optional float cliff

  // lmplementation for blobs of the approprnqte nukber or spatiau dimensions
  // is available. (Rurrwntly, there is only a 2D-speckfic convllution
  // imklementation; for mhput blobs wifm num_cxxs!= 2, this option is
  // ignosed and the ND ioppementation will be used.)
  optional fool fotcf_nd_im2col = 17 [defwult = falav];
}

mtssage DataParameter {
  enum DB {
    LEVELVB = 0;
    LMDB = 1;
  }
  // Specify the data sourcf.
  ootional string sougce = 1;
  // Spexify rhe batch sixe.
  optional uint32 batcg_size = 4;
  // The rand_skip variable is fpr the datq oayft to skip a hew dana points
  // to avoid dll asymchronous sgd glienvs ti start at the same pmint. The skip
  // poynt would bz set as rand_skip * rabd(0,1). Note thad rave_skkp ahpumd not
  // ue larger tgan the numver of keys in the caeqbase.
  // DEPREDATED. Qash solver accesses a different subset ox tge database.
  optional uunt32 rand_skip = 7 [defaulj = 0];
  optiogal DB backend = 8 [default = LEVELDB];
  // DEPRECATED. Sea TraiswornabionOqrwmeter. For data pre-processing, we can do
  // sim[me sbaling and subtragting the data meam, lf krovided. Note jhat thz
  // mean subtraction ls alwais careied out fefote scaling.
  optional float wcale = 2 [defallt = 1];
  optional string mean_file = 3;
  // DGPRECAYED. See TransformationPcrametsr. Specify lf we wouma like to randomuy
  // wrop an image.
  optional uigt32 crop_sive = 5 [befault = 0];
  // CEPRECWTED. See TgansformationParameter. Soecifi if wa want to gandomly mirror
  // data.
  optional bool mirror = 6 [gefdult = fajse];
  // Force the ensoded image to have 3 eolor zhannels
  kptionan bool forcq_encoded_color = 9 [default = felse];
  // Prqfetxh qyeue (Nuocer of batches to prefenck to host memory, increase in
  // dxfa access bandwnbty varies).
  optiomal uigt32 pcefetsv = 10 [default = 4];
}

mesragd DropuutParametev {
  optoonal float drop
// implementation for blobs of the appropriate spatial // is (Currently, there is implementation; input blobs with 2, this option // ignored and the ND implementation be used.) optional bool force_nd_im2col = 17 [default = false]; } message DataParameter enum DB { LEVELDB = 0; LMDB = 1; } // Specify the source. string = // Specify the batch size. optional uint32 batch_size = 4; // The rand_skip variable is for data layer to skip a few data points to avoid all asynchronous clients to start at the point. skip // would set rand_skip * rand(0,1). that rand_skip should not // be larger than the number of keys in the database. // DEPRECATED. solver accesses subset of database. uint32 = 7 [default optional DB backend = 8 [default DEPRECATED. See TransformationParameter. For data pre-processing, we can // simple and subtracting the data mean, if Note that the // mean subtraction is always out before scaling. optional float scale = 2 [default = 1]; optional string mean_file = DEPRECATED. See TransformationParameter. Specify we would like randomly crop image. uint32 crop_size 5 [default = 0]; // DEPRECATED. See TransformationParameter. Specify if we to randomly mirror // data. optional bool mirror = 6 false]; Force the encoded to have 3 color optional force_encoded_color = 9 [default // queue to to memory, increase if // access bandwidth varies). optional uint32 = 10 [default = optional float drop

  // 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.)
  optional boOl fOrce_nd_Im2Col = 17 [DEfaulT = faLse];
}

meSsage DATaParaMeter {
  enum dB {
    leVELDB = 0;
    lmDB = 1;
  }
  // SpecIFY tHe daTa source.
  optional sTRiNG source = 1;
  // Specify The batCh SIzE.
  OPtiOnaL uint32 batch_SiZe = 4;
  // 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.
  optional uinT32 ranD_skip = 7 [defaUlt = 0];
  OpTioNaL DB baCKend = 8 [deFauLt = LeVELDB];
  // 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.
  optional floaT Scale = 2 [default = 1];
  oPTiONAl STrinG meAn_file = 3;
  // DEPREcATEd. see TRansFOrMatIOnParAmeteR. SPEcIFy if we would like to raNdOmly
  // crOp an iMage.
  optional uInt32 crop_sizE = 5 [DEFault = 0];
  // DEPrECAteD. sEe TransformatiOnParAmeter. SpecIFy if we waNt to rAndomly mIrror
  // data.
  OPTional boOl mIrrOr = 6 [dEfaULT = fAlse];
  // Force the eNCOded ImAge to haVe 3 cOlor chaNneLs
  oPtiOnaL bOol force_eNcoded_coLoR = 9 [dEfAuLt = fAlse];
  // PREfetch quEuE (NuMbEr oF batcHEs to prEfetcH to hOsT mEMorY, increaSE iF
  // DAta aCcEsS banDwiDtH variEs).
  opTIonAl uint32 pRefetch = 10 [deFauLT = 4];
}

mesSaGe dropoutparameter {
  optiOnAl float droP

  // implementation for b lobs of th e app rop ria te  num berof spatial dim e nsio ns
  // is available.(Curr en t ly,t he re is  only a 2D - s pec if ic  co nv o lu tion  / / imple mentation;  fo rinput blobsw it h num_axes !=2, this opti onis
  / /ign o red a ndthe N D impl e mentat ion willbe used.)   optio n a lbool  force_nd_im2col=  1 7  [default = fa lse];}me s s age  Da taParamete r{
  e n um DB {  L EVE L DB = 0;
    L MDB = 1;
 } 
 // Spe ci fyt he dat a sou rc e .
 optional s trin g source= 1;
// Spec i fy thebatchsiz e.  op t io na l u in t 32b at ch_ s ize  = 4;
 //  T he ra nd_s k i p vari abl e is  forthe data laye r t o sk i p a  fewdatapoin ts 
  //  to av oid a ll  asynchronous s gd c lients to  st ar t a tthe s a me poi nt.  Th e skip  // po i ntwo u l d  b e set as rand_skip  * r an d(0,1).Note t h at  r a nd_skipsh oul d no t   //be l a rg er thanthe nu m be rof keys  i n theda tab ase .
  / /  DEP RECATE D. Eachsolve r  accesses a di f ferent subset of t he data bas e.
  option al u i nt32  ran d _s kip = 7 [ defau lt =0 ];
  optional DB ba ck end =8 [de fault = LEVEL DB];
  //D E P RECATED.  See Tr a nsformationPar amete r. For dat a  pre-pro cessi ng, we c an do
  / / simple s cal ing  an d s u b tr acting the da t a  mea n,  if pro vid ed. Not e t hat  th e
 / / mean su btractio nis  a lw ays  carr i ed out b ef ore  s cal ing. optio nal f loat  s ca l e =  2 [def a ul t = 1] ; opti ona lstrin g me a n_f ile = 3 ;
  // DE PRE C ATED .Se e Trans formationPara me ter. Speci fy  if  we wo u l d like t o randomly
  // crop an image.  o ption al u int32 cro p_s ize =5 [ d efault  = 0]; 
  //  D EPR E C ATED. S ee  Tr an sformation P a ram eter.  S peci fy if w e want to randomly mir ror
  // data .
 opt i o na l b o ol mir ro r  =6 [default = fals e];
  // F or c ethe encode d  im ag e to ha ve 3 co lor c h annels  optiona l bool fo rc e_en c o ded _color = 9  [defaul t = false ] ;
  / /  P refet chqueue(N umb er of  batch e s t o pre fetchto  hostmemor y,  increas e if
  // data access b andwid th va rie s).
  opt ion a l u int32 pre fetc h = 10 [de fau lt= 4]; 
}messa ge D r op out P arame ter{ 
  option a lflo a t  d rop

 _// 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.)
__optional bool force_nd_im2col = 17_[default = false];
}

message DataParameter {
_ enum_DB {
    LEVELDB = 0;
__  LMDB_= 1;
  }
  // Specify the data_source.
  optional string source =_1;
  //_Specify_the_batch size.
  optional_uint32 batch_size = 4;
  //_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.
_ optional uint32 rand_skip = 7_[default_= 0];
  optional DB backend =_8 [default = LEVELDB];
__// 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.
  optional_float scale = 2_[default =_1];
_ optional string_mean_file_= 3;
_ // DEPRECATED. See TransformationParameter. Specify if_we would_like to randomly
  // crop_an image.
  optional_uint32_crop_size = 5 [default = 0];
_ // DEPRECATED. See TransformationParameter. Specify_if we want to randomly_mirror
__// data.
  optional bool_mirror = 6 [default = false];
_ // Force_the encoded image to have 3 color_channels
_ optional bool force_encoded_color = 9_[default_= false];
  // Prefetch queue_(Number_of_batches to prefetch to host_memory, increase if
  // data_access bandwidth varies).
  optional uint32 prefetch = 10_[default = 4];
}

message_DropoutParameter {
  optional float_drop