Questions tagged [sequential]

1) Any of various questions about a succession of elements arranged in a series, usually with numeric identifiers or numeric indexing; 2) Implementation questions about sequential neural networks.

Overview

  • Any of various questions about a succession of elements arranged in a series, usually with numeric identifiers or numeric indexing.

  • Implementation questions about sequential neural networks.

930 questions
4
votes
1 answer

Incrementing a counter variable in verilog: combinational or sequential

I am implementing an FSM controller for a datapath circuit. The controller increments a counter internally. When I simulated the program below, the counter was never updated. reg[3:0] counter; //incrementing counter in combinational block counter =…
SleepingSpider
  • 1,168
  • 4
  • 19
  • 35
4
votes
2 answers

Which search algorithm to prefer?

Binary search algorithm has a big O value of O(log n) and a sequential search has a big O value of O(n). But we need sorting algorithm before a binary search and best big O value for a sorting algotithm is O(n.log n). So, effectively, the big O…
Victor Mukherjee
  • 10,487
  • 16
  • 54
  • 97
3
votes
1 answer

D Flip Flop in VHDL

I'm trying to implement a D Flip Flop in VHDL, using a D Latch I wrote. But there seems to be an error with the clock, and I can't figure out what that is. Here is the code for my D Latch. Library ieee; Use ieee.std_logic_1164.all; entity d_latch…
ratsimihah
  • 1,010
  • 1
  • 11
  • 22
3
votes
2 answers

Timing Confusion In Java

For a project I worked on, I was tasked with timing the search times for two different search algorithms: binary search and sequential search. For each algorithm, I was supposed to record the time for both sorted input and unsorted input. I came…
jtan
  • 129
  • 8
3
votes
2 answers

How to add the sequential numbers if certain condition met in Pandas

Need to increase the sequential numbers if certain condition is met or else need to hold the previous…
3
votes
1 answer

WARNING:tensorflow:Layers in a Sequential model should only have a single input tensor

I have copy past code from tensorflow website's introduction to autoencoder first examplefollowing code works with mnist fashion dataset but not mine.This gives me a very long warning.Please tell me what is worng with my dataset the warning screen…
3
votes
1 answer

RMW oprimisation in the Sequential consistency

In the J. Sorin book "Primer on Memory Consistency and Cache Coherence" I found the next paragaph about RMW optimistion in the SC model: More aggressive implementations of RMWs leverage the insight that SC requires only the appearance of a total…
3
votes
0 answers

Building the keras tuner best model with Sequential does not give the same results?

For my regression , these are the results of the best model that I obtained using keras-tuner. best_model.summary() Model: "sequential" _________________________________________________________________ Layer (type) Output Shape …
K_D
  • 147
  • 8
3
votes
0 answers

tfa.metrics.F1Score custom metrics error : "Shapes must be equal rank"

I am trying to add F1Score as a metrics for a seq to seq classification task. The shapes of y_true and y_pred are the same but my custom metrics class keeps printing the following error : ValueError: Shapes must be equal rank, but are 1 and 2 for…
Tony
  • 41
  • 3
3
votes
1 answer

How do I run multiple python scripts sequentially?

I have a workflow where I run multiple Python scripts sequentially. I run them manually for now. These scripts reside in different folders, with a few in a single folder. e.g. 1. C:\Users\harsh\My Drive\Folder\Code\3.py 2. C:\Users\harsh\My…
leonardo
  • 140
  • 10
3
votes
1 answer

LAG function with sequential calculus

I come to you today because I'm struggling with a query that involve the LAG function (FYI, I am using PostgreSQL). I have a table that contains the quantities of a product sold by country to another one on a monthly basis. The table is defined like…
Max
  • 73
  • 7
3
votes
4 answers

jquery sequential animation

i'm trying to replicate this animation http://tympanus.net/Tutorials/AnimatedContentMenu/ i'm not able to animate the menu items, than sliding up sequentially $('#bar').animate( {width: '100%'}, {duration: 500, specialEasing: {width:…
rick
  • 31
  • 1
  • 2
3
votes
1 answer

How to implement sequential logic that exceeds a clock cycle?

I have a sequential Verilog code whereby at each increment of i, a different thing must happen. For some of the i, there are no timing errors. However, for different values of i, I am getting timing errors (if omit these certain processes, then I…
Lerbi
  • 225
  • 3
  • 11
3
votes
2 answers

How to fix 'the added layer must be an instance of class layer' while building a Sequential model?

I am trying to add layers to a Sequential model to train it with the fashion_mnist data. However, I am receiving this error repeatedly. #import statements import tensorflow as tf from tensorflow import keras import matplotlib.pyplot as plt from…
Nayan Barde
  • 41
  • 1
  • 6
3
votes
0 answers

Jenkins Declarative sequential pipelines

Why does this not work? (https://jenkins.io/doc/book/pipeline/syntax/#sequential-stages) I created a pipeline with the following... pipeline { agent none stages { stage('Non-Sequential Stage') { agent { label…