Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cs230-stanford/cs230-code-examples
/ types & classes
Types & classes
10 in github.com/cs230-stanford/cs230-code-examples
⨍
Functions
97
◇
Types & classes
10
↓ 4 callers
Class
DataLoader
Handles all aspects of the data. Stores the dataset_params, vocabulary and tags with their mappings to indices.
pytorch/nlp/model/data_loader.py:12
↓ 3 callers
Class
Params
Class that loads hyperparameters from a json file. Example: ``` params = Params(json_path) print(params.learning_rate) params.lea
tensorflow/vision/model/utils.py:7
↓ 3 callers
Class
Params
Class that loads hyperparameters from a json file. Example: ``` params = Params(json_path) print(params.learning_rate) params.lea
tensorflow/nlp/model/utils.py:7
↓ 2 callers
Class
SIGNSDataset
A standard PyTorch definition of Dataset which defines the functions __len__ and __getitem__.
pytorch/vision/model/data_loader.py:22
Class
Net
This is the standard way to define your own network in PyTorch. You typically choose the components (e.g. LSTMs, linear layers etc.) of your
pytorch/vision/model/net.py:9
Class
Net
This is the standard way to define your own network in PyTorch. You typically choose the components (e.g. LSTMs, linear layers etc.) of your
pytorch/nlp/model/net.py:9
Class
Params
Class that loads hyperparameters from a json file. Example: ``` params = Params(json_path) print(params.learning_rate) params.lea
pytorch/vision/utils.py:8
Class
Params
Class that loads hyperparameters from a json file. Example: ``` params = Params(json_path) print(params.learning_rate) params.lea
pytorch/nlp/utils.py:9
Class
RunningAverage
A simple class that maintains the running average of a quantity Example: ``` loss_avg = RunningAverage() loss_avg.update(2) l
pytorch/vision/utils.py:40
Class
RunningAverage
A simple class that maintains the running average of a quantity Example: ``` loss_avg = RunningAverage() loss_avg.update(2) loss_
pytorch/nlp/utils.py:41