Differentiable.VectorFunctions operating on vectors.
val to_scalar : (Algebra.Vector.t, float) tval cadd : float -> (Algebra.Vector.t, Algebra.Vector.t) tAdd a constant.
val cmul : float -> (Algebra.Vector.t, Algebra.Vector.t) tMultiply by a constant.
val add : (Algebra.Vector.t * Algebra.Vector.t, Algebra.Vector.t) tAdd two vectors.
val hadamard : (Algebra.Vector.t * Algebra.Vector.t, Algebra.Vector.t) tHadamrd product of two vectors.
val sum : (Algebra.Vector.t, float) tSum.
val dot : (Algebra.Vector.t * Algebra.Vector.t, float) tDot product.
val squared_norm : (Algebra.Vector.t, float) tSquared norm of a vector.
val squared_distance_to : Algebra.Vector.t -> (Algebra.Vector.t, float) tSquared distance to a fixed vector.
val softmax : (Algebra.Vector.t, Algebra.Vector.t) tSoftmax function.
val map : (float, float) t -> (Algebra.Vector.t, Algebra.Vector.t) tPointwise application of a differentiable function.
val sigmoid : (Algebra.Vector.t, Algebra.Vector.t) tPointwise sigmoid.
val tanh : (Algebra.Vector.t, Algebra.Vector.t) tPointwise hyperbolic tangent.
val relu : (Algebra.Vector.t, Algebra.Vector.t) tPointwise rectified linear unit.
val log : (Algebra.Vector.t, Algebra.Vector.t) tPointwise log.