viam.services.mlmodel.utils

Functions

flat_tensors_to_ndarrays(→ Dict[str, numpy.typing.NDArray])

ndarrays_to_flat_tensors(...)

Module Contents

viam.services.mlmodel.utils.flat_tensors_to_ndarrays(flat_tensors: viam.proto.service.mlmodel.FlatTensors) Dict[str, numpy.typing.NDArray][source]
viam.services.mlmodel.utils.ndarrays_to_flat_tensors(ndarrays: Dict[str, numpy.typing.NDArray]) viam.proto.service.mlmodel.FlatTensors[source]