Package org.nd4j.linalg.schedule
Class MapSchedule.Builder
- java.lang.Object
-
- org.nd4j.linalg.schedule.MapSchedule.Builder
-
- Enclosing class:
- MapSchedule
public static class MapSchedule.Builder extends Object
DynamicCustomOpsBuilder for conveniently constructing map schedules
-
-
Constructor Summary
Constructors Constructor Description Builder(ScheduleType scheduleType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapSchedule.Builder
add(int position, double value)
Add a single point to the map schedule.MapSchedule
build()
-
-
-
Constructor Detail
-
Builder
public Builder(ScheduleType scheduleType)
- Parameters:
scheduleType
- Schedule opType to use
-
-
Method Detail
-
add
public MapSchedule.Builder add(int position, double value)
Add a single point to the map schedule. Indexes start at 0- Parameters:
position
- Position to add (iteration or epoch index, depending on setting)value
- Value for that iteraiton/epoch
-
build
public MapSchedule build()
-
-