CvDnnReadTorchBlob Method
|
Loads blob which was serialized as torch.Tensor object of Torch7 framework.
Namespace:
OpenCvSharp.Dnn
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic 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
OpenCvSharp.Dnn.CvDnn.ReadTorchBlob = function(fileName, isBinary);
Parameters
- fileName
- Type: SystemString
- isBinary (Optional)
- Type: SystemBoolean
Return Value
Type:
Mat
Remarks
This function has the same limitations as createTorchImporter().
See Also