Type Dense
Namespace tensorflow.layers
Parent Dense
Interfaces IDense
Densely-connected layer class. This layer implements the operation:
`outputs = activation(inputs * kernel + bias)`
Where `activation` is the activation function passed as the `activation`
argument (if not `None`), `kernel` is a weights matrix created by the layer,
and `bias` is a bias vector created by the layer
(only if `use_bias` is `True`).
Methods
Properties
- activation
- activity_regularizer
- activity_regularizer_dyn
- bias
- bias_constraint
- bias_initializer
- bias_regularizer
- built
- dtype
- dtype_dyn
- dynamic
- dynamic_dyn
- graph
- graph_dyn
- inbound_nodes
- inbound_nodes_dyn
- input
- input_dyn
- input_mask
- input_mask_dyn
- input_shape
- input_shape_dyn
- input_spec
- input_spec_dyn
- kernel
- kernel_constraint
- kernel_initializer
- kernel_regularizer
- losses
- losses_dyn
- metrics
- metrics_dyn
- name
- name_dyn
- name_scope
- name_scope_dyn
- non_trainable_variables
- non_trainable_variables_dyn
- non_trainable_weights
- non_trainable_weights_dyn
- outbound_nodes
- outbound_nodes_dyn
- output
- output_dyn
- output_mask
- output_mask_dyn
- output_shape
- output_shape_dyn
- PythonObject
- scope_name
- scope_name_dyn
- stateful
- submodules
- submodules_dyn
- supports_masking
- trainable
- trainable_dyn
- trainable_variables
- trainable_variables_dyn
- trainable_weights
- trainable_weights_dyn
- units
- updates
- updates_dyn
- use_bias
- variables
- variables_dyn
- weights
- weights_dyn
Public static methods
Dense NewDyn(object units, object activation, ImplicitContainer<T> use_bias, object kernel_initializer, ImplicitContainer<T> bias_initializer, object kernel_regularizer, object bias_regularizer, object activity_regularizer, object kernel_constraint, object bias_constraint, ImplicitContainer<T> trainable, object name, IDictionary<string, object> kwargs)
Public properties
object activation get; set;
PythonFunctionContainer activity_regularizer get; set;
object activity_regularizer_dyn get; set;
object bias get; set;
object bias_constraint get; set;
object bias_initializer get; set;
object bias_regularizer get; set;
bool built get; set;
object dtype get;
object dtype_dyn get;
bool dynamic get;
object dynamic_dyn get;
object graph get;
DEPRECATED FUNCTION Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
Stop using this property because tf.layers layers no longer track their graph.
object graph_dyn get;
DEPRECATED FUNCTION Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
Stop using this property because tf.layers layers no longer track their graph.