Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 1, 2024
1 parent b45b69c commit 8c8abf4
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,17 @@ public interface DeepLearningEngineInterface
* implements the interface, the code to run the model on the tensors should
* go here.
*
* @param <T>
* ImgLib2 data type of the inputs
* @param <R>
* ImgLib2 data type of the outputs, both can be the same
* @param inputTensors
* list containing the input tensors
* @param outputTensors
* list containing only the information about output tensors
* @throws RunModelException
* if there is an error in the execution of the model
*/
/*
* TODO
* TODO
* TODO should it be like the commented option? ask jean-yves
*/
//public void run( List< Tensor > inputTensors, List< Tensor > outputTensors ) throws RunModelException;
public <T extends RealType<T> & NativeType<T>, R extends RealType<R> & NativeType<R>>
void run( List< Tensor < T > > inputTensors, List< Tensor < R > > outputTensors ) throws RunModelException;

Expand Down

0 comments on commit 8c8abf4

Please sign in to comment.