Fading Coder

One Final Commit for the Last Sprint

Using TensorFlow Queues and Threads for Asynchronous Data Loading and Preprocessing

Queues for Managing Data Queues are essential for organizing training samples, particularly when the order of data matters. tf.FIFOQueue implements a first-in, first-out queue, maintaining the order of enqueued elements. tf.RandomShuffleQueue dequeues elements in a random order. Using tf.FIFOQueue t...

Fundamental Linear Data Structures: Arrays, Linked Lists, Stacks, and Queues

Data structures organize and store data in specific arrangements defining the relationships between elements. Linear structures establish a one-to-one sequential relationship among elements, encompassing arrays, linked lists, stacks, and queues. Arrays An array allocates a contiguous block of memory...

Implementing Sparse Arrays and Queues for Efficient Data Storage

Implementing Sparse Arrays and Queues for Efficient Data Storage
Problem Context In developing a Gomoku game program, features like undo/redo moves are essential. Typically, a 2D array represents the board state, but this approach stores many default values (e.g., 0 for empty cells), leading to inefficient memory usage. Sparse arrays can address this issue. Spars...