public class TensorFlowVersion extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Optional<String> |
cuda |
protected Optional<String> |
cudnn |
protected Optional<Boolean> |
supportsGPU |
protected String |
tfVersion |
| Constructor and Description |
|---|
TensorFlowVersion(String version,
Boolean supportsGPU,
String compatibleCUDA,
String compatibleCuDNN) |
TensorFlowVersion(TensorFlowVersion other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Optional<String> |
getCompatibleCUDA() |
Optional<String> |
getCompatibleCuDNN() |
String |
getVersionNumber() |
int |
hashCode() |
String |
toString() |
Optional<Boolean> |
usesGPU() |
protected final String tfVersion
public TensorFlowVersion(String version, Boolean supportsGPU, String compatibleCUDA, String compatibleCuDNN)
version - the TensorFlow version numbersupportsGPU - whether this version runs on the GPUcompatibleCUDA - the CUDA version compatible with this TensorFlow
versioncompatibleCuDNN - the CuDNN version compatible with this TensorFlow
versionpublic TensorFlowVersion(TensorFlowVersion other)
public String getVersionNumber()
public Optional<String> getCompatibleCUDA()
public Optional<String> getCompatibleCuDNN()
Copyright © 2014–2022 ImageJ. All rights reserved.