What does an Input layer of shape=(None,) or (None,12) actually mean?Skip gram Word2Vec model, neural network implementationKeras — Transfer learning — changing Input tensor shapeLSTM unit: cell state dimensionHow to set the number of neurons and layers in neural networksDimension problem in keras neural networksNumber of parameters keras dense layer with a 2D inputDefining Input Shape for Time Series using LSTM in KerasConnect a dense layer to a LSTM architectureHow to set kernel size (height and width) for 1D convolution layer in CNN Keras R API for doc2vec input?How smaller does the input data get reduced in a LSTM autoencoder
Impossible darts scores
Can any NP-Complete Problem be solved using at most polynomial space (but while using exponential time?)
Hot coffee brewing solutions for deep woods camping
Why do some games show lights shine thorugh walls?
How risky is real estate?
How to create a Tetrix/Sierpinski Tetrahedron fractal radiating from 0,0,0 ? Python or nodes
If the world have massive single giant world tree can it stop earthquake?
I am completely new to Tales from the Floating Vagabond, how do I get started?
How was Hillel permitted to go to the skylight to hear the shiur
What is the origin of Scooby-Doo's name?
Where can I find Intensity vs Observed wavelength graphs?
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
Sci fi short story, robot city that nags people about health
Folding basket - is there such a thing?
Can the negators "jamais, rien, personne, plus, ni, aucun" be used in a single sentence?
How is hair tissue mineral analysis performed?
When to remove insignificant variables?
What does an Input layer of shape=(None,) or (None,12) actually mean?
Is my Rep in Stack-Exchange Form?
STM Microcontroller burns every time
Should I prioritize my 401(k) over my student loans?
Why did pressing the joystick button spit out keypresses?
Can we put equal sign after aggregate functions in sql?
Why do some professors with PhDs leave their professorships to teach high school?
What does an Input layer of shape=(None,) or (None,12) actually mean?
Skip gram Word2Vec model, neural network implementationKeras — Transfer learning — changing Input tensor shapeLSTM unit: cell state dimensionHow to set the number of neurons and layers in neural networksDimension problem in keras neural networksNumber of parameters keras dense layer with a 2D inputDefining Input Shape for Time Series using LSTM in KerasConnect a dense layer to a LSTM architectureHow to set kernel size (height and width) for 1D convolution layer in CNN Keras R API for doc2vec input?How smaller does the input data get reduced in a LSTM autoencoder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
Is this telling the model that there are two dimensions (i.e. it’s a matrix) but we don’t yet know the size of that particular dimension? If so, how can the model be compiled? Doesn’t the size of each dimension affect the number of nodes in middle layers?
neural-network keras
$endgroup$
add a comment |
$begingroup$
Is this telling the model that there are two dimensions (i.e. it’s a matrix) but we don’t yet know the size of that particular dimension? If so, how can the model be compiled? Doesn’t the size of each dimension affect the number of nodes in middle layers?
neural-network keras
$endgroup$
add a comment |
$begingroup$
Is this telling the model that there are two dimensions (i.e. it’s a matrix) but we don’t yet know the size of that particular dimension? If so, how can the model be compiled? Doesn’t the size of each dimension affect the number of nodes in middle layers?
neural-network keras
$endgroup$
Is this telling the model that there are two dimensions (i.e. it’s a matrix) but we don’t yet know the size of that particular dimension? If so, how can the model be compiled? Doesn’t the size of each dimension affect the number of nodes in middle layers?
neural-network keras
neural-network keras
asked 8 hours ago
Nic CottrellNic Cottrell
1566 bronze badges
1566 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
In keras, a None dimension means that it can be any scalar number, so that you use this model to infer on an arbitrarily long input. This dimension does not affect the size of the network, it just denotes that you are free to select the length (number of samples) of your input during testing.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f54159%2fwhat-does-an-input-layer-of-shape-none-or-none-12-actually-mean%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
In keras, a None dimension means that it can be any scalar number, so that you use this model to infer on an arbitrarily long input. This dimension does not affect the size of the network, it just denotes that you are free to select the length (number of samples) of your input during testing.
$endgroup$
add a comment |
$begingroup$
In keras, a None dimension means that it can be any scalar number, so that you use this model to infer on an arbitrarily long input. This dimension does not affect the size of the network, it just denotes that you are free to select the length (number of samples) of your input during testing.
$endgroup$
add a comment |
$begingroup$
In keras, a None dimension means that it can be any scalar number, so that you use this model to infer on an arbitrarily long input. This dimension does not affect the size of the network, it just denotes that you are free to select the length (number of samples) of your input during testing.
$endgroup$
In keras, a None dimension means that it can be any scalar number, so that you use this model to infer on an arbitrarily long input. This dimension does not affect the size of the network, it just denotes that you are free to select the length (number of samples) of your input during testing.
answered 8 hours ago
pcko1pcko1
1,9315 silver badges20 bronze badges
1,9315 silver badges20 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f54159%2fwhat-does-an-input-layer-of-shape-none-or-none-12-actually-mean%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown