类说明 常量层类,抽象了常量层类的相关方法。 继承关系 ConstantLayer继承自class ascendie.BaseLayer。 继承的成员变量:成员变量 继承的成员方法: def get_input(self: BaseLayer, index: int) -> Tensor def get_output(self: BaseLayer, index: int) -> Tensor 父主题: class ascendie.ConstantLayer