Deeplearning4j
Community Forum
ND4J Javadoc
DL4J Javadoc
Search…
EN 1.0.0-M2
Deeplearning4j Suite Overview
Release Notes
Multi-Project
Tutorials
How To Guides
Reference
Explanation
The core workflow
Configuration
Build Tools
Snapshots
Maven
Deeplearning4j
Tutorials
How To Guides
Reference
Explanation
datavec
Tutorials
How To Guides
Reference
Explanation
Nd4j
Tutorials
How To Guides
Reference
Explanation
Samediff
Tutorials
How To Guides
Reference
Explanation
Libnd4j
How To Guides
Reference
Explanation
Python4j
Tutorials
How To Guides
Reference
Explanation
Spark
Tutorials
How To Guides
Reference
Explanation
codegen
Powered By
GitBook
Maven
Configure the Maven build tool for Deeplearning4j.
Configuring the Maven build tool
You can use Deeplearning4j with Maven by adding the following to your
pom.xml
:
1
<
dependencies
>
2
<
dependency
>
3
<
groupId
>
org.deeplearning4j
</
groupId
>
4
<
artifactId
>
deeplearning4j-core
</
artifactId
>
5
<
version
>
1.0.0-M1.1
</
version
>
6
</
dependency
>
7
</
dependencies
>
Copied!
The instructions below apply to all DL4J and ND4J submodules, such as
deeplearning4j-api
,
deeplearning4j-scaleout
, and ND4J backends.
Add a backend
DL4J relies on ND4J for hardware-specific implementations and tensor operations. Add a backend by pasting the following snippet into your
pom.xml
:
1
<
dependencies
>
2
<
dependency
>
3
<
groupId
>
org.nd4j
</
groupId
>
4
<
artifactId
>
nd4j-native-platform
</
artifactId
>
5
<
version
>
1.0.0-M1.1
</
version
>
6
</
dependency
>
7
</
dependencies
>
Copied!
You can also swap the standard CPU implementation for
GPUs
.
Previous
Snapshots
Next - Deeplearning4j
Tutorials
Last modified
4mo ago
Export as PDF
Copy link
Contents
Configuring the Maven build tool
Add a backend