anchor.diff:  //        SymTensor.Compiler.Cuda.Debug.DebugCompile <- true
   //        SymTensor.Compiler.Cuda.Debug.ResourceUsage <- true
   //        SymTensor.Compiler.Cuda.Debug.DisableStreams <- true
  -//        SymTensor.Compiler.Cuda.Debug.DumpCode <- true
  +        SymTensor.Compiler.Cuda.Debug.DumpCode <- true
  +        SymTensor.Compiler.Cuda.Debug.DisableStreams <- true
  +        SymTensor.Compiler.Cuda.Debug.DisableEvents <- true
  +        SymTensor.Compiler.Cuda.Debug.TerminateWhenNonFinite <- false
   
           //let trc = SymTensor.Trace.startSession "trace"
   
  
positive.code: 
          let trainCfg = {Train.defaultCfg with   BatchSize          = batchSize
                                                  Termination        = Train.ItersWithoutImprovement 100
                                                  DumpPrefix         = None}
          let trnErr,valErr,tstErr = classificationErrors  batchSize data pred_fun
          printfn"Classification errors before training:"
          printfn "Train Error = %f%%, Validation Error = %f%%, Test Error =%f%% " (trnErr*100.0f) (valErr*100.0f) (tstErr*100.0f)
  
negative.code: 
  
          //let tr = trc.End()
          Cuda.CudaSup.shutdown ()
          0
  
  
  