获取指定索引位置的输入张量。
get_input(self: BaseLayer, arg0: int) -> Tensor
索引需要在有效范围中。
参数名
参数类型
输入/输出
说明
index
int
输入
对应layer输入索引位置。这里的int范围对应C++中的int。