Files
openide/python/testData/packages/tensorflow/submodulesExportedAsAttributes.py
Mikhail Golubev 9b4bd066fa PY-53599 Simpler env smoke test for Tensorflow module structure
Namely, test only against the latest version of the library. Check completion
only for a few common submodules of tensorflow. Check resolve for all of them
in one inspection pass, instead of resolving each separately. Generate expected
test data dynamically through module introspection.

GitOrigin-RevId: df5c4c4f765116bc7329454d5cc0b2aa1a6a86b5
2023-07-20 19:36:11 +00:00

51 lines
1.3 KiB
Python

# Generated with inspect_tf_submodules.py for tensorflow 2.12.0.
import tensorflow as tf
print(tf.audio.__name__)
print(tf.autodiff.__name__)
print(tf.autograph.__name__)
print(tf.bitwise.__name__)
print(tf.compat.__name__)
print(tf.config.__name__)
print(tf.data.__name__)
print(tf.debugging.__name__)
print(tf.distribute.__name__)
print(tf.dtypes.__name__)
print(tf.errors.__name__)
print(tf.estimator.__name__)
print(tf.experimental.__name__)
print(tf.feature_column.__name__)
print(tf.graph_util.__name__)
print(tf.image.__name__)
print(tf.initializers.__name__)
print(tf.io.__name__)
print(tf.keras.__name__)
print(tf.linalg.__name__)
print(tf.lite.__name__)
print(tf.lookup.__name__)
print(tf.losses.__name__)
print(tf.math.__name__)
print(tf.metrics.__name__)
print(tf.mlir.__name__)
print(tf.nest.__name__)
print(tf.nn.__name__)
print(tf.optimizers.__name__)
print(tf.profiler.__name__)
print(tf.quantization.__name__)
print(tf.queue.__name__)
print(tf.ragged.__name__)
print(tf.random.__name__)
print(tf.raw_ops.__name__)
print(tf.saved_model.__name__)
print(tf.sets.__name__)
print(tf.signal.__name__)
print(tf.sparse.__name__)
print(tf.strings.__name__)
print(tf.summary.__name__)
print(tf.sysconfig.__name__)
print(tf.test.__name__)
print(tf.tpu.__name__)
print(tf.train.__name__)
print(tf.types.__name__)
print(tf.version.__name__)
print(tf.xla.__name__)