Package deepboof.io.torch7
Class ConvertTorchToBoofForward
java.lang.Object
deepboof.io.torch7.ConvertTorchToBoofForward
public class ConvertTorchToBoofForward extends Object
Converts a Torch network into the equivalent DeepBoof network.
-
Constructor Summary
Constructors Constructor Description ConvertTorchToBoofForward() -
Method Summary
Modifier and Type Method Description static <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.
-