OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Pointer Network Tensorflow

Pointer Network Tensorflow is a Python implementation of the Pointer Networks architecture using TensorFlow, with README examples for training and testing on traveling-salesperson problem sequences.

Independent OpenViST project profile, based on linked sources.

Pointer Network Tensorflow — Reproducing or adapting the README’s TSP training examples
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need a code-level reference or starting point for Pointer Network experiments, especially the documented TSP sequence-selection task.

Who it is for

  • Researchers studying Pointer Networks and sequence-to-index prediction.
  • Developers experimenting with learned solutions to traveling-salesperson instances.

Documented uses

  • Train a Pointer Network on TSP data using configurable input length and hidden dimension.
  • Generate TSP training data within the documented example workflow.
  • Run the model in test mode and inspect predictions, targets and loss.
  • View training logs with TensorBoard.
Before you choose

Requirements & limits

The repository is public and specifies an MIT license.

  • The documented dependencies are Python 2.7 and TensorFlow 0.12.1.
  • The README offers both a paper-dataset training example and an example that generates its own dataset.
  • The implementation describes multithreaded data pipelines to reduce I/O latency.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Train a TSP model from the README examples

Run the documented training stage with either a paper dataset or generated TSP data.

Before you start

  • Python 2.7
  • requests
  • tqdm
  • TensorFlow 0.12.1

Steps

  1. Use the README command with --task=tsp --max_data_length=20 --hidden_dim=512 to select the paper dataset.

  2. Alternatively, use --task=tsp --max_data_length=10 --hidden_dim=128 to generate the dataset itself.

  3. Run the selected command with python main.py.

Expected outcome

The documented workflow starts model training on TSP data; the README also shows TensorBoard logging through tensorboard --logdir=logs --host=0.0.0.0.

Guide limitations

  • The README does not specify additional hardware requirements or guarantee the example results on other environments.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
13 November 2026
Original website title
devsisters/pointer-network-tensorflow · Official homepage title · retained in its source language