bolero.representation
.ConstantBehavior¶bolero.representation.
ConstantBehavior
(outputs=None)[source]¶Generates constant outputs.
Parameters: |
|
---|
can_step
()¶Returns if step() can be called again.
Returns: |
|
---|
get_args
()¶Get parameters for this estimator.
Returns: |
|
---|
get_n_params
()[source]¶Get number of parameters.
Returns: |
|
---|
get_outputs
(outputs)[source]¶Get outputs of the last step.
Parameters: |
|
---|
get_params
()[source]¶Get current parameters.
Returns: |
|
---|
init
(n_inputs, n_outputs)[source]¶Initialize the behavior.
Parameters: |
|
---|
set_inputs
(inputs)[source]¶Set input for the next step.
Parameters: |
|
---|
set_meta_parameters
(keys, meta_parameters)[source]¶Set meta parameters (none defined for constant behavior).