A Select
function subsets a character vector. They are used by the callback CallbackSetUnfreeze
to select parameters to freeze or unfreeze during training.
Usage
select_all()
select_none()
select_grep(pattern, ignore.case = FALSE, perl = FALSE, fixed = FALSE)
select_name(param_names, assert_present = TRUE)
select_invert(select)
Functions
select_all()
:select_all
selects all elementsselect_none()
:select_none
selects no elementsselect_grep()
:select_grep
selects elements with names matching a regular expressionselect_name()
:select_name
selects elements with names matching the given namesselect_invert()
:select_invert
selects the elements NOT selected by the given selector