TensorFlow Tutorial and Examples for Beginners (support TF v1 & v2)
This report summarizes scanner evidence for aymericdamien/TensorFlow-Examples, a Jupyter Notebook project with 43,730 GitHub stars. SynthScan examined 8,067 lines of code across 70 source files, recording 302 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 87.8 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-15.
Can maintainers explain intent, assumptions, and trade-offs? 136 finding(s).
Are imports declared and package/API names verified? 122 finding(s).
Are wrappers, guards, and repeated structures necessary? 46 finding(s).
Which changes need focused human review? 302 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 302 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 57 | # Create a TensorFlor GBDT Estimator | COMMENT |
| MEDIUM | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 70 | # Define the input function for training | COMMENT |
| MEDIUM | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 78 | # Define the input function for evaluating | COMMENT |
| MEDIUM | examples/2_BasicModels/word2vec.py | 131 | # Create the embedding variable (each row represent a word embedding vector) | COMMENT |
| MEDIUM | examples/2_BasicModels/word2vec.py | 149 | # Define the optimizer | COMMENT |
| MEDIUM | examples/2_BasicModels/word2vec.py | 159 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/2_BasicModels/kmeans.py | 57 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/2_BasicModels/nearest_neighbor.py | 35 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/2_BasicModels/logistic_regression.py | 40 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/2_BasicModels/linear_regression.py | 44 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/2_BasicModels/random_forest.py | 55 | # Initialize the variables (i.e. assign their default value) and forest resources | COMMENT |
| MEDIUM | examples/6_MultiGPU/multigpu_cnn.py | 40 | # Define a scope for reusing the variables | COMMENT |
| MEDIUM | examples/6_MultiGPU/multigpu_cnn.py | 143 | # Create a graph for training | COMMENT |
| MEDIUM | examples/6_MultiGPU/multigpu_cnn.py | 168 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/6_MultiGPU/multigpu_basics.py | 38 | # Create a graph to store results | COMMENT |
| MEDIUM | examples/4_Utils/tensorboard_advanced.py | 43 | # Create a summary to visualize the first layer ReLU activation | COMMENT |
| MEDIUM⚡ | examples/4_Utils/tensorboard_advanced.py | 90 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM⚡ | examples/4_Utils/tensorboard_advanced.py | 93 | # Create a summary to monitor cost tensor | COMMENT |
| MEDIUM⚡ | examples/4_Utils/tensorboard_advanced.py | 95 | # Create a summary to monitor accuracy tensor | COMMENT |
| MEDIUM | examples/4_Utils/save_restore_model.py | 66 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM⚡ | examples/4_Utils/tensorboard_basic.py | 51 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM⚡ | examples/4_Utils/tensorboard_basic.py | 54 | # Create a summary to monitor cost tensor | COMMENT |
| MEDIUM⚡ | examples/4_Utils/tensorboard_basic.py | 56 | # Create a summary to monitor accuracy tensor | COMMENT |
| MEDIUM⚡ | examples/1_Introduction/basic_operations.py | 46 | # Create a Constant op that produces a 1x2 matrix. The op is | COMMENT |
| MEDIUM⚡ | examples/1_Introduction/basic_operations.py | 56 | # Create a Matmul op that takes 'matrix1' and 'matrix2' as inputs. | COMMENT |
| MEDIUM | examples/1_Introduction/helloworld.py | 14 | # Create a Constant op | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/gan.py | 117 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/neural_network_raw.py | 75 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/multilayer_perceptron.py | 76 | # Initializing the variables | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/recurrent_network.py | 63 | # Define a lstm cell with tensorflow | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/recurrent_network.py | 85 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/variational_autoencoder.py | 98 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dynamic_rnn.py | 123 | # Define a lstm cell with tensorflow | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dynamic_rnn.py | 163 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dcgan.py | 119 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/autoencoder.py | 90 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/neural_network.py | 38 | # Define the neural network | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/neural_network.py | 51 | # Define the model function (following TF Estimator Template) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/neural_network.py | 88 | # Define the input function for training | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/neural_network.py | 96 | # Define the input function for evaluating | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/convolutional_network.py | 32 | # Create the neural network | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/convolutional_network.py | 34 | # Define a scope for reusing the variables | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/convolutional_network.py | 68 | # Define the model function (following TF Estimator Template) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/convolutional_network.py | 110 | # Define the input function for training | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/convolutional_network.py | 118 | # Define the input function for evaluating | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/convolutional_network_raw.py | 113 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/neural_network_eager_api.py | 47 | # Define the neural network. To use eager API and tf.layers API together, | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/bidirectional_rnn.py | 96 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | examples/5_DataManagement/build_an_image_dataset.py | 133 | # Define a scope for reusing the variables | COMMENT |
| MEDIUM | examples/5_DataManagement/build_an_image_dataset.py | 166 | # Create a graph for training | COMMENT |
| MEDIUM | examples/5_DataManagement/build_an_image_dataset.py | 181 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM⚡ | examples/5_DataManagement/tensorflow_dataset_api.py | 31 | # Create a dataset tensor from the images and the labels | COMMENT |
| MEDIUM⚡ | examples/5_DataManagement/tensorflow_dataset_api.py | 41 | # Create an iterator over the dataset | COMMENT |
| MEDIUM⚡ | examples/5_DataManagement/tensorflow_dataset_api.py | 57 | # Define a scope for reusing the variables | COMMENT |
| MEDIUM | examples/5_DataManagement/tensorflow_dataset_api.py | 94 | # Create a graph for training | COMMENT |
| MEDIUM | examples/5_DataManagement/tensorflow_dataset_api.py | 110 | # Initialize the variables (i.e. assign their default value) | COMMENT |
| MEDIUM | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 57 | # Create a TensorFlor GBDT Estimator | COMMENT |
| MEDIUM | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 70 | # Define the input function for training | COMMENT |
| MEDIUM | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 78 | # Define the input function for evaluating | COMMENT |
| MEDIUM | tensorflow_v1/examples/2_BasicModels/word2vec.py | 131 | # Create the embedding variable (each row represent a word embedding vector) | COMMENT |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | input_data.py | 2 | CODE | |
| LOW | examples/2_BasicModels/linear_regression_eager_api.py | 8 | CODE | |
| LOW | examples/2_BasicModels/linear_regression_eager_api.py | 8 | CODE | |
| LOW | examples/2_BasicModels/linear_regression_eager_api.py | 8 | CODE | |
| LOW | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 14 | CODE | |
| LOW | examples/2_BasicModels/logistic_regression_eager_api.py | 10 | CODE | |
| LOW | examples/2_BasicModels/logistic_regression_eager_api.py | 10 | CODE | |
| LOW | examples/2_BasicModels/logistic_regression_eager_api.py | 10 | CODE | |
| LOW | examples/2_BasicModels/word2vec.py | 16 | CODE | |
| LOW | examples/2_BasicModels/word2vec.py | 16 | CODE | |
| LOW | examples/2_BasicModels/word2vec.py | 16 | CODE | |
| LOW | examples/2_BasicModels/kmeans.py | 13 | CODE | |
| LOW | examples/2_BasicModels/nearest_neighbor.py | 10 | CODE | |
| LOW | examples/2_BasicModels/logistic_regression.py | 10 | CODE | |
| LOW | examples/2_BasicModels/linear_regression.py | 8 | CODE | |
| LOW | examples/2_BasicModels/random_forest.py | 11 | CODE | |
| LOW | examples/6_MultiGPU/multigpu_cnn.py | 15 | CODE | |
| LOW | examples/6_MultiGPU/multigpu_cnn.py | 15 | CODE | |
| LOW | examples/6_MultiGPU/multigpu_cnn.py | 15 | CODE | |
| LOW | examples/6_MultiGPU/multigpu_basics.py | 1 | CODE | |
| LOW | examples/4_Utils/tensorboard_advanced.py | 10 | CODE | |
| LOW | examples/4_Utils/save_restore_model.py | 10 | CODE | |
| LOW | examples/4_Utils/tensorboard_basic.py | 10 | CODE | |
| LOW | examples/1_Introduction/basic_operations.py | 8 | CODE | |
| LOW | examples/1_Introduction/basic_eager_api.py | 19 | CODE | |
| LOW | examples/1_Introduction/basic_eager_api.py | 19 | CODE | |
| LOW | examples/1_Introduction/basic_eager_api.py | 19 | CODE | |
| LOW | examples/1_Introduction/helloworld.py | 8 | CODE | |
| LOW | examples/3_NeuralNetworks/gan.py | 22 | CODE | |
| LOW | examples/3_NeuralNetworks/gan.py | 22 | CODE | |
| LOW | examples/3_NeuralNetworks/gan.py | 22 | CODE | |
| LOW | examples/3_NeuralNetworks/neural_network_raw.py | 14 | CODE | |
| LOW | examples/3_NeuralNetworks/multilayer_perceptron.py | 21 | CODE | |
| LOW | examples/3_NeuralNetworks/recurrent_network.py | 14 | CODE | |
| LOW | examples/3_NeuralNetworks/variational_autoencoder.py | 23 | CODE | |
| LOW | examples/3_NeuralNetworks/variational_autoencoder.py | 23 | CODE | |
| LOW | examples/3_NeuralNetworks/variational_autoencoder.py | 23 | CODE | |
| LOW | examples/3_NeuralNetworks/variational_autoencoder.py | 27 | CODE | |
| LOW | examples/3_NeuralNetworks/dynamic_rnn.py | 15 | CODE | |
| LOW | examples/3_NeuralNetworks/dcgan.py | 18 | CODE | |
| LOW | examples/3_NeuralNetworks/dcgan.py | 18 | CODE | |
| LOW | examples/3_NeuralNetworks/dcgan.py | 18 | CODE | |
| LOW | examples/3_NeuralNetworks/autoencoder.py | 17 | CODE | |
| LOW | examples/3_NeuralNetworks/autoencoder.py | 17 | CODE | |
| LOW | examples/3_NeuralNetworks/autoencoder.py | 17 | CODE | |
| LOW | examples/3_NeuralNetworks/neural_network.py | 17 | CODE | |
| LOW | examples/3_NeuralNetworks/convolutional_network.py | 13 | CODE | |
| LOW | examples/3_NeuralNetworks/convolutional_network.py | 13 | CODE | |
| LOW | examples/3_NeuralNetworks/convolutional_network.py | 13 | CODE | |
| LOW | examples/3_NeuralNetworks/convolutional_network_raw.py | 11 | CODE | |
| LOW | examples/3_NeuralNetworks/convolutional_network_raw.py | 11 | CODE | |
| LOW | examples/3_NeuralNetworks/convolutional_network_raw.py | 11 | CODE | |
| LOW | examples/3_NeuralNetworks/neural_network_eager_api.py | 16 | CODE | |
| LOW | examples/3_NeuralNetworks/bidirectional_rnn.py | 15 | CODE | |
| LOW | examples/3_NeuralNetworks/bidirectional_rnn.py | 19 | CODE | |
| LOW | examples/5_DataManagement/build_an_image_dataset.py | 37 | CODE | |
| LOW | examples/5_DataManagement/tensorflow_dataset_api.py | 10 | CODE | |
| LOW | …/examples/2_BasicModels/linear_regression_eager_api.py | 8 | CODE | |
| LOW | …/examples/2_BasicModels/linear_regression_eager_api.py | 8 | CODE | |
| LOW | …/examples/2_BasicModels/linear_regression_eager_api.py | 8 | CODE | |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/4_Utils/tensorboard_advanced.py | 0 | graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://y | STRING |
| HIGH | examples/4_Utils/tensorboard_basic.py | 0 | graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://y | STRING |
| HIGH | tensorflow_v1/examples/4_Utils/tensorboard_advanced.py | 0 | graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://y | STRING |
| HIGH | tensorflow_v1/examples/4_Utils/tensorboard_basic.py | 0 | graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://y | STRING |
| HIGH | examples/3_NeuralNetworks/recurrent_network.py | 0 | bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using t | STRING |
| HIGH | …flow_v1/examples/3_NeuralNetworks/recurrent_network.py | 0 | bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using t | STRING |
| HIGH | examples/3_NeuralNetworks/bidirectional_rnn.py | 0 | bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using t | STRING |
| HIGH | …flow_v1/examples/3_NeuralNetworks/bidirectional_rnn.py | 0 | bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using t | STRING |
| HIGH | examples/3_NeuralNetworks/recurrent_network.py | 0 | to classify images using a bidirectional recurrent neural network, we consider every image row as a sequence of pixels. | STRING |
| HIGH | …flow_v1/examples/3_NeuralNetworks/recurrent_network.py | 0 | to classify images using a bidirectional recurrent neural network, we consider every image row as a sequence of pixels. | STRING |
| HIGH | examples/3_NeuralNetworks/bidirectional_rnn.py | 0 | to classify images using a bidirectional recurrent neural network, we consider every image row as a sequence of pixels. | STRING |
| HIGH | …flow_v1/examples/3_NeuralNetworks/bidirectional_rnn.py | 0 | to classify images using a bidirectional recurrent neural network, we consider every image row as a sequence of pixels. | STRING |
| HIGH | examples/3_NeuralNetworks/neural_network.py | 0 | neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementa | STRING |
| HIGH | …sorflow_v1/examples/3_NeuralNetworks/neural_network.py | 0 | neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementa | STRING |
| HIGH | examples/3_NeuralNetworks/neural_network_eager_api.py | 0 | neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementa | STRING |
| HIGH | …/examples/3_NeuralNetworks/neural_network_eager_api.py | 0 | neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementa | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | examples/1_Introduction/basic_operations.py | 42 | # ---------------- | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/multilayer_perceptron.py | 14 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/multilayer_perceptron.py | 18 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dynamic_rnn.py | 21 | # ==================== | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dynamic_rnn.py | 23 | # ==================== | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dynamic_rnn.py | 81 | # ========== | COMMENT |
| MEDIUM | examples/3_NeuralNetworks/dynamic_rnn.py | 83 | # ========== | COMMENT |
| MEDIUM | examples/5_DataManagement/build_an_image_dataset.py | 113 | # ----------------------------------------------- | COMMENT |
| MEDIUM | examples/5_DataManagement/build_an_image_dataset.py | 115 | # ----------------------------------------------- | COMMENT |
| MEDIUM⚡ | examples/5_DataManagement/tensorflow_dataset_api.py | 50 | # ----------------------------------------------- | COMMENT |
| MEDIUM⚡ | examples/5_DataManagement/tensorflow_dataset_api.py | 52 | # ----------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sorflow_v1/examples/1_Introduction/basic_operations.py | 42 | # ---------------- | COMMENT |
| MEDIUM | …_v1/examples/3_NeuralNetworks/multilayer_perceptron.py | 14 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …_v1/examples/3_NeuralNetworks/multilayer_perceptron.py | 18 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | tensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py | 21 | # ==================== | COMMENT |
| MEDIUM | tensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py | 23 | # ==================== | COMMENT |
| MEDIUM | tensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py | 81 | # ========== | COMMENT |
| MEDIUM | tensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py | 83 | # ========== | COMMENT |
| MEDIUM | …v1/examples/5_DataManagement/build_an_image_dataset.py | 113 | # ----------------------------------------------- | COMMENT |
| MEDIUM | …v1/examples/5_DataManagement/build_an_image_dataset.py | 115 | # ----------------------------------------------- | COMMENT |
| MEDIUM⚡ | …v1/examples/5_DataManagement/tensorflow_dataset_api.py | 50 | # ----------------------------------------------- | COMMENT |
| MEDIUM⚡ | …v1/examples/5_DataManagement/tensorflow_dataset_api.py | 52 | # ----------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/2_BasicModels/nearest_neighbor.py | 19 | # In this example, we limit mnist data | COMMENT |
| HIGH | …nsorflow_v1/examples/2_BasicModels/nearest_neighbor.py | 19 | # In this example, we limit mnist data | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/2_BasicModels/linear_regression.py | 74 | # Testing example, as requested (Issue #2) | COMMENT |
| HIGH | …sorflow_v1/examples/2_BasicModels/linear_regression.py | 74 | # Testing example, as requested (Issue #2) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | input_data.py | 60 | def __init__(self, images, labels, fake_data=False): | CODE |
| LOW | input_data.py | 61 | if fake_data: | CODE |
| LOW | input_data.py | 92 | def next_batch(self, batch_size, fake_data=False): | CODE |
| LOW | input_data.py | 94 | if fake_data: | CODE |
| LOW⚡ | input_data.py | 115 | def read_data_sets(train_dir, fake_data=False, one_hot=False): | CODE |
| LOW⚡ | input_data.py | 119 | if fake_data: | CODE |
| LOW⚡ | input_data.py | 120 | data_sets.train = DataSet([], [], fake_data=True) | CODE |
| LOW⚡ | input_data.py | 121 | data_sets.validation = DataSet([], [], fake_data=True) | CODE |
| LOW⚡ | input_data.py | 122 | data_sets.test = DataSet([], [], fake_data=True) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 25 | # Set verbosity to display errors only (Remove this line for showing warnings) | COMMENT |
| LOW | examples/2_BasicModels/logistic_regression_eager_api.py | 67 | # Iterate through the dataset | COMMENT |
| LOW | examples/3_NeuralNetworks/neural_network_eager_api.py | 95 | # Iterate through the dataset | COMMENT |
| LOW | …amples/2_BasicModels/gradient_boosted_decision_tree.py | 25 | # Set verbosity to display errors only (Remove this line for showing warnings) | COMMENT |
| LOW | …xamples/2_BasicModels/logistic_regression_eager_api.py | 67 | # Iterate through the dataset | COMMENT |
| LOW | …/examples/3_NeuralNetworks/neural_network_eager_api.py | 95 | # Iterate through the dataset | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/1_Introduction/basic_operations.py | 41 | COMMENT | |
| LOW | examples/1_Introduction/basic_operations.py | 61 | # To run the matmul op we call the session 'run()' method, passing 'product' | COMMENT |
| LOW | examples/3_NeuralNetworks/dynamic_rnn.py | 121 | x = tf.unstack(x, seq_max_len, 1) | COMMENT |
| LOW | examples/5_DataManagement/tensorflow_dataset_api.py | 41 | # Create an iterator over the dataset | COMMENT |
| LOW | …sorflow_v1/examples/1_Introduction/basic_operations.py | 41 | COMMENT | |
| LOW | …sorflow_v1/examples/1_Introduction/basic_operations.py | 61 | # To run the matmul op we call the session 'run()' method, passing 'product' | COMMENT |
| LOW | tensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py | 121 | x = tf.unstack(x, seq_max_len, 1) | COMMENT |
| LOW | …v1/examples/5_DataManagement/tensorflow_dataset_api.py | 41 | # Create an iterator over the dataset | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/3_NeuralNetworks/bidirectional_rnn.py | 76 | except Exception: # Old TensorFlow version only returns outputs not states | CODE |
| LOW | examples/5_DataManagement/build_an_image_dataset.py | 70 | except Exception: # Python 3 | CODE |
| LOW | examples/5_DataManagement/build_an_image_dataset.py | 77 | except Exception: # Python 3 | CODE |
| LOW | …flow_v1/examples/3_NeuralNetworks/bidirectional_rnn.py | 76 | except Exception: # Old TensorFlow version only returns outputs not states | CODE |
| LOW | …v1/examples/5_DataManagement/build_an_image_dataset.py | 70 | except Exception: # Python 3 | CODE |
| LOW | …v1/examples/5_DataManagement/build_an_image_dataset.py | 77 | except Exception: # Python 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/6_MultiGPU/multigpu_cnn.py | 99 | # across towers. So .. we will just return the first tower's pointer to | COMMENT |
| LOW | tensorflow_v1/examples/6_MultiGPU/multigpu_cnn.py | 99 | # across towers. So .. we will just return the first tower's pointer to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/3_NeuralNetworks/convolutional_network_raw.py | 77 | CODE | |
| LOW | …examples/3_NeuralNetworks/convolutional_network_raw.py | 77 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/5_DataManagement/build_an_image_dataset.py | 55 | CODE | |
| LOW | …v1/examples/5_DataManagement/build_an_image_dataset.py | 55 | CODE |