cellflow.networks.ConditionEncoder.has_variable¶
- ConditionEncoder.has_variable(col, name)¶
Checks if a variable of given collection and name exists in this Module.
See
flax.core.variablesfor more explanation on variables and collections.- Args:
col: The variable collection name. name: The name of the variable.
- Returns:
True if the variable exists.