<jupyter_start><jupyter_text>Function API<jupyter_code>import tensorflow as tf
inputs = tf.keras.Input(shape=(2,))
hidden = tf.keras.layers.Dense(2, activation='sigmoid')(inputs)
outputs = tf.keras.layers.Dense(1, activation='sigmoid')(hidden)
model = tf.keras.models.Model(inputs=inputs, outputs=outputs)
tf.keras.utils.plot_model(model)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15489130434782608, 'fraction_numerical': 0.008152173913043478, 'mean_word_length': 9.542857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '415508', 'license': 'Apache-2.0', 'n_tokens_mistral': 140, 'n_tokens_neox': 138, 'n_words': 17, 'path': 'make_model_3ways.ipynb', 'repo_name': 'SolbiChoi/test_deeplearning', 'size': '368'}