qp.operation.is_trainable

is_trainable = BooleanFn(is_trainable)[source]

Returns True if any of the parameters of an operator is trainable according to qp.math.requires_grad.