Architecture | Year Introduced | Consumer GPU Example | Workstation GPU Example | Data Center GPU Example |
---|---|---|---|---|
Ada Lovelace | 2022 | GeForce RTX 4090, GeForce RTX 4080 | RTX 6000, RTX 4500 | L40 |
Hopper | 2022 | H100 | ||
Ampere | 2020 | GeForce RTX 3090, GeForce RTX 3080 Ti | RTX A6000 | A100 Tensor Core |
Turing | 2018 | GeForce RTX 2080 SUPER, GeForce RTX 2080 | RTX T1000, Quadro RTX 6000 | T4 |
Volta | 2017 | Titan V | Quadro GV100 | Tesla V100 |
Pascal | 2016 | GeForce GTX 1080 | Quadro P6000 | Tesla P100 |
Segment name | Consumer GPU | Workstation GPU | Data Center GPU | Edge GPU |
---|---|---|---|---|
GPU name prefix | NVIDIA GeForce RTX | NVIDIA RTX | NVIDIA | NVIDIA Jetson |
Older GPU name prefix | NVIDIA Titan, NVIDIA GeForce GTX | NVIDIA Quadro | NVIDIA Tesla | NVIDIA Jetson Orin, NVIDIA Jetson Nano |
GPU Example | NVIDIA GeForce RTX 4090 | NVIDIA RTX A6000 | NVIDIA H100 | NVIDIA Jetson |
Older GPU example | NVIDIA Titan V, NVIDIA GeForce GTX 1080 | NVIDIA Quadro P6000 | NVIDIA Tesla V100 | NVIDIA Jetson Orin, NVIDIA Jetson Nano |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model.compile(Adam(learning_rate=1e-4), | |
loss='binary_crossentropy', | |
metrics=['binary_accuracy']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model = Sequential() | |
model.add(normalizer) | |
model.add(Dense(5, input_shape=(X_train.shape[1],), | |
activation='relu', kernel_initializer='he_normal')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(5, activation="relu", | |
kernel_initializer='he_normal')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(1, activation="sigmoid", | |
kernel_initializer="glorot_normal")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
normalizer = preprocessing.Normalization(axis=-1) | |
normalizer.adapt(np.array(X_train)) | |
normalizer.mean.numpy() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javaeeeee.controllers; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; | |
import org.springframework.boot.test.context.SpringBootTest; | |
import org.springframework.test.context.junit4.SpringRunner; | |
import org.springframework.test.web.servlet.MockMvc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javaeeeee.springrest.controllers; | |
import org.junit.Test; | |
import org.junit.Before; | |
import org.junit.runner.RunWith; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.test.context.ContextConfiguration; | |
import org.springframework.test.context.junit4.SpringRunner; | |
import org.springframework.test.context.web.WebAppConfiguration; | |
import org.springframework.test.web.servlet.MockMvc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javaeeeee.springrest.controllers; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class HelloController { | |
@GetMapping("/hello") | |
public String getGreeting() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="windows-1252"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:mvc="http://www.springframework.org/schema/mvc" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd | |
http://www.springframework.org/schema/context | |
http://www.springframework.org/schema/context/spring-context-4.0.xsd | |
http://www.springframework.org/schema/mvc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE web-app PUBLIC | |
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | |
"http://java.sun.com/dtd/web-app_2_3.dtd" > | |
<web-app> | |
<display-name>Archetype Created Web Application</display-name> | |
<servlet> | |
<servlet-name>dispatcher</servlet-name> | |
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | |
<load-on-startup>1</load-on-startup> |
NewerOlder