| 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
)
Public Shared Function ReadTorchBlob (
fileName As String,
Optional isBinary As Boolean = true
) As Mat
public:
static Mat^ ReadTorchBlob(
String^ fileName,
bool isBinary = true
)
static member ReadTorchBlob :
fileName : string *
?isBinary : bool
(* Defaults:
let _isBinary = defaultArg isBinary true
*)
-> Mat
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