Package deepboof.io.torch7
Class ConvertTorchToBoofForward
java.lang.Object
deepboof.io.torch7.ConvertTorchToBoofForward
Converts a Torch network into the equivalent DeepBoof network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tconvert(TorchObject input) Converts a torch object into a DeepBoof object.
-
Constructor Details
-
ConvertTorchToBoofForward
public ConvertTorchToBoofForward()
-
-
Method Details
-
convert
Converts a torch object into a DeepBoof object. Use instanceof to determine which type of object it is.- Parameters:
input- The TorchObject- Returns:
- Objects of type FunctionAndParameters, SequenceAndParameters, or different tensor data types.
-