Click or drag to resize

CvDnnReadTorchBlob Method

Loads blob which was serialized as torch.Tensor object of Torch7 framework.

Namespace:  OpenCvSharp.Dnn
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Mat ReadTorchBlob(
	string fileName,
	bool isBinary = true
)

Parameters

fileName
Type: SystemString

[Missing <param name="fileName"/> documentation for "M:OpenCvSharp.Dnn.CvDnn.ReadTorchBlob(System.String,System.Boolean)"]

isBinary (Optional)
Type: SystemBoolean

[Missing <param name="isBinary"/> documentation for "M:OpenCvSharp.Dnn.CvDnn.ReadTorchBlob(System.String,System.Boolean)"]

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.Dnn.CvDnn.ReadTorchBlob(System.String,System.Boolean)"]

Remarks
This function has the same limitations as createTorchImporter().
See Also