I want multiple duplicate input layers from the first input layer. So that I don't have to send the input to the fit function twice.
How can I have multiple duplicate input layers from the first input layer in tensorflow library?
195 Views Asked by mohammad At
1
There are 1 best solutions below
Related Questions in TENSORFLOW
- (Tensorflow)Does the op assign change the gradient computation?
- Tensorflow Windows Accessing Folders Denied:"NewRandomAccessFile failed to Create/Open: Access is denied. ; Input/output error"
- Android App TensorFlow Google Cloud ML
- Convert Tensorflow model to Caffe model
- Google Tensorflow LSTMCell Variables Mapping to Hochreiter97_lstm.pdf paper
- additive Gaussian noise in Tensorflow
- TFlearn evaluate method results meaning
- Regularization losses Tensorflow - TRAINABLE_VARIABLES to Tensor Array
- feed picture to model tensorflow for training
- Fail to read the new format of tensorflow checkpoint?
- I got a error when running a github project in tensorflow
- Tensorflow R0.12 softmax_cross_entropy_with_logits ASSERT Error
- RuntimeError in run_one_batch of TensorFlowDataFrame in tensorflow
- Same output in neural network for each input after training
- ConvNet : Validation Loss not strongly decreasing but accuracy is improving
Related Questions in KERAS
- Intermediate layer in keras to fetch the weights, convert and feed to the network
- Updating Shared Variables in Keras
- Import theano gives the AttributeError: module 'theano' has no attribute 'gof'
- How to Implement "Multidirectional" LSTMs?
- Error in running keras for deep learning in ubuntu 14.04
- Issue with setting TensorFlow as the session in Keras
- Multiple outputs in Keras gives value error
- Strange behavior of a frozen inceptionV3 net in Keras
- Tensorflow Image Shape Error
- Rounding Error at a python neural network made by Keras
- K fold cross validation using keras
- Keras Binary Classifier Model.Predict() class association?
- How to predict a layer's weights using another model in an end to end fashion?
- CNN model why the data is too large?
- Keras How to use max_value in Relu activation function
Related Questions in DUPLICATES
- show duplicate values subquery mysql
- Creating an ID variable for duplicates in SAS
- PHP multidimensional array, average of duplicate values
- Update unique column of multiple rows , skip the duplicates
- Removing values from a vector that are not duplicated at least x number of times
- Images duplicates when function is selected. Javascript
- SQL Query Filter to locate DUPLICATES in a column based on Values in 2 other columns
- how to find duplicate values using row_number and partition by
- Divide Rows of DataTable
- Returning a formatted string does not working properly
- How to prevent inserting duplicate rows based on two foreign keys?
- Creating a table of duplicates from SAS data set with over 50 variables
- Error: java.util.zip.ZipException: duplicate entry
- Find Duplicates in SQL Server Table
- How to do the sorting for duplicate numbers in Java?
Related Questions in MULTIPLE-INPUT
- Postman : Running a request multiple times with different input data sets and based on the input the request body should be formed
- Postman : Reading inputs from csv data file and iterating through each row and form the request body based on mandoty & optional parameter
- How to create a form object with multiple input fields with the same name
- Multiple Select inputs in PHP
- Pandas' expanding with apply function on multiple columns
- VueJS (InertiaJS) + Laravel 8 displaying multiple inputs errors
- LSTM, multiple binary array input and overfitting handling
- Why and how multiple lines input works in Python
- Unable to input string values when taking multiple input in one line (Python)
- Custom loss function and fit data for multiple inputs and outputs in tf.Keras
- How can I add multiple input variables in reactive function in shiny server?
- How can I have multiple duplicate input layers from the first input layer in tensorflow library?
- How to take a whole matrix as a input in Python?
- How save state of multiple input in react
- SQL: Apply and union table function recursively
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can reuse the instance of the input layer when creating your two models. I can see in the image that you want to concatenate the output of the two separate layers, so I also included that in my code snippet.
Firstly, I create the input layer. Then I create two sub-models that use the same instance of the input. I stack the output of both sub-models. You can also use
tf.concatinstead oftf.stack.The batch size is 32, and the number of features is 3. The code snippet prints