Пример #1
0
 public LearningServices(IOptions <Settings> settings, IWebHostEnvironment hostingEnvironment)
 {
     _learningContext    = new LearningContext(settings);
     _hostingEnvironment = hostingEnvironment;
 }
Пример #2
0
 public TopicRepository(LearningContext context) : base(context)
 {
 }
Пример #3
0
 public IndividualRepository(LearningContext context) : base(context)
 {
 }
Пример #4
0
 public LearningRepository(LearningContext context)
 {
     _context = context;
 }
Пример #5
0
 public StudentRepository(LearningContext ctx)
 {
     _ctx = ctx;
 }
Пример #6
0
 public StudentController(LearningContext context)
 {
     _context = context;
 }
Пример #7
0
 public InSQLSchoolDatabase(LearningContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Пример #8
0
 public LearningRepository(LearningContext ctx)
 {
     _ctx = ctx;
 }
 public LearningRepository(LearningContext context, ILogger<LearningRepository> logger)
 {
     _context = context;
     _logger = logger;
 }
Пример #10
0
 public UserRepository(LearningContext ctx) : base(ctx)
 {
 }
 public LearningContextSeedData(LearningContext context, UserManager<User> userManager)
 {
     _context = context;
     _userManager = userManager;
 }
Пример #12
0
 public AccountController(LearningContext context)
 {
     _context = context;
 }
Пример #13
0
 public LearningPractisesController(LearningContext context)
 {
     _context = context;
 }
Пример #14
0
 public LearningRepository(LearningContext _ctx)
 {
     context = _ctx;
 }
 public StatisticsService(LearningContext db, IMapper mapper)
 {
     this.db     = db;
     this.mapper = mapper;
 }
Пример #16
0
 public StudentRepository(LearningContext ctx) : base(ctx)
 {
 }
 public LanguagesService(LearningContext context, IMapper mapper)
 {
     this.db     = context;
     this.mapper = mapper;
 }
Пример #18
0
 public BaseRepository(LearningContext ctx)
 {
     _ctx       = ctx;
     this.dbSet = _ctx.Set <T>();
 }
Пример #19
0
 public LearningRessourcesController(LearningContext context, IHostingEnvironment env)
 {
     _context = context;
     _env     = env;
 }
Пример #20
0
 public DecksService(LearningContext db, IMapper mapper, IUsersService usersService)
 {
     this.db           = db;
     this.mapper       = mapper;
     this.usersService = usersService;
 }
Пример #21
0
 public LearningDataSeeder(LearningContext ctx)
 {
     _ctx = ctx;
 }
Пример #22
0
        /// <summary>
        /// Creates a graph training engine
        /// </summary>
        /// <param name="dataSource">Data source with training data</param>
        /// <param name="learningRate">Initial learning rate</param>
        /// <param name="batchSize">Mini batch size</param>
        /// <param name="trainingErrorCalculation">How to calculate the training error</param>
        /// <returns></returns>
        public IGraphTrainingEngine CreateTrainingEngine(IDataSource dataSource, float learningRate = 0.1f, int batchSize = 128, TrainingErrorCalculation trainingErrorCalculation = TrainingErrorCalculation.Fast)
        {
            var learningContext = new LearningContext(_lap, learningRate, batchSize, trainingErrorCalculation, dataSource.IsSequential);

            return(new TrainingEngine(_lap, dataSource, learningContext, null));
        }
Пример #23
0
 public LearningRepository(LearningContext context)
 {
     _context = context;
 }
 public ProductsController(LearningContext context)
 {
     _context = context;
 }
Пример #25
0
 public EvaluationRepository(LearningContext context) : base(context)
 {
 }
Пример #26
0
 public Test1Service(LearningContext context)
 {
     this.context = context;
 }
Пример #27
0
 public PlaneacionRepository(LearningContext context) : base(context)
 {
 }
 public TokenController(IConfiguration configuration, LearningContext dbContext)
 {
     _configuration = configuration;
     _dbContext     = dbContext;
 }
Пример #29
0
 public AssignedCourseRepository(LearningContext context) : base(context)
 {
 }
 public EmployeeRepository(LearningContext learningContext)
 {
     _learningContext = learningContext;
 }