Skip to content

Are the docs correct for the RNN description of batch_shape ? #20111

@newresu

Description

@newresu

In the description the RNN it says it says:

If sequential model:
   `batch_input_shape=(...)` to the first layer in your model.

Yet seems that the parameter batch_input_shape will fail since it does not exist in most layers.

Is a user supposed to be adding an Input layer instead of that parameter, with the parameter batch_shape (note that the names don't match either.) ?

Should the description instead be the same for Functional or Sequential, or am I misunderstanding something ?

This is a follow up from this thread in case you need more context.

Metadata

Metadata

Labels

type:supportUser is asking for help / asking an implementation question. Stackoverflow would be better suited.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions