Extensor v0.1.4 Extensor.Matrex

Optional Matrex integration

Link to this section Summary

Functions

Convert from an Tensor struct to a Matrex matrix

Convert a Matrex matrix to a tensor struct

Link to this section Functions

Link to this function from_tensor(tensor)
from_tensor(tensor :: Extensor.Tensor.t()) :: Matrex.t()

Convert from an Tensor struct to a Matrex matrix

Currently, this only works for two dimensional tensors and the type must be :float.

Link to this function to_tensor(matrex)
to_tensor(matrix :: Matrex.t()) :: Extensor.Tensor.t()

Convert a Matrex matrix to a tensor struct