debug:tensorflow
Installation
SKILL.md
TensorFlow Debugging Guide
This skill provides a systematic approach to debugging TensorFlow applications, covering common error patterns, debugging tools, and resolution strategies.
Common Error Patterns
1. Shape Mismatch Errors
Symptoms:
InvalidArgumentError: Incompatible shapesValueError: Shapes (X,) and (Y,) are incompatible- Matrix multiplication failures
Diagnostic Steps:
# Print shapes at key points
print(f"Input shape: {x.shape}")
print(f"Expected shape: {model.input_shape}")