VComposable¶
-
class
menpo.transform.base.composable.
VComposable
[source]¶ Bases:
object
Mix-in for
Vectorizable
ComposableTransform
s.Use this mix-in with
ComposableTransform
if theComposableTransform
in question isVectorizable
as this addsfrom_vector()
variants to theComposableTransform
interface.These can be tuned for performance.
-
compose_after_from_vector_inplace
(vector)[source]¶ Specialised inplace composition with a vector. This should be overridden to provide specific cases of composition whereby the current state of the transform can be derived purely from the provided vector.
Parameters: vector ( (n_parameters,)
ndarray) – Vector to update the transform state with.
-