Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Getting-Started-with-TensorFlow
/ functions
Functions
38 in github.com/PacktPublishing/Getting-Started-with-TensorFlow
⨍
Functions
38
◇
Types & classes
8
↓ 7 callers
Method
next_batch
Return the next `batch_size` examples from this data set.
Chapter 5/input_data.py:92
↓ 6 callers
Function
_read32
(bytestream)
Chapter 5/input_data.py:18
↓ 4 callers
Function
maybe_download
Download the data from Yann's website, unless it's already here.
Chapter 5/input_data.py:8
↓ 3 callers
Function
_file_to_word_ids
(filename, word_to_id)
Chapter 5/reader.py:46
↓ 3 callers
Function
run_epoch
Runs the model on the given data.
Chapter 5/ptb_word_lm.py:242
↓ 2 callers
Function
_read_words
(filename)
Chapter 5/reader.py:29
↓ 2 callers
Function
conv2d
(img, w, b)
Chapter 5/convolutional_network.py:24
↓ 2 callers
Function
extract_images
Extract the images into a 4D uint8 numpy array [index, y, x, depth].
Chapter 5/input_data.py:21
↓ 2 callers
Function
extract_labels
Extract the labels into a 1D uint8 numpy array [index].
Chapter 5/input_data.py:44
↓ 2 callers
Function
get_config
()
Chapter 5/ptb_word_lm.py:266
↓ 2 callers
Function
max_pool
(img, k)
Chapter 5/convolutional_network.py:30
↓ 1 callers
Function
_build_vocab
(filename)
Chapter 5/reader.py:34
↓ 1 callers
Method
assign_lr
(self, session, lr_value)
Chapter 5/ptb_word_lm.py:146
↓ 1 callers
Function
dense_to_one_hot
Convert class labels from scalars to one-hot vectors.
Chapter 5/input_data.py:37
↓ 1 callers
Function
display_partition
(x_values,y_values,assignment_values)
Chapter 3/Kmeans.py:7
↓ 1 callers
Function
laplace
Compute the 2D laplacian of an array
Chapter 2/partial_differential_equation.py:20
↓ 1 callers
Function
make_kernel
Transform a 2D array into a convolution kernel
Chapter 2/partial_differential_equation.py:8
↓ 1 callers
Function
simple_conv
A simplified 2D convolution operation
Chapter 2/partial_differential_equation.py:14
Method
__init__
(self, is_training, config)
Chapter 5/ptb_word_lm.py:80
Method
__init__
(self, images, labels, fake_data=False)
Chapter 5/input_data.py:60
Method
cost
(self)
Chapter 5/ptb_word_lm.py:162
Method
epochs_completed
(self)
Chapter 5/input_data.py:90
Method
final_state
(self)
Chapter 5/ptb_word_lm.py:166
Method
images
(self)
Chapter 5/input_data.py:81
Method
initial_state
(self)
Chapter 5/ptb_word_lm.py:158
Method
input_data
(self)
Chapter 5/ptb_word_lm.py:150
Method
labels
(self)
Chapter 5/input_data.py:84
Method
lr
(self)
Chapter 5/ptb_word_lm.py:170
Function
main
(_)
Chapter 5/ptb_word_lm.py:279
Method
num_examples
(self)
Chapter 5/input_data.py:87
Function
ptb_iterator
Iterate on the raw PTB data. This generates batch_size pointers into the raw PTB data, and allows minibatch iteration along these pointers. Ar
Chapter 5/reader.py:82
Function
ptb_raw_data
Load PTB raw data from data directory "data_path". Reads PTB text files, converts strings to integer ids, and performs mini-batching of the input
Chapter 5/reader.py:51
Function
read_data_sets
(train_dir, fake_data=False, one_hot=False)
Chapter 5/input_data.py:115
Method
setUp
(self)
Chapter 5/reader_test.py:31
Method
targets
(self)
Chapter 5/ptb_word_lm.py:154
Method
testPtbIterator
(self)
Chapter 5/reader_test.py:47
Method
testPtbRawData
(self)
Chapter 5/reader_test.py:37
Method
train_op
(self)
Chapter 5/ptb_word_lm.py:174