You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # -*- coding: utf-8 -*-
- from ..functional.tensor import copy
- from .module import Module
-
-
- class Identity(Module):
- r"""A placeholder identity operator that will ignore any argument."""
-
- def forward(self, x):
- return copy(x)
|