<commit_before># Import Data to TensorFlow

This is a tutorial on importing data to TensorFlow.

## Introduction

Generally, there are four approaches to import data to TensorFlow Program:

1. using the Datasets API,
2. feeding,
3. reading from files,
4. preloaded data.

Some of these approach are more suitable for small datasets, while others may
be designed for large machine learning problems with distributed files.

## Using the Datasets API





## Related Guides

Official documents provide some guides on this topic in the following links:

1. [Importing Data](https://www.tensorflow.org/programmers_guide/datasets),
2. [Reading data](https://www.tensorflow.org/api_guides/python/reading_data)<commit_msg>Start up the introduction code for this project.<commit_after># Import Data to TensorFlow

This is a tutorial on importing data to TensorFlow.

## Introduction

Generally, there are four approaches to import data to TensorFlow Program:

1. using the Datasets API,
2. feeding,
3. reading from files,
4. preloaded data.

Some of these approach are more suitable for small datasets, while others may
be designed for large machine learning problems with distributed files.

## Using the Datasets API

Input pipeline is a mechanism to build a sequence of elements, for example,
in image recognition problems, each element is a bundle of a training sample
and its corresponding label.



## Related Guides

Official documents provide some guides on this topic in the following links:

1. [Importing Data](https://www.tensorflow.org/programmers_guide/datasets),
2. [Reading data](https://www.tensorflow.org/api_guides/python/reading_data)
{'fraction_non_alphanumeric': 0.0637910085054678, 'fraction_numerical': 0.007290400972053463, 'mean_word_length': 4.7386759581881535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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}}
{'dir': 'git-commits-cleaned', 'id': '204998', 'n_tokens_mistral': 436, 'n_tokens_neox': 420, 'n_words': 210}