View source: R/layer-methods.R
get_input_at | R Documentation |
Whenever you are calling a layer on some input, you are creating a new tensor (the output of the layer), and you are adding a "node" to the layer, linking the input tensor to the output tensor. When you are calling the same layer multiple times, that layer owns multiple nodes indexed as 1, 2, 3. These functions enable you to retrieve various tensor properties of layers with multiple nodes.
get_input_at(object, node_index)
get_output_at(object, node_index)
get_input_shape_at(object, node_index)
get_output_shape_at(object, node_index)
get_input_mask_at(object, node_index)
get_output_mask_at(object, node_index)
object |
Layer or model object |
node_index |
Integer, index of the node from which to retrieve the
attribute. E.g. |
A tensor (or list of tensors if the layer has multiple inputs/outputs).
Other layer methods:
count_params()
,
get_config()
,
get_weights()
,
reset_states()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.