AI Slop Code Risk Monitor

aymericdamien/TensorFlow-Examples

SlopCodeMonitor badge for aymericdamien/TensorFlow-Examples Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

TensorFlow Tutorial and Examples for Beginners (support TF v1 & v2)

87.8 High pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

87.8
Adjusted Signal
87.8
Raw Pattern Score
100%
Time Factor
2026-11-13
Last Push
43.7K
Stars
Jupyter Notebook
Language
8.1K
Lines of Code
70
Files
302
Pattern Hits
2026-11-15
Scan Date
0.29
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 92.7/100 · CRITICAL

Can maintainers explain intent, assumptions, and trade-offs? 136 finding(s).

Hallucinated Dependency & Supply Chain Risk 53.8/100 · HIGH

Are imports declared and package/API names verified? 122 finding(s).

Agent Over-Engineering Ratio 63.6/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 46 finding(s).

PR Review Velocity Impact 98.4/100 · CRITICAL

Which changes need focused human review? 302 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 20MEDIUM 134LOW 148

Directory Score Breakdown

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.

Pattern Findings

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.

Self-Referential Comments112 hits · 369 pts
SeverityFileLineSnippetContext
MEDIUM…amples/2_BasicModels/gradient_boosted_decision_tree.py57# Create a TensorFlor GBDT EstimatorCOMMENT
MEDIUM…amples/2_BasicModels/gradient_boosted_decision_tree.py70# Define the input function for trainingCOMMENT
MEDIUM…amples/2_BasicModels/gradient_boosted_decision_tree.py78# Define the input function for evaluatingCOMMENT
MEDIUMexamples/2_BasicModels/word2vec.py131 # Create the embedding variable (each row represent a word embedding vector)COMMENT
MEDIUMexamples/2_BasicModels/word2vec.py149# Define the optimizerCOMMENT
MEDIUMexamples/2_BasicModels/word2vec.py159# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/2_BasicModels/kmeans.py57# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/2_BasicModels/nearest_neighbor.py35# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/2_BasicModels/logistic_regression.py40# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/2_BasicModels/linear_regression.py44# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/2_BasicModels/random_forest.py55# Initialize the variables (i.e. assign their default value) and forest resourcesCOMMENT
MEDIUMexamples/6_MultiGPU/multigpu_cnn.py40 # Define a scope for reusing the variablesCOMMENT
MEDIUMexamples/6_MultiGPU/multigpu_cnn.py143 # Create a graph for trainingCOMMENT
MEDIUMexamples/6_MultiGPU/multigpu_cnn.py168 # Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/6_MultiGPU/multigpu_basics.py38# Create a graph to store resultsCOMMENT
MEDIUMexamples/4_Utils/tensorboard_advanced.py43 # Create a summary to visualize the first layer ReLU activationCOMMENT
MEDIUM⚡examples/4_Utils/tensorboard_advanced.py90# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUM⚡examples/4_Utils/tensorboard_advanced.py93# Create a summary to monitor cost tensorCOMMENT
MEDIUM⚡examples/4_Utils/tensorboard_advanced.py95# Create a summary to monitor accuracy tensorCOMMENT
MEDIUMexamples/4_Utils/save_restore_model.py66# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUM⚡examples/4_Utils/tensorboard_basic.py51# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUM⚡examples/4_Utils/tensorboard_basic.py54# Create a summary to monitor cost tensorCOMMENT
MEDIUM⚡examples/4_Utils/tensorboard_basic.py56# Create a summary to monitor accuracy tensorCOMMENT
MEDIUM⚡examples/1_Introduction/basic_operations.py46# Create a Constant op that produces a 1x2 matrix. The op isCOMMENT
MEDIUM⚡examples/1_Introduction/basic_operations.py56# Create a Matmul op that takes 'matrix1' and 'matrix2' as inputs.COMMENT
MEDIUMexamples/1_Introduction/helloworld.py14# Create a Constant opCOMMENT
MEDIUMexamples/3_NeuralNetworks/gan.py117# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/neural_network_raw.py75# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/multilayer_perceptron.py76# Initializing the variablesCOMMENT
MEDIUMexamples/3_NeuralNetworks/recurrent_network.py63 # Define a lstm cell with tensorflowCOMMENT
MEDIUMexamples/3_NeuralNetworks/recurrent_network.py85# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/variational_autoencoder.py98# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/dynamic_rnn.py123 # Define a lstm cell with tensorflowCOMMENT
MEDIUMexamples/3_NeuralNetworks/dynamic_rnn.py163# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/dcgan.py119# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/autoencoder.py90# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/neural_network.py38# Define the neural networkCOMMENT
MEDIUMexamples/3_NeuralNetworks/neural_network.py51# Define the model function (following TF Estimator Template)COMMENT
MEDIUMexamples/3_NeuralNetworks/neural_network.py88# Define the input function for trainingCOMMENT
MEDIUMexamples/3_NeuralNetworks/neural_network.py96# Define the input function for evaluatingCOMMENT
MEDIUMexamples/3_NeuralNetworks/convolutional_network.py32# Create the neural networkCOMMENT
MEDIUMexamples/3_NeuralNetworks/convolutional_network.py34 # Define a scope for reusing the variablesCOMMENT
MEDIUMexamples/3_NeuralNetworks/convolutional_network.py68# Define the model function (following TF Estimator Template)COMMENT
MEDIUMexamples/3_NeuralNetworks/convolutional_network.py110# Define the input function for trainingCOMMENT
MEDIUMexamples/3_NeuralNetworks/convolutional_network.py118# Define the input function for evaluatingCOMMENT
MEDIUMexamples/3_NeuralNetworks/convolutional_network_raw.py113# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/3_NeuralNetworks/neural_network_eager_api.py47# Define the neural network. To use eager API and tf.layers API together,COMMENT
MEDIUMexamples/3_NeuralNetworks/bidirectional_rnn.py96# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUMexamples/5_DataManagement/build_an_image_dataset.py133 # Define a scope for reusing the variablesCOMMENT
MEDIUMexamples/5_DataManagement/build_an_image_dataset.py166# Create a graph for trainingCOMMENT
MEDIUMexamples/5_DataManagement/build_an_image_dataset.py181# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUM⚡examples/5_DataManagement/tensorflow_dataset_api.py31# Create a dataset tensor from the images and the labelsCOMMENT
MEDIUM⚡examples/5_DataManagement/tensorflow_dataset_api.py41# Create an iterator over the datasetCOMMENT
MEDIUM⚡examples/5_DataManagement/tensorflow_dataset_api.py57 # Define a scope for reusing the variablesCOMMENT
MEDIUMexamples/5_DataManagement/tensorflow_dataset_api.py94# Create a graph for trainingCOMMENT
MEDIUMexamples/5_DataManagement/tensorflow_dataset_api.py110# Initialize the variables (i.e. assign their default value)COMMENT
MEDIUM…amples/2_BasicModels/gradient_boosted_decision_tree.py57# Create a TensorFlor GBDT EstimatorCOMMENT
MEDIUM…amples/2_BasicModels/gradient_boosted_decision_tree.py70# Define the input function for trainingCOMMENT
MEDIUM…amples/2_BasicModels/gradient_boosted_decision_tree.py78# Define the input function for evaluatingCOMMENT
MEDIUMtensorflow_v1/examples/2_BasicModels/word2vec.py131 # Create the embedding variable (each row represent a word embedding vector)COMMENT
52 more matches not shown…
Unused Imports113 hits · 113 pts
SeverityFileLineSnippetContext
LOWinput_data.py2CODE
LOWexamples/2_BasicModels/linear_regression_eager_api.py8CODE
LOWexamples/2_BasicModels/linear_regression_eager_api.py8CODE
LOWexamples/2_BasicModels/linear_regression_eager_api.py8CODE
LOW…amples/2_BasicModels/gradient_boosted_decision_tree.py14CODE
LOWexamples/2_BasicModels/logistic_regression_eager_api.py10CODE
LOWexamples/2_BasicModels/logistic_regression_eager_api.py10CODE
LOWexamples/2_BasicModels/logistic_regression_eager_api.py10CODE
LOWexamples/2_BasicModels/word2vec.py16CODE
LOWexamples/2_BasicModels/word2vec.py16CODE
LOWexamples/2_BasicModels/word2vec.py16CODE
LOWexamples/2_BasicModels/kmeans.py13CODE
LOWexamples/2_BasicModels/nearest_neighbor.py10CODE
LOWexamples/2_BasicModels/logistic_regression.py10CODE
LOWexamples/2_BasicModels/linear_regression.py8CODE
LOWexamples/2_BasicModels/random_forest.py11CODE
LOWexamples/6_MultiGPU/multigpu_cnn.py15CODE
LOWexamples/6_MultiGPU/multigpu_cnn.py15CODE
LOWexamples/6_MultiGPU/multigpu_cnn.py15CODE
LOWexamples/6_MultiGPU/multigpu_basics.py1CODE
LOWexamples/4_Utils/tensorboard_advanced.py10CODE
LOWexamples/4_Utils/save_restore_model.py10CODE
LOWexamples/4_Utils/tensorboard_basic.py10CODE
LOWexamples/1_Introduction/basic_operations.py8CODE
LOWexamples/1_Introduction/basic_eager_api.py19CODE
LOWexamples/1_Introduction/basic_eager_api.py19CODE
LOWexamples/1_Introduction/basic_eager_api.py19CODE
LOWexamples/1_Introduction/helloworld.py8CODE
LOWexamples/3_NeuralNetworks/gan.py22CODE
LOWexamples/3_NeuralNetworks/gan.py22CODE
LOWexamples/3_NeuralNetworks/gan.py22CODE
LOWexamples/3_NeuralNetworks/neural_network_raw.py14CODE
LOWexamples/3_NeuralNetworks/multilayer_perceptron.py21CODE
LOWexamples/3_NeuralNetworks/recurrent_network.py14CODE
LOWexamples/3_NeuralNetworks/variational_autoencoder.py23CODE
LOWexamples/3_NeuralNetworks/variational_autoencoder.py23CODE
LOWexamples/3_NeuralNetworks/variational_autoencoder.py23CODE
LOWexamples/3_NeuralNetworks/variational_autoencoder.py27CODE
LOWexamples/3_NeuralNetworks/dynamic_rnn.py15CODE
LOWexamples/3_NeuralNetworks/dcgan.py18CODE
LOWexamples/3_NeuralNetworks/dcgan.py18CODE
LOWexamples/3_NeuralNetworks/dcgan.py18CODE
LOWexamples/3_NeuralNetworks/autoencoder.py17CODE
LOWexamples/3_NeuralNetworks/autoencoder.py17CODE
LOWexamples/3_NeuralNetworks/autoencoder.py17CODE
LOWexamples/3_NeuralNetworks/neural_network.py17CODE
LOWexamples/3_NeuralNetworks/convolutional_network.py13CODE
LOWexamples/3_NeuralNetworks/convolutional_network.py13CODE
LOWexamples/3_NeuralNetworks/convolutional_network.py13CODE
LOWexamples/3_NeuralNetworks/convolutional_network_raw.py11CODE
LOWexamples/3_NeuralNetworks/convolutional_network_raw.py11CODE
LOWexamples/3_NeuralNetworks/convolutional_network_raw.py11CODE
LOWexamples/3_NeuralNetworks/neural_network_eager_api.py16CODE
LOWexamples/3_NeuralNetworks/bidirectional_rnn.py15CODE
LOWexamples/3_NeuralNetworks/bidirectional_rnn.py19CODE
LOWexamples/5_DataManagement/build_an_image_dataset.py37CODE
LOWexamples/5_DataManagement/tensorflow_dataset_api.py10CODE
LOW…/examples/2_BasicModels/linear_regression_eager_api.py8CODE
LOW…/examples/2_BasicModels/linear_regression_eager_api.py8CODE
LOW…/examples/2_BasicModels/linear_regression_eager_api.py8CODE
53 more matches not shown…
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHexamples/4_Utils/tensorboard_advanced.py0graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://ySTRING
HIGHexamples/4_Utils/tensorboard_basic.py0graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://ySTRING
HIGHtensorflow_v1/examples/4_Utils/tensorboard_advanced.py0graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://ySTRING
HIGHtensorflow_v1/examples/4_Utils/tensorboard_basic.py0graph and loss visualization using tensorboard. this example is using the mnist database of handwritten digits (http://ySTRING
HIGHexamples/3_NeuralNetworks/recurrent_network.py0bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using tSTRING
HIGH…flow_v1/examples/3_NeuralNetworks/recurrent_network.py0bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using tSTRING
HIGHexamples/3_NeuralNetworks/bidirectional_rnn.py0bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using tSTRING
HIGH…flow_v1/examples/3_NeuralNetworks/bidirectional_rnn.py0bi-directional recurrent neural network. a bi-directional recurrent neural network (lstm) implementation example using tSTRING
HIGHexamples/3_NeuralNetworks/recurrent_network.py0to 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.py0to classify images using a bidirectional recurrent neural network, we consider every image row as a sequence of pixels. STRING
HIGHexamples/3_NeuralNetworks/bidirectional_rnn.py0to 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.py0to classify images using a bidirectional recurrent neural network, we consider every image row as a sequence of pixels. STRING
HIGHexamples/3_NeuralNetworks/neural_network.py0neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementaSTRING
HIGH…sorflow_v1/examples/3_NeuralNetworks/neural_network.py0neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementaSTRING
HIGHexamples/3_NeuralNetworks/neural_network_eager_api.py0neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementaSTRING
HIGH…/examples/3_NeuralNetworks/neural_network_eager_api.py0neural network with eager api. a 2-hidden layers fully connected neural network (a.k.a multilayer perceptron) implementaSTRING
Decorative Section Separators22 hits · 75 pts
SeverityFileLineSnippetContext
MEDIUM⚡examples/1_Introduction/basic_operations.py42# ----------------COMMENT
MEDIUMexamples/3_NeuralNetworks/multilayer_perceptron.py14# ------------------------------------------------------------------COMMENT
MEDIUMexamples/3_NeuralNetworks/multilayer_perceptron.py18# ------------------------------------------------------------------COMMENT
MEDIUMexamples/3_NeuralNetworks/dynamic_rnn.py21# ====================COMMENT
MEDIUMexamples/3_NeuralNetworks/dynamic_rnn.py23# ====================COMMENT
MEDIUMexamples/3_NeuralNetworks/dynamic_rnn.py81# ==========COMMENT
MEDIUMexamples/3_NeuralNetworks/dynamic_rnn.py83# ==========COMMENT
MEDIUMexamples/5_DataManagement/build_an_image_dataset.py113# -----------------------------------------------COMMENT
MEDIUMexamples/5_DataManagement/build_an_image_dataset.py115# -----------------------------------------------COMMENT
MEDIUM⚡examples/5_DataManagement/tensorflow_dataset_api.py50# -----------------------------------------------COMMENT
MEDIUM⚡examples/5_DataManagement/tensorflow_dataset_api.py52# -----------------------------------------------COMMENT
MEDIUM⚡…sorflow_v1/examples/1_Introduction/basic_operations.py42# ----------------COMMENT
MEDIUM…_v1/examples/3_NeuralNetworks/multilayer_perceptron.py14# ------------------------------------------------------------------COMMENT
MEDIUM…_v1/examples/3_NeuralNetworks/multilayer_perceptron.py18# ------------------------------------------------------------------COMMENT
MEDIUMtensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py21# ====================COMMENT
MEDIUMtensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py23# ====================COMMENT
MEDIUMtensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py81# ==========COMMENT
MEDIUMtensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py83# ==========COMMENT
MEDIUM…v1/examples/5_DataManagement/build_an_image_dataset.py113# -----------------------------------------------COMMENT
MEDIUM…v1/examples/5_DataManagement/build_an_image_dataset.py115# -----------------------------------------------COMMENT
MEDIUM⚡…v1/examples/5_DataManagement/tensorflow_dataset_api.py50# -----------------------------------------------COMMENT
MEDIUM⚡…v1/examples/5_DataManagement/tensorflow_dataset_api.py52# -----------------------------------------------COMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHexamples/2_BasicModels/nearest_neighbor.py19# In this example, we limit mnist dataCOMMENT
HIGH…nsorflow_v1/examples/2_BasicModels/nearest_neighbor.py19# In this example, we limit mnist dataCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHexamples/2_BasicModels/linear_regression.py74 # Testing example, as requested (Issue #2)COMMENT
HIGH…sorflow_v1/examples/2_BasicModels/linear_regression.py74 # Testing example, as requested (Issue #2)COMMENT
Fake / Example Data9 hits · 12 pts
SeverityFileLineSnippetContext
LOWinput_data.py60 def __init__(self, images, labels, fake_data=False):CODE
LOWinput_data.py61 if fake_data:CODE
LOWinput_data.py92 def next_batch(self, batch_size, fake_data=False):CODE
LOWinput_data.py94 if fake_data:CODE
LOW⚡input_data.py115def read_data_sets(train_dir, fake_data=False, one_hot=False):CODE
LOW⚡input_data.py119 if fake_data:CODE
LOW⚡input_data.py120 data_sets.train = DataSet([], [], fake_data=True)CODE
LOW⚡input_data.py121 data_sets.validation = DataSet([], [], fake_data=True)CODE
LOW⚡input_data.py122 data_sets.test = DataSet([], [], fake_data=True)CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…amples/2_BasicModels/gradient_boosted_decision_tree.py25# Set verbosity to display errors only (Remove this line for showing warnings)COMMENT
LOWexamples/2_BasicModels/logistic_regression_eager_api.py67 # Iterate through the datasetCOMMENT
LOWexamples/3_NeuralNetworks/neural_network_eager_api.py95 # Iterate through the datasetCOMMENT
LOW…amples/2_BasicModels/gradient_boosted_decision_tree.py25# Set verbosity to display errors only (Remove this line for showing warnings)COMMENT
LOW…xamples/2_BasicModels/logistic_regression_eager_api.py67 # Iterate through the datasetCOMMENT
LOW…/examples/3_NeuralNetworks/neural_network_eager_api.py95 # Iterate through the datasetCOMMENT
Over-Commented Block8 hits · 8 pts
SeverityFileLineSnippetContext
LOWexamples/1_Introduction/basic_operations.py41COMMENT
LOWexamples/1_Introduction/basic_operations.py61# To run the matmul op we call the session 'run()' method, passing 'product'COMMENT
LOWexamples/3_NeuralNetworks/dynamic_rnn.py121 x = tf.unstack(x, seq_max_len, 1)COMMENT
LOWexamples/5_DataManagement/tensorflow_dataset_api.py41# Create an iterator over the datasetCOMMENT
LOW…sorflow_v1/examples/1_Introduction/basic_operations.py41COMMENT
LOW…sorflow_v1/examples/1_Introduction/basic_operations.py61# To run the matmul op we call the session 'run()' method, passing 'product'COMMENT
LOWtensorflow_v1/examples/3_NeuralNetworks/dynamic_rnn.py121 x = tf.unstack(x, seq_max_len, 1)COMMENT
LOW…v1/examples/5_DataManagement/tensorflow_dataset_api.py41# Create an iterator over the datasetCOMMENT
Excessive Try-Catch Wrapping6 hits · 6 pts
SeverityFileLineSnippetContext
LOWexamples/3_NeuralNetworks/bidirectional_rnn.py76 except Exception: # Old TensorFlow version only returns outputs not statesCODE
LOWexamples/5_DataManagement/build_an_image_dataset.py70 except Exception: # Python 3CODE
LOWexamples/5_DataManagement/build_an_image_dataset.py77 except Exception: # Python 3CODE
LOW…flow_v1/examples/3_NeuralNetworks/bidirectional_rnn.py76 except Exception: # Old TensorFlow version only returns outputs not statesCODE
LOW…v1/examples/5_DataManagement/build_an_image_dataset.py70 except Exception: # Python 3CODE
LOW…v1/examples/5_DataManagement/build_an_image_dataset.py77 except Exception: # Python 3CODE
AI Slop Vocabulary2 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/6_MultiGPU/multigpu_cnn.py99 # across towers. So .. we will just return the first tower's pointer toCOMMENT
LOWtensorflow_v1/examples/6_MultiGPU/multigpu_cnn.py99 # across towers. So .. we will just return the first tower's pointer toCOMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/3_NeuralNetworks/convolutional_network_raw.py77CODE
LOW…examples/3_NeuralNetworks/convolutional_network_raw.py77CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/5_DataManagement/build_an_image_dataset.py55CODE
LOW…v1/examples/5_DataManagement/build_an_image_dataset.py55CODE