KerasLayer
(Deprecated) Base R6 class for Keras layers
Description
Custom R6 layers can now inherit directly from keras$layers$Layer
or other layers.
Format
An R6Class generator object
Section
Methods
build(input_shape)
Creates the
call(inputs,mask)
Call the layer on an input tensor.
compute_output_shape(input_shape)
Compute the output shape
add_loss(losses, inputs)
Add losses to the layer.
add_weight(name,shape,dtype,initializer,regularizer,trainable,constraint)
Adds
Value
KerasLayer.