This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Implementation of a rotating buffer on the GPU of size 2. | |
import threading | |
import tensorflow as tf | |
from tensorflow.python.client import timeline | |
import numpy as np | |
import time | |
params = { | |
'batch_size': 128, | |
'seg_len': 4000, |