Skip to content

Commit

Permalink
fix code quality regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
Gleethos committed Dec 10, 2024
1 parent 756f1cf commit 8de78d3
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/main/java/neureka/TensorConstructor.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,6 @@
*/
final class TensorConstructor
{
/**
* An interface defining methods for configuring a {@link Tensor}
* in the making...
*/
static class Args {
private NDConfiguration _conf;
private Data<?> _data;
private Boolean _isVirtual;

public void setConf( NDConfiguration conf ) { _conf = conf; }

public void setData( Data<?> o ) { _data = o; }

public void setIsVirtual( boolean isVirtual ) { _isVirtual = isVirtual; }

public NDConfiguration getConf() { return _conf; }

public Data<?> getData() { return _data; }

public Boolean isVirtual() { return _isVirtual; }
}

private final Args _Args;
private final Device<Object> _targetDevice;
private final NDConstructor _ndConstructor;
Expand Down Expand Up @@ -145,4 +123,26 @@ public <V> Args newSeeded(Class<V> valueType, Arg.Seed seed )
return _Args;
}

/**
* An interface defining methods for configuring a {@link Tensor}
* in the making...
*/
static class Args {
private NDConfiguration _conf;
private Data<?> _data;
private Boolean _isVirtual;

public void setConf( NDConfiguration conf ) { _conf = conf; }

public void setData( Data<?> o ) { _data = o; }

public void setIsVirtual( boolean isVirtual ) { _isVirtual = isVirtual; }

public NDConfiguration getConf() { return _conf; }

public Data<?> getData() { return _data; }

public Boolean isVirtual() { return _isVirtual; }
}

}

0 comments on commit 8de78d3

Please sign in to comment.