oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Tensors Conversions

Functions

static Image oevislib_net.DeepLearning.ONNX.TensorOperations.ConvertTensorToImage (Tensor inTensor, ChannelsLayout inLayout)
 Convert a Tensor to an Image.
static Array< Imageoevislib_net.DeepLearning.ONNX.TensorOperations.ConvertTensorToImageArray (Tensor inTensor, ChannelsLayout inLayout)
 Convert a Tensor of rank N into N single-channel Images.

Detailed Description

Function Documentation

◆ ConvertTensorToImage()

Image oevislib_net.DeepLearning.ONNX.TensorOperations.ConvertTensorToImage ( Tensor inTensor,
ChannelsLayout inLayout )
inlinestatic

Convert a Tensor to an Image.

Parameters
inTensorInput Tensor.
inLayoutTensor ChannelsLayout::Type.
Returns
Converted tensor.

◆ ConvertTensorToImageArray()

Array< Image > oevislib_net.DeepLearning.ONNX.TensorOperations.ConvertTensorToImageArray ( Tensor inTensor,
ChannelsLayout inLayout )
inlinestatic

Convert a Tensor of rank N into N single-channel Images.

Parameters
inTensorInput Tensor.
inLayoutTensor ChannelsLayout::Type.
Returns
Array that contains all the single-channel images.