Closed thegodone closed 10 months ago
How to get the Input(shape=(32,32,3,)) for a given graphtensor ?
Note entirely sure what you ask for regarding the Input
.
keras.layers.Input
accepts type specs (instead of shape). So you would do keras.layers.Input(type_spec=graph_tensor.spec)
; or better: keras.layers.Input(type_spec=graph_tensor.unspecific_spec)
.
Regardingmodel.summary()
returning multiple
is normal, when subclassing keras models. For known shapes use the functional or sequential API. If you really need known shapes (in summary()
) for subclassed models, you could override the summary method.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
How to use class models and return the output dimension of each layers ?
I need to pass the input shape of the graphs but I don't see an example to do so ?
How to get the Input(shape=(32,32,3,)) for a given graphtensor ?