deephyper.nas.spacelib.tabular.supervised_reg_auto_encoder.ConstantNode#
- class deephyper.nas.spacelib.tabular.supervised_reg_auto_encoder.ConstantNode(op=None, name='', *args, **kwargs)[source]#
Bases:
OperationNode
A ConstantNode represents a node with a fixed operation. It means the agent will not make any new decision for this node. The common use case for this node is to add a tensor in the graph.
>>> import tensorflow as tf >>> from deephyper.nas.space.node import ConstantNode >>> from deephyper.nas.space.op.op1d import Dense >>> cnode = ConstantNode(op=Dense(units=100, activation=tf.nn.relu), name='CNode1') >>> cnode.op Dense_100_relu
- Parameters:
Methods
create_tensor
set_op
verify_operation
Attributes
id
num
op