← Open Source
tensorflow

fold

Deep learning with dynamic computation graphs in TensorFlow.

Model DevelopmentDeep Learning FrameworksPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.82k
Stars
262
Forks
+1
This week
6
Contributors
Created 2017-01-18 · Updated 2026-10-13 · #9432 today
Top developers
delesleymherreshoffafshinm

tensorflow/fold is ranked 9,432 with 1,817 stars.

Same-category comparison

tensorflow/fold is ranked 9,432 among these 8 peers; yassouali/pytorch-segmentation is ranked 9,429.

Same-category comparison
NameRankMetrics
qiayuanl/legged_control9,420
Language:
C++
Stars:
1,822
Forks:
369
Description:
NMPC, WBC, state estimation, and sim2real framework for legged robots based on OCS2 and ros-controls.
openai/multi-agent-emergence-environments9,427
Language:
Python
Stars:
1,819
Forks:
327
Description:
Environment generation code for the paper "Emergent Tool Use From Multi-Agent Autocurricula".
THUDM/CogDL9,428
Language:
Python
Stars:
1,818
Forks:
308
Description:
CogDL: A Comprehensive Library for Graph Deep Learning (WWW 2023).
yassouali/pytorch-segmentation9,429
Language:
Jupyter Notebook
Stars:
1,818
Forks:
388
Description:
:art: Semantic segmentation models, datasets and losses implemented in PyTorch.
erikwijmans/Pointnet2_PyTorch9,437
Language:
Python
Stars:
1,813
Forks:
398
Description:
PyTorch implementation of Pointnet2/Pointnet++.
HumanCompatibleAI/imitation9,444
Language:
Python
Stars:
1,810
Forks:
306
Description:
Clean PyTorch implementations of imitation and reward learning algorithms.
undertheseanlp/underthesea9,446
Language:
Python
Stars:
1,809
Forks:
307
Description:
Underthesea - AI Assistant.
Trusted-AI/AIX3609,447
Language:
Python
Stars:
1,808
Forks:
327
Description:
Interpretability and explainability of data and machine learning models.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryDeep Learning Frameworks
Stars1,817
Forks262
Contributors6
Created date2017-01-18
Updated date2026-10-13
Stars in 1 day0
Stars in 7 days1
Rank9,432
Previous rank9,471
Rank change39
7-day stars rank9,603
Previous 7-day stars rank9,650
7-day stars rank change47
Total stars rank6,889
Previous total stars rank6,878
Total stars rank change-11
CountryUSA
README summary

TensorFlow Fold TensorFlow Fold is a library for creating TensorFlow models that consume structured data, where the structure of the computation graph depends on the structure of the input data. For example, this model implements TreeLSTMs for sentiment analysis on parse trees of arbitrary shape/size/depth. Batches of arbitrarily shaped computation graphs are transformed to produce a static computation graph. This graph has the same structure regardless of what input it receives, and can be executed efficiently by TensorFlow

. Download and Setup Quick Start Notebook Documentation This animation shows a recursive neural network run with dynamic batching. Operations of the same type appearing at the same depth in the computation graph (indicated by color in the animiation) are batched together regardless of whether or not they appear in the same parse tree. The Embed operation converts words to vector representations. The fully connected (FC) operation combines word vectors to form vector representations of phrases. The output of the network

is a vector representation of an entire sentence. Although only a single parse tree of a sentence is shown, the same network can run, and batch together operations, over multiple parse trees of arbitrary shapes and sizes. The TensorFlow , , and ops are created once, prior to variable initialization, by Loom, the low-level API for TensorFlow Fold. If you'd like to contribute to TensorFlow Fold, please review the contribution guidelines. TensorFlow Fold is not an official Google product.

Frequently asked questions

How many stars and forks are recorded?

tensorflow/fold has 1,817 stars and 262 forks.

What is the repository rank?

tensorflow/fold is ranked 9,432.

What language and category are recorded?

tensorflow/fold has 1,817 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

tensorflow/fold is compared with yassouali/pytorch-segmentation, ranked 9,429 with 1,818 stars.

README

TensorFlow Fold

TensorFlow Fold is a library for creating TensorFlow models that consume structured data, where the structure of the computation graph depends on the structure of the input data. For example, this model implements TreeLSTMs for sentiment analysis on parse trees of arbitrary shape/size/depth.

Fold implements dynamic batching. Batches of arbitrarily shaped computation graphs are transformed to produce a static computation graph. This graph has the same structure regardless of what input it receives, and can be executed efficiently by TensorFlow.

This animation shows a recursive neural network run with dynamic batching. Operations of the same type appearing at the same depth in the computation graph (indicated by color in the animiation) are batched together regardless of whether or not they appear in the same parse tree. The Embed operation converts words to vector representations. The fully connected (FC) operation combines word vectors to form vector representations of phrases. The output of the network is a vector representation of an entire sentence. Although only a single parse tree of a sentence is shown, the same network can run, and batch together operations, over multiple parse trees of arbitrary shapes and sizes. The TensorFlow concat, while_loop, and gather ops are created once, prior to variable initialization, by Loom, the low-level API for TensorFlow Fold.

If you'd like to contribute to TensorFlow Fold, please review the contribution guidelines.

TensorFlow Fold is not an official Google product.

Nearby in the ranking
Similar items