Block.name_scope¶
-
Block.name_scope(self)¶ Returns a name space object managing a child
Blockand parameter names. Should be used within awithstatement:with self.name_scope(): self.dense = nn.Dense(20)
Please refer to the naming tutorial for more info on prefix and naming.