MCPcopy Create free account

hub / github.com/PacktPublishing/Getting-Started-with-TensorFlow / functions

Functions38 in github.com/PacktPublishing/Getting-Started-with-TensorFlow

↓ 7 callersMethodnext_batch
Return the next `batch_size` examples from this data set.
Chapter 5/input_data.py:92
↓ 6 callersFunction_read32
(bytestream)
Chapter 5/input_data.py:18
↓ 4 callersFunctionmaybe_download
Download the data from Yann's website, unless it's already here.
Chapter 5/input_data.py:8
↓ 3 callersFunction_file_to_word_ids
(filename, word_to_id)
Chapter 5/reader.py:46
↓ 3 callersFunctionrun_epoch
Runs the model on the given data.
Chapter 5/ptb_word_lm.py:242
↓ 2 callersFunction_read_words
(filename)
Chapter 5/reader.py:29
↓ 2 callersFunctionconv2d
(img, w, b)
Chapter 5/convolutional_network.py:24
↓ 2 callersFunctionextract_images
Extract the images into a 4D uint8 numpy array [index, y, x, depth].
Chapter 5/input_data.py:21
↓ 2 callersFunctionextract_labels
Extract the labels into a 1D uint8 numpy array [index].
Chapter 5/input_data.py:44
↓ 2 callersFunctionget_config
()
Chapter 5/ptb_word_lm.py:266
↓ 2 callersFunctionmax_pool
(img, k)
Chapter 5/convolutional_network.py:30
↓ 1 callersFunction_build_vocab
(filename)
Chapter 5/reader.py:34
↓ 1 callersMethodassign_lr
(self, session, lr_value)
Chapter 5/ptb_word_lm.py:146
↓ 1 callersFunctiondense_to_one_hot
Convert class labels from scalars to one-hot vectors.
Chapter 5/input_data.py:37
↓ 1 callersFunctiondisplay_partition
(x_values,y_values,assignment_values)
Chapter 3/Kmeans.py:7
↓ 1 callersFunctionlaplace
Compute the 2D laplacian of an array
Chapter 2/partial_differential_equation.py:20
↓ 1 callersFunctionmake_kernel
Transform a 2D array into a convolution kernel
Chapter 2/partial_differential_equation.py:8
↓ 1 callersFunctionsimple_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
Methodcost
(self)
Chapter 5/ptb_word_lm.py:162
Methodepochs_completed
(self)
Chapter 5/input_data.py:90
Methodfinal_state
(self)
Chapter 5/ptb_word_lm.py:166
Methodimages
(self)
Chapter 5/input_data.py:81
Methodinitial_state
(self)
Chapter 5/ptb_word_lm.py:158
Methodinput_data
(self)
Chapter 5/ptb_word_lm.py:150
Methodlabels
(self)
Chapter 5/input_data.py:84
Methodlr
(self)
Chapter 5/ptb_word_lm.py:170
Functionmain
(_)
Chapter 5/ptb_word_lm.py:279
Methodnum_examples
(self)
Chapter 5/input_data.py:87
Functionptb_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
Functionptb_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
Functionread_data_sets
(train_dir, fake_data=False, one_hot=False)
Chapter 5/input_data.py:115
MethodsetUp
(self)
Chapter 5/reader_test.py:31
Methodtargets
(self)
Chapter 5/ptb_word_lm.py:154
MethodtestPtbIterator
(self)
Chapter 5/reader_test.py:47
MethodtestPtbRawData
(self)
Chapter 5/reader_test.py:37
Methodtrain_op
(self)
Chapter 5/ptb_word_lm.py:174