November 2018
Intermediate to advanced
322 pages
7h 54m
English
Now that the model has been trained, we can have some fun with it. In this section, we will see how we can use the model to generate book scripts. Use the following parameters:
Follow these steps to generate the model:
Extract the four tensors using the following code:
def extract_tensors(tf_graph): """ Get input, initial state, final state, and probabilities tensor from the graph :param loaded_graph: TensorFlow graph loaded from file :return: Tuple (tensor_input,tensor_initial_state,tensor_final_state, tensor_probs) ...
Read now
Unlock full access