Package ai.djl.nn
Class IdentityBlockFactory
java.lang.Object
ai.djl.nn.IdentityBlockFactory
- All Implemented Interfaces:
BlockFactory
,Serializable
A
BlockFactory
class that creates IdentityBlock.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdentityBlockFactory
public IdentityBlockFactory()
-
-
Method Details
-
newBlock
Constructs the uninitialized block.- Specified by:
newBlock
in interfaceBlockFactory
- Parameters:
model
- the model of the blockmodelPath
- the directory of the model locationarguments
- the block creation arguments- Returns:
- the uninitialized block
-